Skip to main content
GET
/
charges
/
{charge_code_or_charge_id}
Returns the charge with the order code
curl --request GET \
  --url https://api.commerce.coinbase.com/charges/{charge_code_or_charge_id} \
  --header 'X-CC-Api-Key: <api-key>'
{
  "web3_data": {
    "contract_addresses": {
      "1": "0xabc123",
      "137": "0x987654"
    }
  }
}

Authorizations

X-CC-Api-Key
string
header
required

Path Parameters

charge_code_or_charge_id
string
required

Response

Charge

charge_kind
enum<string>
required
Available options:
WEB3
code
string
required
created_at
string<date-time>
required
expires_at
string<date-time>
required
hosted_url
string<uri>
required
id
string<uuid>
required
pricing
object
required
pricing_type
enum<string>
required
Available options:
fixed_price,
no_price
support_email
string<email>
required
timeline
object[]
required
web3_data
object
required
brand_color
string
brand_logo_url
string<uri>
checkout
object
confirmed_at
string<date-time>
description
string
name
string
organization_name
string
redirects
object
third_party_provider
string