Get a mandate approval
Changed onRetrieves a single approval by its ID, including its current status, its onchainTransactions once submitted, and, when it failed, its error. Poll this after Approve a mandate with a wallet to follow a pending approval to succeeded or failed, or consume the mandate webhooks instead.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Path parameters
The ID of the mandate, a UUID prefixed by mandate_.
The unique identifier of the mandate.
The ID of an approval, a UUID prefixed by approval_.
The unique identifier of the approval.
Response
Successfully retrieved mandate approval.
An attempt to attach a funding source to a mandate and make it usable. A successful approval sets the mandate's source and moves the mandate to approval_succeeded; a failed one moves the mandate to approval_failed and can be retried by submitting a new approval. A mandate holds at most one active source, so at most one approval ever succeeds. The network transactions that grant the spending allowance are on onchainTransactions.
The unique identifier of the approval.
The current status of the approval attempt.
The funding source this approval binds to the mandate. Present once the source has been determined from the customer's submission.
Network transactions that grant the spending allowance on-chain. Empty until the approval has been submitted to the network.
Details of why the approval failed. Only present when status is failed.
Optional metadata as key-value pairs. Use this to store additional structured information on a resource, such as customer IDs, order references, or any application-specific data. Up to 10 key/value pairs may be provided. Keys and values are both strings. Keys must be ≤ 40 characters; values must be ≤ 500 characters.
The UTC ISO 8601 timestamp at which the approval was created.
The UTC ISO 8601 timestamp at which the approval was last updated.
Example response
{
"approvalId": "approval_5f0e9d8c-7b6a-4321-fedc-ba0987654321",
"status": "succeeded",
"source": {
"address": "0xAbC1234567890aBcDeF1234567890AbCdEf123456",
"network": "base",
"asset": "usdc"
},
"onchainTransactions": [
{
"transactionHash": "0xabc123def456789012345678901234567890abcdef1234567890abcdef123456",
"network": "base"
}
],
"createdAt": "2025-06-15T12:04:00.000Z",
"updatedAt": "2025-06-15T12:05:00.000Z"
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
1 more change in this revision
- warning