Mandates

Get a mandate revocation

Changed on

Retrieves a single revocation by ID.

get/v2/mandates/{mandateId}/revocations/{revocationId}

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

mandateId, string required

The ID of the mandate, a UUID prefixed by mandate_.

Example:mandate_82c879c1-84e1-44ed-a8c2-1ac239cf09ad

The unique identifier of the mandate.

revocationId, string required

The ID of a revocation, a UUID prefixed by revocation_.

Example:revocation_9d2e7c14-3b8a-4f21-9c66-2a1e5d7b8f03

The unique identifier of the revocation.

Response

Successfully retrieved mandate revocation.

Revocation required

A record of a wallet revocation: the customer removing the mandate's spending allowance on-chain (see onchainTransactions). While it is confirming, the mandate's status is revocation_pending; on success it becomes revocation_succeeded and the mandate's revokedAt is set, and on failure it becomes revocation_failed. This applies regardless of whether the mandate was previously canceled: a revocation on an already-canceled mandate still moves status through the revocation_* values and sets revokedAt.

To check whether the spending allowance is still active, read the mandate: revokedAt is set once the allowance has been removed.

revocationId, string required

The unique identifier of the revocation.

mandateId, string required

The unique identifier of the mandate this revocation applies to.

status, 'pending' | 'succeeded' | 'failed' required

The current status of the revocation attempt.

onchainTransactions, OnchainTransaction[]

Network transactions that remove the spending allowance on-chain. Empty until the revocation has been submitted to the network.

error, PaymentError

Details of why the revocation failed. Only present when status is failed.

metadata, Metadata

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.

createdAt, string date-time required

The UTC ISO 8601 timestamp at which the revocation was created.

updatedAt, string date-time required

The UTC ISO 8601 timestamp at which the revocation was last updated.

Example response

{
  "revocationId": "revocation_9d2e7c14-3b8a-4f21-9c66-2a1e5d7b8f03",
  "mandateId": "mandate_82c879c1-84e1-44ed-a8c2-1ac239cf09ad",
  "status": "succeeded",
  "onchainTransactions": [
    {
      "transactionHash": "0xdef456789012345678901234567890abcdef1234567890abcdef1234567890ab",
      "network": "base"
    }
  ],
  "createdAt": "2026-08-21T14:10:00.000Z",
  "updatedAt": "2026-08-21T14:12:00.000Z"
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    1 more change in this revision