success_url once the payment confirms. Requires the payments:write scope.
Request
POST https://api.blockra.io/checkout/sessions
Body parameters
The amount to charge, in fiat. Blockra locks the live exchange rate once the buyer picks a coin. Example:
9.99.The fiat currency to price in. One of
USD, EUR, or GBP. Defaults to your account’s settlement currency.A short description shown on the checkout page (max 255 characters).
Your own order or reference ID (max 255 characters). Echoed back on the resulting payment and in webhook payloads.
Pre-fills the buyer’s email and associates the payment with a customer record.
URL to redirect the buyer to after a successful payment. Falls back to your checkout settings when omitted.
URL to redirect the buyer to if they cancel. Falls back to your checkout settings when omitted.
Response
Returns a201 with the session ID and the hosted checkout URL. Redirect your buyer to url.
The checkout session ID, prefixed
cs_.The hosted checkout page URL — redirect your buyer here.

