Skip to main content
POST
Error

Authorizations

X-LeaderOS-Key
string
header
required

Public key from Dashboard → Settings → Headless (pk_live_...).

Authorization
string
header
required

User token from POST /auth/login or /auth/register.

Body

application/json
amount
number
required
paymentGateway
string
required
terms
boolean

Required when showTermsCheckbox is true.

Response

OK

success
boolean
required
data
object
required
message
string