Coinbase · Schema
CreateInvoiceRequest
Request body for creating a new invoice
BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3
Properties
| Name | Type | Description |
|---|---|---|
| business_name | string | Business name |
| customer_name | string | Customer name |
| customer_email | string | Customer email address |
| memo | string | Invoice memo or notes |
| local_price | object | Invoice amount |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateInvoiceRequest",
"title": "CreateInvoiceRequest",
"type": "object",
"description": "Request body for creating a new invoice",
"required": [
"business_name",
"customer_email",
"local_price"
],
"properties": {
"business_name": {
"type": "string",
"description": "Business name"
},
"customer_name": {
"type": "string",
"description": "Customer name"
},
"customer_email": {
"type": "string",
"format": "email",
"description": "Customer email address"
},
"memo": {
"type": "string",
"description": "Invoice memo or notes"
},
"local_price": {
"type": "object",
"description": "Invoice amount",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "string",
"description": "Amount"
},
"currency": {
"type": "string",
"description": "Currency code"
}
}
}
}
}