Create checkout session

Required capability: payments

Path Params
string
required
Body Params
string

Client supplied identifier to cross-reference the checkout to internal systems (like an order id for example).

string
required

Amount to be captured in minor unit of the currency (ex: euro-cents for euros).

Example: 300 (as in 300 pence for £3.00)

string
required

ISO 4217 three letter currency code. Must be supported by at least one payment rail associated with the device.

Example: "GBP"

string

The URL to return to when the customer successfully completed the checkout. If empty, a Synapto hosted success page is displayed.

string

When set, a "Back" link becomes visible on the checkout page and the user is redirected to this link. It is recommended to set this field.

metadata
object

Client supplied metadata. At most 50 keys with a max length of 40 characters are permitted. Values may be strings up to 500 characters each.

Response

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