> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Initiation Services (PIS)

> Ask a customer to approve a withdrawal to their own linked SEPA bank account.

* Ask a customer to approve a withdrawal from an eligible Coinbase fiat wallet.
* Send the amount and currency in the `psd2_pis` authorization details.
* The customer selects the source wallet and their own linked SEPA bank account in that currency on Coinbase's pages. You do not choose either account.
* The withdrawal is initiated when the customer completes approval. The follow-up calls check its outcome.

Optional payment references are supplied in the pushed authorization request. `remittance_information_unstructured` accepts up to 140 characters and `end_to_end_identification` up to 35. See the OpenAPI contract for character rules. Coinbase echoes supplied references but does not transmit them to the bank. The request amount must be positive with two decimals, up to 10000.00.

Every request needs mutual TLS. Withdrawal calls also need the certificate-bound payment access token, sent as a bearer token. Paths are relative to the [base URL](https://docs.cdp.coinbase.com/psd2/overview.md).

To read the consent state, see [Get consent status](https://docs.cdp.coinbase.com/psd2/consent-status.md).

## POST `/v2/accounts/{account_id}/withdrawals`

Returns the one withdrawal the payment token authorizes. Coinbase committed it, from the wallet the customer chose to the bank account they chose for the amount they approved, when the customer confirmed their code. Calls only read it, so they are safe to repeat.

### Path parameters

| Name | Type | Description |
| - | - | - |
| `account_id` | string, required | The wallet the customer chose, from `authorization_details` in the token response. |

### Body

| Name | Type | Description |
| - | - | - |
| `{}` | object, optional | Send no body or an empty JSON object. Any field is refused. |

### Response

`201` · `application/json`

**Example**

```json theme={null}
{
  "data": {
    "id": "MOCK-WITHDRAWAL-ID",
    "status": "created",
    "amount": { "amount": "25.00", "currency": "EUR" },
    "fee": { "amount": "0.00", "currency": "EUR" },
    "created_at": "2026-01-15T10:04:00Z"
  }
}
```

| Name | Type | Description |
| - | - | - |
| `data.id` | string | The withdrawal identifier. |
| `data.status` | enum | `created`, `completed`, `canceled`, or `unspecified`. |
| `data.amount` | object | `amount` and `currency` of the payment the customer approved. |
| `data.fee` | object | `amount` and `currency` of any fee. |
| `data.created_at` | string | UTC timestamp. |
| `data.payout_at` | string | Payout timestamp, if returned. |

### Errors

| Status | Code | Meaning |
| - | - | - |
| 400 | `FORMAT_ERROR` | The body was not empty. |
| 401 | `CONSENT_INVALID` | The authorization ended or expired, or the payment was refused. |
| 401 | `SCA_INVALID` | Strong customer authentication failed: `account_id` differs from the wallet the customer chose. |
| 403 | `CONSENT_INVALID` | The token is not a payment token. |
| 403 | `CUSTOMER_INELIGIBLE` | The customer is no longer eligible and the payment has not executed. An executed payment stays readable. |
| 502 | `UPSTREAM_ERROR` | The payment outcome is unknown, or the withdrawal could not be read. Coinbase never sends a payment twice, so an unknown result is not a reason to start a new one. |
| 503 | `STATE_UNAVAILABLE` | The consent store could not be read. Retry later. |

## GET `/v2/accounts/{account_id}/withdrawals/{withdrawal_id}`

Returns the status of the withdrawal this payment token created. A payment that has already executed stays readable after the customer is no longer eligible.

### Path parameters

| Name | Type | Description |
| - | - | - |
| `account_id` | string, required | The wallet the customer chose. |
| `withdrawal_id` | string, required | The identifier from `/psd2/consents/{consent_id}` or from the withdrawal response. |

### Response

`200` · `application/json`

**Example**

```json theme={null}
{
  "data": {
    "id": "MOCK-WITHDRAWAL-ID",
    "status": "completed",
    "amount": { "amount": "25.00", "currency": "EUR" },
    "fee": { "amount": "0.00", "currency": "EUR" },
    "created_at": "2026-01-15T10:04:00Z",
    "payout_at": "2026-01-16T08:00:00Z"
  }
}
```

The fields match the withdrawal response above. If the customer becomes ineligible before a withdrawal ID is recorded, a status read returns `403 CUSTOMER_INELIGIBLE` and ends the consent. Otherwise, a lookup that does not match a recorded withdrawal returns `404 NOT_FOUND`.

### Errors

| Status | Code | Meaning |
| - | - | - |
| 403 | `CONSENT_INVALID` | The token is not a payment token. |
| 404 | `NOT_FOUND` | The account and withdrawal are not the ones this token's payment created. |
| 503 | `STATE_UNAVAILABLE` | The consent store could not be read. Retry later. |

## What to read next

* [Authorization](https://docs.cdp.coinbase.com/psd2/authorization.md)
* [Account Information Services (AIS)](https://docs.cdp.coinbase.com/psd2/account-information.md)
* [Consent status](https://docs.cdp.coinbase.com/psd2/consent-status.md)
