Store custom key-value pairs on transfers to track your own references like invoice IDs, customer IDs, or order numbers. Use metadata to connect transfers with your internal systems for reconciliation, reporting, and business intelligence.Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
Constraints and limitations
| Property | Constraint |
|---|---|
| Maximum key-value pairs | 50 per transfer |
| Maximum key length | 40 characters |
| Maximum value length | 500 characters |
| Immutable | Yes (cannot be updated or deleted) |
| Searchable/filterable | No |
| Included in webhook events | No |
Usage
To add metadata, send your key-value pairs when using Create a Transfer. Include the optionalmetadata field in your request body.
Request:
Retrieving metadata
Metadata is included automatically when you retrieve transfers. No additional API calls are needed. Get a single transfer:Best practices
- Use consistent key names across transfers (
invoiceIdnotinvoice_id) for easier querying in your own systems - Store IDs, not full data to reference your system’s records instead of duplicating information
- Keep keys concise since keys are limited to 40 characters