POST
/
v2
/
checkout-sessions
Authorization
Body
curl --request POST \
  --url https://api.senddotssandbox.com/api/v2/checkout-sessions \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json'

Authorizations

Authorizationheaderrequired
string

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

Body

application/json
cancel_url
string
client_reference_id
string
customer_email
string
customer_id
string
expires_in
Default: "10800"
integer
line_items
object[]
metadata
string
mode
enum<string>
Available options:
payment
success_url
string
user_id
string

Supply a Dots user ID in place of a customer ID

Response

200