Skip to main content
POST
Complete checkout for an authenticated user

Authorizations

Authorization
string
header
required

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

Body

application/json
payment
object
required
planId
string

Required unless variantId is supplied.

variantId

Required unless planId is supplied.

Response

Checkout response

status
enum<string>
required
Available options:
succeeded,
requires_action,
processing
planId
string
required
paymentIntentId
string
required
usageBalanceMicrosGranted
number

Usage balance granted in USD micros. 1,000,000 micros equals $1.00.