# Pay API

Store and manage payment methods, and initiate or manage bill payment attempts.

> **Scope of this file.** It is the OPERATION reference for THIS resource, generated from the BillerAPI OpenAPI document served at [/docs/openapi.json](/docs/openapi.json): each API-key endpoint the resource owns, with its parameters, request body, responses and schemas. Narrative and catalog sections the rendered page also carries (walkthroughs, event taxonomies, payload catalogs) are NOT reproduced here — read [/docs/api/pay](/docs/api/pay) for those. Endpoints the hosted flow drives from inside the iframe, and dashboard-session endpoints, are absent by design: they are not API-key operations. [/docs/api.md](/docs/api.md) enumerates the full API-key surface, including the endpoints that have no reference page yet.

All request and response field names are snake_case. Errors use the coded envelope described in [/docs/concepts/errors.md](/docs/concepts/errors.md).

## Endpoints

- [`GET /v1/pay/payment-methods`](#get-v1paypayment-methods)
- [`POST /v1/pay/payment-methods`](#post-v1paypayment-methods)
- [`DELETE /v1/pay/payment-methods/{paymentMethodId}`](#delete-v1paypayment-methodspaymentmethodid)
- [`GET /v1/pay/payments`](#get-v1paypayments)
- [`POST /v1/pay/payments`](#post-v1paypayments)
- [`GET /v1/pay/payments/{attemptId}`](#get-v1paypaymentsattemptid)
- [`DELETE /v1/pay/payments/{attemptId}`](#delete-v1paypaymentsattemptid)

## GET /v1/pay/payment-methods

List payment methods for the calling user

Operation ID: `listPaymentMethods`

Auth: `client-api-key`

**Parameters**

| Parameter | In | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- | --- |
| `client_user_id` | query | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 200 | — | — |

## POST /v1/pay/payment-methods

Store a payment method (PAN ciphertext via vault)

Operation ID: `storePaymentMethod`

Auth: `client-api-key`

**Request body** (required)

Schema: `StorePaymentMethodDto`

| Field | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `pan` | yes | string | — | PAN (digits, 13–19 chars) |
| `cvv` | no | string | — | CVV (3–4 digits) |
| `expiry_month` | yes | number | minimum `1`; maximum `12` | Expiry month (1–12) |
| `expiry_year` | yes | number | — | Expiry year (4-digit) |
| `bucket` | no | string | — | Bucket label (e.g. "primary") |
| `client_user_id` | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 201 | — | — |

## DELETE /v1/pay/payment-methods/{paymentMethodId}

Delete a payment method

Operation ID: `deletePaymentMethod`

Auth: `client-api-key`

**Parameters**

| Parameter | In | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- | --- |
| `paymentMethodId` | path | yes | string | — | — |
| `client_user_id` | query | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 200 | — | — |

## GET /v1/pay/payments

List payment attempts for a bill (cursor-paginated)

Operation ID: `listPaymentAttempts`

Auth: `client-api-key`

**Parameters**

| Parameter | In | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- | --- |
| `bill_id` | query | yes | string | — | Bill id to list payment attempts for |
| `limit` | query | no | number | — | Page size (1–100, default 20) |
| `cursor` | query | no | string | — | Opaque cursor from a prior response |
| `client_user_id` | query | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 200 | — | `ListPaymentAttemptsResponseDto` |

Response body — `ListPaymentAttemptsResponseDto` (200)

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `data` | yes | array<PaymentAttemptResponseDto> | — | — |
| `next_cursor` | yes | string \| null | — | — |

## POST /v1/pay/payments

Initiate a bill payment

Operation ID: `initiatePayment`

Auth: `client-api-key`

**Parameters**

| Parameter | In | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- | --- |
| `idempotency-key` | header | yes | string | — | — |

**Request body** (required)

Schema: `InitiatePaymentDto`

| Field | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `bill_id` | yes | string | — | — |
| `payment_method_id` | yes | string | — | — |
| `idempotency_key` | no | string | — | Idempotency key (optional in body, can also come from Idempotency-Key header) |
| `amount_minor_units` | no | number | — | Amount in minor units (cents). Defaults to bill amount. |
| `currency` | no | string | — | 3-letter currency code |
| `execute_at` | no | string | — | ISO-8601 timestamp to execute the payment at (#5072 scheduled pay). Must be in the future, at most 366 days out. Omit for immediate execution. |
| `client_user_id` | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 201 | — | `InitiatePaymentResponseDto` |
| 501 | PAYMENT_EXECUTION_NOT_AVAILABLE | `ApiErrorDto` |

Response body — `InitiatePaymentResponseDto` (201)

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `attempt_id` | yes | string | — | — |
| `status` | yes | `PENDING` \| `RUNNING` \| `SUBMITTED_AWAITING_CONFIRMATION` \| `PAID` \| `FAILED` \| `NEEDS_HUMAN_REVIEW` \| `CANCELLED` | — | — |
| `workflow_id` | yes | string | — | Empty for a sandbox-held attempt. |
| `replayed` | yes | boolean | — | — |
| `sandbox_hold` | yes | boolean | — | True for a durable dev/staging simulation that remains PENDING and does not execute a payment. |

Response body — `ApiErrorDto` (501)

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `error_code` | yes | `SIGNUP_UPGRADE_REQUIRED` \| `CLIENT_MEMBERSHIP_CONFLICT` \| `CLIENT_TEAM_ADMINISTRATION_REQUIRED` \| `CLIENT_TEAM_CONFLICT` \| `CLIENT_TEAM_INVALID_ROLE` \| `CLIENT_TEAM_FORBIDDEN` \| `CLIENT_TEAM_NOT_FOUND` \| `CLIENT_TEAM_INVITATION_INVALID` \| `CLIENT_TEAM_UNAVAILABLE` \| `CLIENT_TEAM_DELIVERY_UNAVAILABLE` \| `CLIENT_TEAM_WRITE_OUTCOME_UNKNOWN` \| `CLIENT_USER_ID_MISMATCH` \| `BILL_NOT_FOUND` \| `INVALID_CURSOR` \| `ACCOUNT_LINK_NOT_FOUND` \| `STATEMENT_NOT_EXTRACTED` \| `EXTRACTION_FAILED` \| `EXTRACTION_UNSUPPORTED_FOR_BILLER` \| `STATEMENT_TOO_LARGE` \| `RATE_LIMITED` \| `UNAUTHORIZED` \| `CLIENT_CREATION_NOT_AVAILABLE` \| `COOKIE_MUTATION_POLICY_REJECTED` \| `DEPENDENCY_FAILED` \| `SERVICE_UNAVAILABLE` \| `IDEMPOTENCY_KEY_MISMATCH` \| `IDEMPOTENCY_KEY_NOT_REPLAYABLE` \| `PAYMENT_EXECUTION_NOT_AVAILABLE` \| `FEEDBACK_RUN_NOT_FOUND` \| `FEEDBACK_RUN_NOT_OWNED` \| `FEEDBACK_RUN_EXPIRED` \| `FEEDBACK_INVALID_CATEGORY` \| `FEEDBACK_INVALID_SIGNAL` \| `FEEDBACK_ALREADY_SUBMITTED` \| `FEEDBACK_RATE_LIMITED` \| `MESSAGING_CONSENT_NOT_GRANTED` \| `MESSAGING_LIVE_ACCESS_REQUIRED` \| `MESSAGING_SENDER_NOT_AUTHORIZED` \| `MESSAGING_CONTENT_FLAGGED` \| `MESSAGING_RATE_LIMITED` \| `MESSAGING_SUPPRESSED` \| `MESSAGING_AUP_NOT_ACCEPTED` \| `MESSAGING_AUP_REACCEPT_REQUIRED` \| `MESSAGING_INVALID_PAYLOAD` \| `MESSAGING_INVALID_CATEGORY` \| `MESSAGING_PERSIST_FAILED` \| `MESSAGING_INTERNAL_ERROR` \| `MESSAGING_NOT_FOUND` \| `LINK_TOKEN_WRONG_IDENTIFIER` \| `LINK_TOKEN_NOT_FOUND` \| `BACKGROUND_NOT_ELIGIBLE` \| `RECORDING_SCRIPT_TYPE_INVALID` \| `RECORDING_TASK_NOT_FOUND` \| `RECORDING_STATE_UNAVAILABLE` \| `RECORDING_UNPARK_INVALID` \| `RECORDING_UNPARK_OPERATOR_MISSING` \| `RECORDING_UNPARK_UNAVAILABLE` \| `RECORDING_TASK_NOT_PARKED` \| `RECORDING_TASK_STALE_GENERATION` \| `RECORDING_TASK_STALE_VERSION` \| `RECORDING_UNPARK_CONFLICT` \| `RECORDING_UNPARK_EXHAUSTED` \| `RECORDING_TASK_PROTECTED` \| `RECORDING_UNPARK_OWNERSHIP_UNAVAILABLE` \| `RECORDING_UNPARK_WRITE_FAILED` \| `RECORDING_UNPARK_FAILED` \| `RECORDING_ORIGIN_INVALID` \| `RECORDING_ORIGIN_LIMIT_EXCEEDED` \| `CAPABILITY_HEALTH_INVALID` \| `CAPABILITY_HEALTH_OPERATOR_MISSING` \| `CAPABILITY_HEALTH_NOT_FOUND` \| `CAPABILITY_HEALTH_STALE_VERSION` \| `CAPABILITY_HEALTH_UNAVAILABLE` \| `CAPABILITY_HEALTH_WRITE_FAILED` \| `CAPABILITY_HEALTH_DEMOTE_FAILED` \| `RECORDING_SUPERSEDE_INVALID` \| `RECORDING_SUPERSEDE_OPERATOR_MISSING` \| `RECORDING_SUPERSEDE_UNAVAILABLE` \| `RECORDING_SUPERSEDE_OWNER_MISMATCH` \| `RECORDING_SUPERSEDE_CREDENTIAL_UNAVAILABLE` \| `RECORDING_SUPERSEDE_CONFLICT` \| `RECORDING_SUPERSEDE_VERIFICATION_UNAVAILABLE` \| `RECORDING_SUPERSEDE_WRITE_FAILED` \| `RECORDING_SUPERSEDE_FAILED` \| `RECORDING_SUPERSEDE_UNPARK_AVAILABLE` \| `RECORDING_SUPERSEDE_OUTCOME_PENDING` \| `BILLER_UNSUPPORTED` \| `UPDATE_BILLER_MISMATCH` \| `INVALID_UPDATE_REASON` \| `LINK_UPDATE_FORBIDDEN` \| `LINK_NOT_FOUND` \| `BILLER_NOT_FOUND` \| `BILLER_CORRECTION_NOT_AVAILABLE` \| `WEBHOOK_ENDPOINT_INACTIVE` \| `REDIRECT_URI_NOT_REGISTERED` | — | Stable identifier — third parties branch on this. Additive-only contract. |
| `error_type` | yes | `invalid_request` \| `rate_limit` \| `auth` \| `upstream` \| `api_error` | — | Coarse category clients branch on for retry/backoff. |
| `error_message` | yes | string | — | Human-readable explanation. Safe to show end users in dev contexts. |
| `hint` | yes | string | — | Actionable next step for resolving this error. |
| `request_id` | yes | string | — | Correlation id (UUID) for support tickets. Also returned as the X-Request-Id response header on every response. |
| `docs_url` | yes | string | — | Canonical, LIVE docs page for this error code. |
| `retryable` | no | boolean | — | Whether retrying the same operation is supported. |
| `documentation_url` | no | string | **deprecated** | DEPRECATED alias for docs_url, retained for back-compat during the DX P0 migration window. Read docs_url instead — this field will be removed. |
| `retry_after` | no | number | — | On 429, the seconds the client should wait before retrying. |
| `errors` | no | array<unknown> | — | On 400 validation failures, the per-field problems. |

## GET /v1/pay/payments/{attemptId}

Get a payment attempt by id

Operation ID: `getPaymentAttempt`

Auth: `client-api-key`

**Parameters**

| Parameter | In | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- | --- |
| `attemptId` | path | yes | string | — | — |
| `client_user_id` | query | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 200 | — | `PaymentAttemptResponseDto` |

Response body — `PaymentAttemptResponseDto` (200)

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `attempt_id` | yes | string | — | — |
| `bill_id` | yes | string | — | — |
| `payment_method_id` | yes | string | — | — |
| `amount_minor_units` | no | number | — | — |
| `currency` | no | string | — | — |
| `status` | yes | `PENDING` \| `RUNNING` \| `SUBMITTED_AWAITING_CONFIRMATION` \| `PAID` \| `FAILED` \| `NEEDS_HUMAN_REVIEW` \| `CANCELLED` | — | — |
| `confirmation_number` | no | string | — | — |
| `error_code` | no | string | — | — |
| `needs_human_review_reason` | no | string | — | — |
| `created_at` | yes | string | — | — |
| `updated_at` | yes | string | — | — |
| `client_id` | no | string | — | — |
| `scheduled_for` | no | string | — | — |
| `sandbox_hold` | yes | boolean | — | True for a durable dev/staging simulation that remains PENDING and does not execute a payment. |

## DELETE /v1/pay/payments/{attemptId}

Cancel a scheduled payment (before dispatch)

Operation ID: `cancelPaymentAttempt`

Auth: `client-api-key`

**Parameters**

| Parameter | In | Required | Type | Notes | Description |
| --- | --- | --- | --- | --- | --- |
| `attemptId` | path | yes | string | — | — |
| `client_user_id` | query | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

**Responses**

| Status | Description | Body |
| --- | --- | --- |
| 200 | — | — |

## Schemas

### ApiErrorDto

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `error_code` | yes | `SIGNUP_UPGRADE_REQUIRED` \| `CLIENT_MEMBERSHIP_CONFLICT` \| `CLIENT_TEAM_ADMINISTRATION_REQUIRED` \| `CLIENT_TEAM_CONFLICT` \| `CLIENT_TEAM_INVALID_ROLE` \| `CLIENT_TEAM_FORBIDDEN` \| `CLIENT_TEAM_NOT_FOUND` \| `CLIENT_TEAM_INVITATION_INVALID` \| `CLIENT_TEAM_UNAVAILABLE` \| `CLIENT_TEAM_DELIVERY_UNAVAILABLE` \| `CLIENT_TEAM_WRITE_OUTCOME_UNKNOWN` \| `CLIENT_USER_ID_MISMATCH` \| `BILL_NOT_FOUND` \| `INVALID_CURSOR` \| `ACCOUNT_LINK_NOT_FOUND` \| `STATEMENT_NOT_EXTRACTED` \| `EXTRACTION_FAILED` \| `EXTRACTION_UNSUPPORTED_FOR_BILLER` \| `STATEMENT_TOO_LARGE` \| `RATE_LIMITED` \| `UNAUTHORIZED` \| `CLIENT_CREATION_NOT_AVAILABLE` \| `COOKIE_MUTATION_POLICY_REJECTED` \| `DEPENDENCY_FAILED` \| `SERVICE_UNAVAILABLE` \| `IDEMPOTENCY_KEY_MISMATCH` \| `IDEMPOTENCY_KEY_NOT_REPLAYABLE` \| `PAYMENT_EXECUTION_NOT_AVAILABLE` \| `FEEDBACK_RUN_NOT_FOUND` \| `FEEDBACK_RUN_NOT_OWNED` \| `FEEDBACK_RUN_EXPIRED` \| `FEEDBACK_INVALID_CATEGORY` \| `FEEDBACK_INVALID_SIGNAL` \| `FEEDBACK_ALREADY_SUBMITTED` \| `FEEDBACK_RATE_LIMITED` \| `MESSAGING_CONSENT_NOT_GRANTED` \| `MESSAGING_LIVE_ACCESS_REQUIRED` \| `MESSAGING_SENDER_NOT_AUTHORIZED` \| `MESSAGING_CONTENT_FLAGGED` \| `MESSAGING_RATE_LIMITED` \| `MESSAGING_SUPPRESSED` \| `MESSAGING_AUP_NOT_ACCEPTED` \| `MESSAGING_AUP_REACCEPT_REQUIRED` \| `MESSAGING_INVALID_PAYLOAD` \| `MESSAGING_INVALID_CATEGORY` \| `MESSAGING_PERSIST_FAILED` \| `MESSAGING_INTERNAL_ERROR` \| `MESSAGING_NOT_FOUND` \| `LINK_TOKEN_WRONG_IDENTIFIER` \| `LINK_TOKEN_NOT_FOUND` \| `BACKGROUND_NOT_ELIGIBLE` \| `RECORDING_SCRIPT_TYPE_INVALID` \| `RECORDING_TASK_NOT_FOUND` \| `RECORDING_STATE_UNAVAILABLE` \| `RECORDING_UNPARK_INVALID` \| `RECORDING_UNPARK_OPERATOR_MISSING` \| `RECORDING_UNPARK_UNAVAILABLE` \| `RECORDING_TASK_NOT_PARKED` \| `RECORDING_TASK_STALE_GENERATION` \| `RECORDING_TASK_STALE_VERSION` \| `RECORDING_UNPARK_CONFLICT` \| `RECORDING_UNPARK_EXHAUSTED` \| `RECORDING_TASK_PROTECTED` \| `RECORDING_UNPARK_OWNERSHIP_UNAVAILABLE` \| `RECORDING_UNPARK_WRITE_FAILED` \| `RECORDING_UNPARK_FAILED` \| `RECORDING_ORIGIN_INVALID` \| `RECORDING_ORIGIN_LIMIT_EXCEEDED` \| `CAPABILITY_HEALTH_INVALID` \| `CAPABILITY_HEALTH_OPERATOR_MISSING` \| `CAPABILITY_HEALTH_NOT_FOUND` \| `CAPABILITY_HEALTH_STALE_VERSION` \| `CAPABILITY_HEALTH_UNAVAILABLE` \| `CAPABILITY_HEALTH_WRITE_FAILED` \| `CAPABILITY_HEALTH_DEMOTE_FAILED` \| `RECORDING_SUPERSEDE_INVALID` \| `RECORDING_SUPERSEDE_OPERATOR_MISSING` \| `RECORDING_SUPERSEDE_UNAVAILABLE` \| `RECORDING_SUPERSEDE_OWNER_MISMATCH` \| `RECORDING_SUPERSEDE_CREDENTIAL_UNAVAILABLE` \| `RECORDING_SUPERSEDE_CONFLICT` \| `RECORDING_SUPERSEDE_VERIFICATION_UNAVAILABLE` \| `RECORDING_SUPERSEDE_WRITE_FAILED` \| `RECORDING_SUPERSEDE_FAILED` \| `RECORDING_SUPERSEDE_UNPARK_AVAILABLE` \| `RECORDING_SUPERSEDE_OUTCOME_PENDING` \| `BILLER_UNSUPPORTED` \| `UPDATE_BILLER_MISMATCH` \| `INVALID_UPDATE_REASON` \| `LINK_UPDATE_FORBIDDEN` \| `LINK_NOT_FOUND` \| `BILLER_NOT_FOUND` \| `BILLER_CORRECTION_NOT_AVAILABLE` \| `WEBHOOK_ENDPOINT_INACTIVE` \| `REDIRECT_URI_NOT_REGISTERED` | — | Stable identifier — third parties branch on this. Additive-only contract. |
| `error_type` | yes | `invalid_request` \| `rate_limit` \| `auth` \| `upstream` \| `api_error` | — | Coarse category clients branch on for retry/backoff. |
| `error_message` | yes | string | — | Human-readable explanation. Safe to show end users in dev contexts. |
| `hint` | yes | string | — | Actionable next step for resolving this error. |
| `request_id` | yes | string | — | Correlation id (UUID) for support tickets. Also returned as the X-Request-Id response header on every response. |
| `docs_url` | yes | string | — | Canonical, LIVE docs page for this error code. |
| `retryable` | no | boolean | — | Whether retrying the same operation is supported. |
| `documentation_url` | no | string | **deprecated** | DEPRECATED alias for docs_url, retained for back-compat during the DX P0 migration window. Read docs_url instead — this field will be removed. |
| `retry_after` | no | number | — | On 429, the seconds the client should wait before retrying. |
| `errors` | no | array<unknown> | — | On 400 validation failures, the per-field problems. |

### InitiatePaymentDto

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `bill_id` | yes | string | — | — |
| `payment_method_id` | yes | string | — | — |
| `idempotency_key` | no | string | — | Idempotency key (optional in body, can also come from Idempotency-Key header) |
| `amount_minor_units` | no | number | — | Amount in minor units (cents). Defaults to bill amount. |
| `currency` | no | string | — | 3-letter currency code |
| `execute_at` | no | string | — | ISO-8601 timestamp to execute the payment at (#5072 scheduled pay). Must be in the future, at most 366 days out. Omit for immediate execution. |
| `client_user_id` | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |

### InitiatePaymentResponseDto

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `attempt_id` | yes | string | — | — |
| `status` | yes | `PENDING` \| `RUNNING` \| `SUBMITTED_AWAITING_CONFIRMATION` \| `PAID` \| `FAILED` \| `NEEDS_HUMAN_REVIEW` \| `CANCELLED` | — | — |
| `workflow_id` | yes | string | — | Empty for a sandbox-held attempt. |
| `replayed` | yes | boolean | — | — |
| `sandbox_hold` | yes | boolean | — | True for a durable dev/staging simulation that remains PENDING and does not execute a payment. |

### ListPaymentAttemptsResponseDto

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `data` | yes | array<PaymentAttemptResponseDto> | — | — |
| `next_cursor` | yes | string \| null | — | — |

### PaymentAttemptResponseDto

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `attempt_id` | yes | string | — | — |
| `bill_id` | yes | string | — | — |
| `payment_method_id` | yes | string | — | — |
| `amount_minor_units` | no | number | — | — |
| `currency` | no | string | — | — |
| `status` | yes | `PENDING` \| `RUNNING` \| `SUBMITTED_AWAITING_CONFIRMATION` \| `PAID` \| `FAILED` \| `NEEDS_HUMAN_REVIEW` \| `CANCELLED` | — | — |
| `confirmation_number` | no | string | — | — |
| `error_code` | no | string | — | — |
| `needs_human_review_reason` | no | string | — | — |
| `created_at` | yes | string | — | — |
| `updated_at` | yes | string | — | — |
| `client_id` | no | string | — | — |
| `scheduled_for` | no | string | — | — |
| `sandbox_hold` | yes | boolean | — | True for a durable dev/staging simulation that remains PENDING and does not execute a payment. |

### StorePaymentMethodDto

| Field | Always present | Type | Notes | Description |
| --- | --- | --- | --- | --- |
| `pan` | yes | string | — | PAN (digits, 13–19 chars) |
| `cvv` | no | string | — | CVV (3–4 digits) |
| `expiry_month` | yes | number | minimum `1`; maximum `12` | Expiry month (1–12) |
| `expiry_year` | yes | number | — | Expiry year (4-digit) |
| `bucket` | no | string | — | Bucket label (e.g. "primary") |
| `client_user_id` | no | string | — | Client-scoped end-user id (required for client-credential callers; ignored for JWT/pay_token callers). |


## See also

- [API reference index](/docs/api.md)
- [Authentication](/docs/guides/authentication.md)
- [Pagination](/docs/concepts/pagination.md)
- [Error handling](/docs/concepts/errors.md)
