Executes a transfer which was created using the Create a transfer endpoint.
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
An optional UUID v4 request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
36The ID of the transfer.
Successfully committed a transfer.
A Transfer represents all the information needed to execute a transfer and tracks the lifecycle of a transfer from initiation through completion or failure.
The ID of the transfer.
"transfer_af2937b0-9846-4fe7-bfe9-ccc22d935114"
The current status of the transfer, indicating what action you need to take next.
draft, awaiting_funds, processing, completed, failed, canceled, expired, reversed "draft"
The source of the transfer.
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"asset": "usd"
}The target of the transfer.
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"asset": "usd"
}The amount to transfer in atomic units of the asset specified by asset.
"100.00"
The symbol of the asset for the amount. This must be one of the assets of the source or target.
"usd"
The date and time the transfer was created.
"2025-01-01T00:00:00Z"
The date and time the transfer was last updated.
"2025-01-01T00:00:00Z"
The amount of the source asset that will be transferred out in atomic units.
"103.50"
The asset symbol of the source amount.
"usd"
The amount of the target asset that will be transferred in atomic units.
"100.00"
The asset symbol of the target amount.
"usdc"
Exchange rate information for currency conversion. The rate indicates how much of the target asset is equivalent to one unit of the source asset.
{
"sourceAsset": "usd",
"targetAsset": "usdc",
"rate": "1"
}The fees associated with this transfer. Different transfer types have different fee structures.
NOTE: These examples are not exhaustive.
Common examples:
A single fee for a transfer.
[
{
"name": "processing_fee",
"amount": "2.50",
"asset": "usd"
},
{
"name": "exchange_fee",
"amount": "1.00",
"asset": "usd"
}
]List of onchain transactions executed as part of this transfer. Present when the transfer involves onchain operations and has completed processing.
Represents a transaction that has been broadcast to a network. Contains the transaction hash and network to track a transaction's status and details.
{
"txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"network": "ethereum"
}[
{
"txHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"network": "ethereum"
}
]The date and time the transfer was completed.
"2025-01-01T00:05:00Z"
The reason for failure, if the transfer failed. Only present when status is failed.
"Insufficient balance to complete this transfer."
The reason for reversal, if the transfer was reversed. Only present when status is reversed.
user_requested, compliance_reversal, fraud_reversal, network_reversal, system_reversal "user_requested"
The reason for cancellation, if the transfer was canceled. Only present when status is canceled.
user_canceled, system_canceled, expired, compliance_canceled, risk_canceled, duplicate_canceled, insufficient_funds_canceled "user_canceled"
Detailed information about the last error that occurred while processing this transfer. Only present when status is failed.
{
"code": "insufficient_funds",
"message": "The source account does not have sufficient funds for this transfer.",
"param": "source.accountId",
"details": {
"availableBalance": "50.00",
"requiredAmount": "100.00"
}
}The date and time when this transfer will expire if not executed. Only present for draft and awaiting_funds statuses. After expiration, the transfer will move to expired status.
"2025-01-01T00:15:00Z"
The date and time the transfer was executed and moved to processing. Only present when status has progressed beyond draft.
"2025-01-01T00:01:30Z"
(Preview, not yet supported) If true, validates the transfer without initiating it. If the request is valid, a 2xx will be returned. If the request is invalid, a 4xx error will be returned. The response will include an errorType, for e.g. invalid_target if the specified target cannot receive funds.
false
(Preview, not yet supported) Key-value pairs of metadata about the transfer. Up to 5 key/value pairs may be provided. Each key and value must be less than or equal 100 characters.
{
"invoiceId": "12345",
"reference": "Payment for invoice #12345"
}(Preview, not yet supported) Required Travel Rule fields differ by region. These requirements are determined based on which Coinbase entity the customer has signed the service agreement for.
{
"originator": {
"name": "John Doe",
"address": {
"address1": "123 Main St",
"address2": "Unit 201",
"city": "Luxembourg",
"postalCode": "L-1234",
"country": "LU"
},
"financialInstitution": "Citibank"
},
"beneficiary": {
"name": "Jane Smith",
"address": {
"address1": "456 Oak Ave",
"city": "Paris",
"postalCode": "75001",
"country": "FR"
}
}
}