Skip to main content
POST
Create checkout session

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

product
object
required
amount
number
required
Required range: x >= 0.01
currency
string
required
Required string length: 3
customer_email
string<email>
required
success_url
string
cancel_url
string
metadata
object
gateway
string
gateways
string[]
crypto_gateway
string
confirmations
number
Required range: x >= 1
customer_id
string

Response

Successful response

data
object
required