Skip to main content

Coinbase Commerce

Quick Start
  1. Sign up at commerce.coinbase.com and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Coinbase Commerce →

Overview

Coinbase Commerce — Official Coinbase API for merchants

Provider IDcoinbase
CategoryCrypto & Blockchain
Websitecommerce.coinbase.com

Supported operations: Create Charge (payments_authorize) Get Charge (payments_status)


Authentication

Method: API Key (Custom header)
Headers:

x-cc-api-key: {api_key}
x-cc-version: 2018-03-22
Content-Type: application/json

Example:

x-cc-api-key: abc123xyz
x-cc-version: 2018-03-22

⚠️ Important: You must specify the API version in the header x-cc-version!


Configuration

Required Parameters

ParameterDescription
base_urlBase API URL
api_keyAPI key for authentication
nameMerchant name (displayed on checkout)

Status Mapping

Provider Status4pay StatusDescription
COMPLETEDChargedPayment completed
RESOLVEDChargedIssue resolved, payment processed
EXPIREDFailureCharge expired
CANCELEDVoidedCharge cancelled
REFUNDEDRefundedFunds returned
PENDING REFUNDPartiallyRefundedRefund in progress
(other)AuthenticationPendingAwaiting action

Resources