> ## 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.

# Consent Status

> Read an account information or payment initiation consent held by your organisation.

## GET `/psd2/consents/{consent_id}`

Returns an account information (AIS) or payment initiation (PIS) consent that your organisation holds. Use mutual TLS with your qualified website authentication certificate (QWAC). This operation does not take a bearer token. The gateway also checks your organisation's eligibility for the requested service.

### Path parameter

| Name | Type | Description |
| - | - | - |
| `consent_id` | string, required | The consent ID from the token response. |

### Response

`200` · `application/json`

**Account information example**

```json theme={null}
{
  "id": "MOCK-CONSENT-ID",
  "status": "valid",
  "valid_until": "2026-07-14"
}
```

**Payment initiation example**

```json theme={null}
{
  "id": "pmt_MOCK-CONSENT-ID",
  "status": "valid",
  "valid_until": "2026-01-15T10:05:00Z",
  "payment_status": "accepted",
  "withdrawal_id": "MOCK-WITHDRAWAL-ID",
  "remittance_information_unstructured": "Invoice 1042",
  "end_to_end_identification": "MOCK-E2E-ID"
}
```

| Name | Description |
| - | - |
| `id` | The consent ID. |
| `status` | `valid`, `expired`, `revoked`, or `finished`. A `finished` payment consent indicates a failed execution. |
| `valid_until` | A date for AIS, or an RFC 3339 timestamp for PIS. The gateway sets AIS consent validity to 180 days and currently counts up to four background reads per account per UTC day. |
| `payment_status` | PIS only. `accepted` means approved and not known to have failed. The payment outcome may still be unknown. `rejected` means it failed, and `cancelled` means the authorisation ended before use. |
| `withdrawal_id` | PIS only, if an ID has been recorded. It can appear before the outcome is known. Neither an ID nor `accepted` confirms execution or receipt. Check the existing withdrawal rather than initiating a second payment. |
| `remittance_information_unstructured`, `end_to_end_identification` | PIS only, if supplied in the pushed request. Coinbase echoes these references but does not transmit them to the bank. |

### Errors

| Status | Code | Meaning |
| - | - | - |
| 404 | `CONSENT_UNKNOWN` | The consent does not exist or is not held by your organisation. |
| 503 | `STATE_UNAVAILABLE` | The consent store could not be read. |

## What to read next

* [Account Information Services (AIS)](https://docs.cdp.coinbase.com/psd2/account-information.md)
* [Payment Initiation Services (PIS)](https://docs.cdp.coinbase.com/psd2/payment-initiation.md)
