Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
line_items
object[]
required
success_url
string
required
mode
enum<string>
required
Available options:
payment
customer_email
string
client_reference_id
string
cancel_url
string
user_id
string

Supply a Dots user ID in place of a customer ID

customer_id
string
expires_in
integer
default: 10800
Required range: 0 < x < 10800
metadata
object

Response

200 - application/json
id
string
status
enum<string>
Available options:
open,
complete,
expired
payment_intent_id
string
success_url
string
cancel_url
string
checkout_session_url
string
client_reference_id
string
expiry
string
metadata
object
line_items
object[]
created
string
updated
string
customer_id
string

payment-customer ID

customer_email
string
amount_total
integer