---
title: "Revoke a mandate with a wallet"
method: POST
path: "/v2/mandates/{mandateId}/revocations/wallet"
tags: ["Mandates"]
---

# Revoke a mandate with a wallet

`POST /v2/mandates/{mandateId}/revocations/wallet`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/mandates/{mandateId}/revocations/wallet`
- Auth: HTTP none

**Customer-initiated.** Removes the mandate's spending allowance on-chain using the customer's signed payloads from **Get wallet revocation options**. The customer signs the payloads themselves, so this call is unauthenticated. The mandate must have an active allowance and no approval or revocation in flight.

Returns a `pending` revocation and moves the mandate to `revocation_pending`. When the network transaction confirms, `revokedAt` is set and `status` becomes `revocation_succeeded`; if it does not complete, `status` becomes `revocation_failed` and a new revocation can be submitted. Follow progress with **Get a mandate revocation** or the `acceptance.mandate.revocation_*` webhooks.

A canceled mandate can still be revoked: the revocation sets `revokedAt` while `canceledAt` remains set.

## Path parameters

- `mandateId` string, required: The ID of the mandate, a UUID prefixed by `mandate_`.

## Headers

- `X-Idempotency-Key` string

## Request body

- WalletRevocationRequest: A request to remove a mandate's spending allowance on-chain. Submit the `optionId` the customer chose from **Get wallet revocation options** along with their signed payloads. Returns a `pending` revocation that resolves once the network transaction confirms.
  - `optionId` string, required: The identifier of the chosen option. Must match an `optionId` from the **Get wallet revocation options** response.
  - `signedPayloads` OnchainSignedPayload[], required: The processed payloads from the customer, corresponding to the payloads in the selected option.
    - `payloadId` string: The unique identifier of the signed payload.
    - `signature` string: The output from processing the payload. For `eip3009`, `permit2`, and `spend_permission` types, this is the cryptographic signature returned by `eth_signTypedData_v4`. For `erc20_approval` types, this is the transaction hash returned by `eth_sendTransaction`. For `solana_subscription`, this is the payer's 64-byte ed25519 signature extracted from the signed Solana transaction and base58-encoded, not the signed transaction bytes or `0x`-prefixed hex.
  - `reason` string: An optional human-readable reason for revoking the spending allowance.
  - `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.

## Response `200`

Successfully created mandate wallet revocation.

- Revocation: 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.
    - `transactionHash` string, required: The blockchain transaction hash.
    - `network` 'arbitrum' | 'arbitrum-sepolia' | 'avalanche' | 'base' | 'base-sepolia' | 'ethereum' | 'ethereum-sepolia' | 'optimism' | 'optimism-sepolia' | 'polygon' | 'polygon-amoy' | 'solana' | 'solana-devnet', required: The blockchain network the transaction occurred on.
  - `error` PaymentError: Details of why the revocation failed. Only present when `status` is `failed`.
    - `code` string: A machine-readable error code.
    - `message` string: A human-readable description of the error.
    - `occurredAt` string, date-time: The UTC ISO 8601 timestamp at which the error occurred.
  - `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.

## Other responses

- `404`: Mandate not found.
- `409`: An approval or revocation is already in progress for this mandate.
- `422`: The mandate has no active spending allowance to remove, or the idempotency key conflicts.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 6 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `409`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `422`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `500`
  - …2 more
- **2026-10-16** `ff3c1fdef902`: 6 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `409`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `422`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `500`
  - …2 more
- **2026-10-06** `156440e9f8df`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/mandates/:mandateId/revocations/wallet/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
