Create Checkout [Express Checkout]
Create Checkout [Express Checkout]
This endpoint creates a checkout that is used to initiate the Clearpay payment process. Clearpay uses the information in the order request to assist with the consumer’s pre-approval process.
Successful Response (201)
Returns a token, expiry date/time and checkout URL if successful.
Connection Timeouts
Errors
In addition to the PUT/POST Errors applicable to all POST endpoints, the following errors are specific to Create Checkout:
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Headers
User-Agent
Accept
Request
This endpoint expects an object.
amount
Total amount for order to be charged to consumer.
mode
Must be set to express to enable express checkout.
Allowed values:
merchant
Response
200
token
expires
redirectCheckoutUrl
Errors
400
Bad Request Error