Skip to main content
POST
Create checkout session

Overview

Create a checkout session and send your customer to the url it returns. The page carries your branding, lists the wallets the payer’s browser exposes, and explains the approval in words before anything is signed.

Authorizations

Api-Key
string
header
required

Your Reclack API key. The prefix decides the environment: rk_sandbox_ for test chains, rk_live_ for production.

Body

application/json
price_id
string

A price from your catalog.

Example:

"price_7Fh2PqX9"

amount
string

A one-off amount not in your catalog. Use instead of price_id.

Example:

"29.00"

networks
string[]

Narrow the networks for this session.

Example:
customer
object

Email, name, or an existing customer id.

fee_payer
enum<string>

merchant by default.

Available options:
merchant,
customer
expires_in
integer

Seconds until the session expires.

Example:

3600

metadata
object

Returned on the session and on its events.

Response

Created

data
object