# Coinbase

## General Information

The US-based cryptocurrency platform Coinbase allows users to trade Bitcoin, Ethereum, and many other cryptocurrencies. These cryptocurrencies can also be exchanged for US Dollars, Euros, and many others.

### Links <a href="#links" id="links"></a>

* [Login](https://beta.commerce.coinbase.com/sign-in) at Coinbase Commerce
* [Registration](https://login.coinbase.com/signup) at Coinbase Commerce
* Coinbase [Website](https://commerce.coinbase.com/)

## Features <a href="#features" id="features"></a>

### Payment types

The following features are available in the Payrexx merchant administration panel:

* ✅ One-time payment
* ❌ Refund
* ❌ Partial refund
* ❌ Recurring payments (Subscription)
* ❌ Tokenization
* ❌ Pre-authorization

### Supported cryptocurrencies

* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fbu8hKKRKQbAbsqIyM7Sr%2Fimage.png?alt=media&#x26;token=04a229c6-f466-48ed-ad6f-3a5524f051c1" alt="" data-size="line"> Bitcoin (BTC)&#x20;
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FJlozqUJWEAQ68p8fpc1Q%2Fimage.png?alt=media&#x26;token=3da85a34-1ab5-4040-a3c4-2edd816b17d9" alt="" data-size="line"> Ethereum (ETH)
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fgw9vL2DIlgqos8ZpdItd%2Fimage.png?alt=media&#x26;token=70bf5b5f-30dc-4b36-b271-d83b870e5f29" alt="" data-size="line"> US Dollar Tether (USDT)
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2F8IWj1S6v025aAPS8r8C0%2Fimage.png?alt=media&#x26;token=3c0921a8-b38b-4b6e-a6c4-aec36686eb1b" alt="" data-size="line"> Binance Coin (BNB)
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FT4UtUM18N4DGkvAUFGw5%2Fimage.png?alt=media&#x26;token=40c449a7-897f-4417-85a5-e52b51e00196" alt="" data-size="line"> Solana (SOL)
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FLzqj4N2vrv9aAEE9b3gH%2Fimage.png?alt=media&#x26;token=dbda9aae-88b4-46eb-9b9e-b3b73f031013" alt="" data-size="line"> Ripple (XRP)
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FSgsX7tsd9e31wlZKBoOX%2Fimage.png?alt=media&#x26;token=2a293ee7-bae0-4671-bba6-176ae43b7a8e" alt="" data-size="line"> USD Coin (USDC)
* <img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fu5fPOgGe6DktwgU7qCJp%2Fimage.png?alt=media&#x26;token=ca04ecc7-f050-4f41-9b58-f1a56a170b40" alt="" data-size="line"> Cardano (ADA)
* and many more

## Country Availability

Coinbase NFT is supported in all countries except Singapore and any country restricted by the Office of Foreign Assets Control (OFAC). Please visit the Coinbase [website](https://help.coinbase.com/en/nft/start/supported-countries) for more information.

## Setup

Please follow the instructions below to integrate Coinbase as an external payment provider in Payrexx.

### Configuration of Coinbase

* [Log in](https://beta.commerce.coinbase.com/sign-in) to your Coinbase Commerce account. If you don't have one yet, create an account by clicking the following link:

{% embed url="<https://login.coinbase.com/signup>" %}

* After completing your account setup with Coinbase Commerce, log in and follow these steps:

#### Creating an API Key

1. Navigate to **Settings**.
2. Click on **Security**.
3. Create a new API key by clicking on the blue button:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2Fhp0qrEgiAPp6IVAxevXZ%2Fimage.png?alt=media&#x26;token=268abe6f-c432-4271-8a44-16b89f9dfa22" alt=""><figcaption><p>Creating an API Key in Coinbase Commerce</p></figcaption></figure></div>

* Copy the created API key, as you will need it later.

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FG2d8NHEKmByElNWpoYNN%2Fimage.png?alt=media&#x26;token=f44d35c3-925b-48c4-b232-be9c02b3fb0b" alt=""><figcaption><p>Copying the API Key for later use in Payrexx</p></figcaption></figure></div>

#### Creating an endpoint

Next, add an endpoint by following these steps:

1. Navigate to **Settings**.
2. Click on **Notifications**.
3. Click on the blue button labeled **"Add endpoint"**:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FjgsRf3TAATLLgCkcy4Qo%2Fimage.png?alt=media&#x26;token=21e2a2a5-bb0a-4dfe-95ca-8cc5a63ca68e" alt=""><figcaption><p>Adding an endpoint in Coinbase Commerce</p></figcaption></figure></div>

* Copy the URL <https://dispatcher.payrexx.com/coinbase/> into the following field and click on "Save":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FJ1RyIv0XhAbMdeVdmMby%2Fimage.png?alt=media&#x26;token=bb989404-83a4-4ff6-8380-8f0d90ef5b7a" alt="" width="557"><figcaption><p>Inserting the URL into the designated dield</p></figcaption></figure></div>

* Click on "Show shared secret" next to Webhook Subscriptions.
* Copy the content of the field to the clipboard or into a document, as you will need it later in Payrexx:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FBU1GGIw9mgwvi23LzInM%2Fimage.png?alt=media&#x26;token=6554badc-33e9-42c3-98d1-aaa6a1e43575" alt="" width="557"><figcaption><p>Copying the key for later use in Payrexx</p></figcaption></figure></div>

### Configuration of Payrexx

{% hint style="info" %}
Make sure you're [logged in](https://login.payrexx.com/) to your Payrexx account before you begin. If you don’t have a Payrexx account yet, you can [register](https://signup.payrexx.com/) now.
{% endhint %}

* Navigate to **Payment providers** in the merchant administration of your Payrexx account.
* Click on "Show" under Alternative payment methods.
* Click on "Setup" next to Coinbase Commerce:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FldRzkSZWNvUxJjtmViXU%2Fimage.png?alt=media&#x26;token=35dcd28d-fb60-45b6-9141-773a011710c4" alt=""><figcaption><p>Starting the setup of Coinbase Commerce in Payrexx</p></figcaption></figure></div>

* If you do not yet have an account with Coinbase Commerce, you can create one now. If you already have an account, click "No, not now":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FwZVm8CjtqALcbbkI9FK4%2Fimage.png?alt=media&#x26;token=f1ceebf6-5e73-4870-8afd-fcb36fe585d9" alt="" width="533"><figcaption><p>Option to create a Coinbase Commerce account</p></figcaption></figure></div>

* In the new window, make the following settings:

1. Define the currencies in which you want to receive payments.
2. Paste the [API Key](#creating-an-api-key) into the corresponding field.
3. Paste the [Webhook Secret](#creating-an-endpoint) into the corresponding field.

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FqmryYdF7cV0ilYRUuOLW%2Fimage.png?alt=media&#x26;token=daa1703b-760b-44b5-a51e-2f8b4bc71e5e" alt=""><figcaption><p>Configuring the integration of Coinbase Commerce in Payrexx</p></figcaption></figure></div>

* Don’t forget to complete the configuration by clicking the green "Save" button.

{% hint style="success" %}
Payrexx and Coinbase Commerce are now connected.
{% endhint %}

{% hint style="info" %}
If the payment page is opened in an iFrame, Coinbase cannot be selected. To learn how your customers can still pay with Coinbase, please refer to the articles [Website Integration "Pages"](https://docs.payrexx.com/merchant/english/account/tools/pages/website-integration) and [Website Integration "Donation"](https://docs.payrexx.com/merchant/english/account/tools/donation/website-integration).
{% endhint %}
