Skip to main content
POST
Create a Stripe checkout session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
integer<int64>
required

Amount in cents to purchase. Must be a positive integer.

Required range: x >= 1

Response

The created checkout session.

sessionId
string
required

The Stripe checkout session ID.

sessionUrl
string<uri>
required

The hosted Stripe checkout URL to redirect the user to.