The Crypto Deposit Address object
Attributes
- id string Unique identifier for the object.
- address string The on-chain address where funds can be received.
- metadata map Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- network enum The blockchain network where this address can accept funds. Possible enum values
baseBase network.solanaSolana network.tempoTempo network. - supported _ tokens array of objects The tokens that can be sent to this deposit address on its network.
More attributes
- object string, value is "crypto.deposit_address"
- created timestamp
- customer nullable string
- livemode boolean
The Crypto Deposit Address object
{ "id": "cda_1MzUx82eZvKYlo2CB6XoRDA6", "object": "crypto.deposit_address", "livemode": false, "created": 1719947634, "network": "tempo", "address": "0x5ff8d73e8bccd3701c9aef78389f3b9771172b5c", "supported_tokens": [ { "token_currency": "usdc", "token_contract_address": "0x20c0000000000000000000009e8d7eb59b783726" } ], "metadata": {}}
Create a Crypto Deposit Address
POST / v1 / crypto / deposit_addresses
Creates a new crypto deposit address for the authenticated merchant on the specified network. The returned address can be used across multiple PaymentIntents.
Parameters
- network enum Required The blockchain network to generate a deposit address for. Possible enum values
baseBase network.solanaSolana network.tempoTempo network. - metadata map Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
More parameters
- customer string
Returns
Returns a crypto.deposit_address object
cURL
Response
{ "id": "cda_1MzUx82eZvKYlo2CB6XoRDA6", "object": "crypto.deposit_address", "livemode": false, "created": 1719947634, "network": "tempo", "address": "0x5ff8d73e8bccd3701c9aef78389f3b9771172b5c", "supported_tokens": [ { "token_currency": "usdc", "token_contract_address": "0x20c0000000000000000000009e8d7eb59b783726" } ], "metadata": {}}
Retrieve a Crypto Deposit Address
GET / v1 / crypto / deposit_addresses /:id
Retrieves the details of an existing crypto deposit address by ID.
Parameters
No parameters.
Returns
Returns a crypto.deposit_address object
cURL
Response
{ "id": "cda_1MzUx82eZvKYlo2CB6XoRDA6", "object": "crypto.deposit_address", "livemode": false, "created": 1719947634, "network": "tempo", "address": "0x5ff8d73e8bccd3701c9aef78389f3b9771172b5c", "supported_tokens": [ { "token_currency": "usdc", "token_contract_address": "0x20c0000000000000000000009e8d7eb59b783726" } ], "metadata": {}}
