Create mobile checkout

The checkout call the mobile SDK makes. A native app renders the card form itself, so this returns the values the SDK needs to collect and confirm a card — not the rendered payment UI that POST /api/v1/checkout returns for a browser.

You do not normally call this yourself: the SDK does, when the shopper presses Pay. It is documented so you can see exactly what leaves the device and what comes back.

No merchant credentials are required. The widget_token in the body authorises the call and names the merchant, order, amount, currency and shopper — so an app never holds your API key to take a payment.

Amount, currency and the shopper's email cannot be sent. All three are read from the widget token, so an app cannot name its own price or its own shopper and there is no mismatch to reject. Unknown fields — customer_email included — return 422 rather than being ignored.

Pay-by-bank note: It is a one-off approval at the shopper's bank: nothing is stored and no stored card is charged, so pairing it with save_card or saved_payment_method_id is rejected rather than partly honoured.

Token consumption: A rejection never costs the shopper their token. Every check this endpoint makes runs before the single-use widget token is spent, so a 400, 404 or 503 means no token was consumed and no payment was created.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
length ≥ 1

Pay with a method from effective_alternative_methods in POST /api/v1/checkout/lookup, e.g. stripe:apple_pay. It cannot be combined with saved_payment_method_id.

length ≥ 1

A card from the shopper's RezolvePay wallet (pvc_…). Send it with session_token.

length ≥ 1

The customer_id (pkc_…) returned by POST /api/v1/passkey/setup-intent, sent with setup_intent_id.

string
enum
Defaults to card

card (the default) or pay_by_bank. Pay by bank is offered only to an eligible merchant for a gbp order, and never for a recurring checkout.

Allowed:

Required with payment_method_type: pay_by_bank: your URL the shopper returns to after approving at their bank. The provider appends its own query parameters. Absolute https (http only for localhost in local development).

boolean
Defaults to false

Store the card against the shopper the token is bound to, for later checkouts. Not allowed with pay by bank or a wallet payment.

Charge a card the shopper saved at an earlier checkout instead of collecting one. It must belong to this shopper, merchant and payment provider.

length ≥ 1

The session_token from the shopper's passkey sign-in, POST /api/v1/passkey/auth/verify. Sent with card_id.

length ≥ 1

A card the shopper just entered against the SetupIntent from POST /api/v1/passkey/setup-intent (seti_…). Send it with customer_id; save_card: true then keeps it in the shopper's wallet.

string
required
length ≥ 1

The single-use token from POST /api/v1/checkout/init. Spent by this call. It names the merchant, order, amount, currency and shopper.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json