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.

Path Parameters

id
integer
required

Id

Body

application/json
paymentGateway
string
required

Gateway slug.

terms
boolean

Required when showTermsCheckbox is true.

Response

OK

success
boolean
required
data
object
required
message
string