Coinbase · Schema
Checkout
A reusable checkout page for accepting payments
BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Checkout identifier |
| resource | string | Resource type |
| name | string | Checkout name |
| description | string | Checkout description |
| requested_info | array | Information requested from the customer |
| pricing_type | string | Pricing model |
| local_price | object | Price in local currency |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Checkout",
"title": "Checkout",
"type": "object",
"description": "A reusable checkout page for accepting payments",
"properties": {
"id": {
"type": "string",
"description": "Checkout identifier"
},
"resource": {
"type": "string",
"description": "Resource type",
"enum": [
"checkout"
]
},
"name": {
"type": "string",
"description": "Checkout name"
},
"description": {
"type": "string",
"description": "Checkout description"
},
"requested_info": {
"type": "array",
"description": "Information requested from the customer",
"items": {
"type": "string",
"enum": [
"name",
"email"
]
}
},
"pricing_type": {
"type": "string",
"description": "Pricing model",
"enum": [
"no_price",
"fixed_price"
]
},
"local_price": {
"type": "object",
"description": "Price in local currency",
"properties": {
"amount": {
"type": "string",
"description": "Amount"
},
"currency": {
"type": "string",
"description": "Currency code"
}
}
}
}
}