Miracle Docs
Checkout sessions

Exchange a checkout redirect capability

Exchanges a purpose-limited redirect token and returns the checkout client credential in a non-cacheable response body. A short replay window covers lost responses; the credential is never placed in a URL.

POST
/v1/checkout-sessions/bootstrap
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://<api-host>/v1/checkout-sessions/bootstrap" \  -H "Content-Type: application/json" \  -d '{    "redirectToken": "string"  }'
Empty
Empty

On this page