Payments
Create payment
Initiate a new payment (limited to one-time): generate an invoice and charge it directly or with a checkout session
POST
/
v1
/
payments
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
type
enum<string>
requiredAvailable options:
one_time
customer_id
string
requireditems
object[]
requiredpurchase_order
string | null
charging_method
enum<string>
requiredAvailable options:
immediately
Response
200 - application/json
invoice_id
string
requiredPayment invoice ID.
checkout
object
One-time payment checkout session.