Create a checkout

Creates a checkout link that generates a URL for a customer to complete a purchase

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Request

Body
productslist of objectsRequired
successUrlstringRequiredformat: "uri"
customerIdstringOptional
cancelUrlstringOptionalformat: "uri"
expiresAtdatetimeOptional
metadatamap from strings to anyOptional

Response

201
idstring
urlstring
statusenum
Allowed values:
productslist of objects
customerIdstring or null
successUrlstring
cancelUrlstring or null
expiresAtdatetime or null
metadatamap from strings to any or null
createdAtdatetime
updatedAtdatetime

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error