Create a Checkout Session

Creates a Session object.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

The URL to redirect the user to after a successful payment.

string

The URL to redirect the user to if they cancel the payment process.

customer
object

An object containing the customer's information.

line_items
array of objects

An array of objects representing the items in the transaction.

line_items
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json