ShiftxPay
API Reference

Resolve a checkout session (public)

GET
/v1/checkout/{id}

Public endpoint called by the buyer's browser (via the SDK) to fetch the render hints needed to mount the PSP surface. Gated by the session secret; not API-key authenticated. A missing session and a wrong secret both return 404 not_found on purpose.

Path Parameters

id*string

Checkout session id (cs_...).

Query Parameters

secret*string

The cs_secret_... returned when the session was created.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/checkout/string?secret=string"
{  "id": "string",  "connector": "string",  "amount": 0,  "currency": "string",  "status": "string",  "render": {}}
{  "error": {    "code": "not_found",    "message": "not found"  }}