Coinbase Commerce · Example Payload

Charge Response

Crypto PaymentsCryptocurrencyPayment GatewayCommerceBitcoinEthereumUSDCWebhooksChargesCheckouts

Charge Response is an example object payload from Coinbase Commerce, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

data

Example Payload

Raw ↑
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "code": "WZNDTFQK",
    "name": "Widget Order",
    "description": "Order for 2 Widget Pro units",
    "local_price": {
      "amount": "49.99",
      "currency": "USD"
    },
    "pricing_type": "fixed_price",
    "pricing": {
      "bitcoin": {
        "amount": "0.00123456",
        "currency": "BTC"
      },
      "ethereum": {
        "amount": "0.021543",
        "currency": "ETH"
      },
      "usdc": {
        "amount": "49.99",
        "currency": "USDC"
      }
    },
    "addresses": {
      "bitcoin": "1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P",
      "ethereum": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
    },
    "status": "NEW",
    "redirect_url": "https://yourstore.com/success",
    "cancel_url": "https://yourstore.com/cancel",
    "metadata": {
      "customer_id": "cust_42",
      "order_id": "ord_99"
    },
    "hosted_url": "https://commerce.coinbase.com/charges/WZNDTFQK",
    "timeline": [
      {
        "time": "2026-06-13T10:30:00Z",
        "status": "NEW"
      }
    ],
    "payments": [],
    "expires_at": "2026-06-14T10:30:00Z",
    "created_at": "2026-06-13T10:30:00Z",
    "updated_at": "2026-06-13T10:30:00Z"
  }
}