---
title: "Get wallet revocation options"
method: GET
path: "/v2/mandates/{mandateId}/revocations/wallet/options"
tags: ["Mandates"]
---

# Get wallet revocation options

`GET /v2/mandates/{mandateId}/revocations/wallet/options`

## Request

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

Returns the payloads the customer must sign to remove the mandate's spending allowance on-chain. The mandate must have an active allowance (approval succeeded, not yet revoked) and no approval or revocation in flight. A canceled mandate can still be revoked while its allowance is live.

Present the payloads to the customer to sign, then call **Revoke a mandate with a wallet** with the signed payloads.

This is a stateless read operation and does not modify the mandate. The payloads embed fresh signing data on each call, so sign and submit the payloads from a single response rather than caching them.

## Path parameters

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

## Response `200`

Successfully retrieved wallet revocation options.

- WalletMandateRevocationOptionsResponse: The ways the customer can remove this mandate's spending allowance on-chain.
  - `options` WalletMandateRevocationOption[], required: The available revocation options. At least one is present; when there is no active spending allowance to remove, the request fails with a `422` instead.
    - `optionId` string, required: The unique identifier of the wallet mandate revocation option.
    - `source` MandateSourceWallet, required: The funding source whose spending allowance this option removes.
      - required: `address`, `network`, `asset`
      - [`PaymentSourceWallet`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FPaymentSourceWallet)
    - `payloads` RevocationPayload[], required: The payloads the customer must sign to remove the spending allowance.
      - union: A single payload the customer signs to remove the mandate's spending allowance on-chain. Each payload sets the allowance to zero using the same credential type that granted it. Inspect `type` to determine how to handle `data`: - `eip2612`: an EIP-2612 `Permit` with `value` of `0`; pass `data` to `eth_signTypedData_v4`, return the signature. - `permit2`: a Permit2 `PermitSingle` with `amount` of `0`; pass `data` to `eth_signTypedData_v4`, return the signature. - `erc20_approval`: an ERC-20 `approve` of `0`; send `data` via `eth_sendTransaction`, return the transaction hash. - `solana_subscription`: decode `data.transaction` from base64 and pass the bytes to the Solana Wallet Standard `signTransaction` method (never `signAndSendTransaction`). The transaction is `revokeDelegation`. From the signed transaction, extract the 64-byte ed25519 signature for the payer that signed, base58-encode it, and return that string as `OnchainSignedPayload.signature`.
        - EIP2612Payload: An EIP-2612 Permit typed-data payload. The payer must pass `data` to `eth_signTypedData_v4` and return the resulting signature. Used to set up a mandate's reusable credential; the permit stands in for a live per-authorization signature on later authorizations.
          - `payloadId` string, required: The unique identifier of the payload.
          - `type` 'eip2612', required: The payload type.
          - `data` EIP712Message, required: EIP-712 typed data for an EIP-2612 Permit. Pass to `eth_signTypedData_v4`.
            - `domain` EIP712Domain, required: The domain of the EIP-712 typed data.
              - …
            - `types` EIP712Types, required: A mapping of struct names to an array of type objects (name + type). Each key corresponds to a type name (e.g., "`EIP712Domain`", "`PermitTransferFrom`").
            - `primaryType` string, required: The primary type of the message. This is the name of the struct in the `types` object that is the root of the message.
            - `message` object, required: The message to sign. The structure of this message must match the `primaryType` struct in the `types` object.
        - Permit2AllowancePayload: A Permit2 `PermitSingle` (AllowanceTransfer) typed-data payload. It grants the spender a reusable allowance through the canonical Permit2 contract, so it can back repeated charges rather than a single transfer. The payer must pass `data` to `eth_signTypedData_v4` and return the resulting signature. A one-time ERC-20 approval of the Permit2 contract (an `erc20_approval` payload) is required first if the wallet has not yet approved Permit2 for this asset.
          - `payloadId` string, required: The unique identifier of the payload.
          - `type` 'permit2', required: The payload type.
          - `data` EIP712Message, required: EIP-712 typed data for a Permit2 `PermitSingle`. Pass to `eth_signTypedData_v4`.
            - `domain` EIP712Domain, required: The domain of the EIP-712 typed data.
              - …
            - `types` EIP712Types, required: A mapping of struct names to an array of type objects (name + type). Each key corresponds to a type name (e.g., "`EIP712Domain`", "`PermitTransferFrom`").
            - `primaryType` string, required: The primary type of the message. This is the name of the struct in the `types` object that is the root of the message.
            - `message` object, required: The message to sign. The structure of this message must match the `primaryType` struct in the `types` object.
        - Erc20ApprovalPayload: An ERC-20 approval transaction payload. The payer must send `data` as an EVM transaction via `eth_sendTransaction` and return the resulting transaction hash.
          - `payloadId` string, required: The unique identifier of the payload.
          - `type` 'erc20_approval', required: The payload type.
          - `data` object, required: An EVM transaction object. Send via `eth_sendTransaction`.
            - `chainId` integer, required: The EVM chain ID for the transaction.
            - `to` string, required: The 0x-prefixed address of the ERC-20 token contract to approve.
            - `data` string, required: The ABI-encoded `approve()` calldata.
            - `value` string, required: The native token value to send (always `"0"` for approvals).
            - `gas` string: The estimated gas limit for the transaction.
            - `maxFeePerGas` string: The maximum fee per gas unit (EIP-1559).
            - `maxPriorityFeePerGas` string: The maximum priority fee per gas unit (EIP-1559).
        - SolanaSubscriptionPayload: An unsigned Solana transaction the payer must sign to approve or revoke a mandate on a Solana wallet source. Decode `data.transaction` from base64 and pass the bytes to the Solana Wallet Standard `signTransaction` method (never `signAndSendTransaction`). Do not submit the signed transaction bytes. From the signed transaction, take the 64-byte ed25519 signature for the payer that signed, base58-encode those 64 bytes, and return that string as `OnchainSignedPayload.signature`.
          - `payloadId` string, required: The unique identifier of the payload.
          - `type` 'solana_subscription', required: The payload type.
          - `data` SolanaSubscriptionPayloadData, required: The unsigned Solana transaction the payer signs to approve or revoke a mandate on a Solana wallet source. Decode `transaction` and pass it to the Solana Wallet Standard `signTransaction` method. Submit only the extracted per-signer signature, not the signed transaction.
            - `transaction` string, byte, required: The unsigned Solana transaction, serialized to bytes and encoded as base64. Pass the decoded bytes to the Solana Wallet Standard `signTransaction` method. Do not POST this field (or the signed transaction bytes) as `OnchainSignedPayload.signature`.

## Other responses

- `404`: Mandate not found.
- `409`: An approval or revocation is already in progress for this mandate.
- `422`: The mandate never had a spending allowance, or the allowance was already revoked.
- `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/options/get.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)
