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

# Approve a mandate with a wallet

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

## Request

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

**Customer-initiated.** Approves a mandate on a wallet source using the customer's signed payloads from **Get wallet approval options**. The customer signs the payloads themselves, so this call is unauthenticated. The mandate must be in `created` or `approval_failed` status, not expired, and have no approval or revocation in flight.

Returns a `pending` approval and moves the mandate to `approval_pending`. On success the mandate's `source` is set and `status` becomes `approval_succeeded`; it can then be used by **Authorize a payment session with a mandate**. On failure `status` becomes `approval_failed` and a new approval can be submitted. Follow progress with **Get a mandate approval** or the `acceptance.mandate.approval_*` webhooks.

## Path parameters

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

## Headers

- `X-Idempotency-Key` string

## Request body

- WalletApprovalRequest: A request to approve a mandate on a wallet source. Submit the `optionId` the customer chose from **Get wallet approval options** along with the signed payloads. This creates a `pending` approval; the mandate becomes `approval_succeeded` once the approval succeeds.
  - `optionId` string, required: The identifier of the chosen option. Must match an `optionId` from the **Get wallet approval 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.
  - `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 approval.

- 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`.
  - `approvalId` string, required: The unique identifier of the approval.
  - `status` 'pending' | 'succeeded' | 'failed', required: The current status of the approval attempt.
  - `source` MandateSource: The funding source this approval binds to the mandate. Present once the source has been determined from the customer's submission.
    - required: `address`, `network`, `asset`
    - [`PaymentSourceWallet`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FPaymentSourceWallet)
  - `onchainTransactions` OnchainTransaction[]: Network transactions that grant the spending allowance on-chain. Empty until the approval 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 approval 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 approval was created.
  - `updatedAt` string, date-time, required: The UTC ISO 8601 timestamp at which the approval was last updated.

## Other responses

- `400`: The mandate is past its expiresAt.
- `404`: Mandate not found.
- `409`: An approval or revocation is already in progress for this mandate.
- `422`: The mandate is revoked, canceled, or not in a status that accepts approval, or the idempotency key conflicts.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 7 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - 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`
  - …3 more
- **2026-10-16** `ff3c1fdef902`: 7 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - 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`
  - …3 more
- **2026-10-06** `156440e9f8df`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/mandates/:mandateId/approvals/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)
