This endpoint creates a checkout that is used to initiate the Afterpay payment process. Afterpay 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.
|string||Checkout token to be used to complete payment.|
|string||The UTC timestamp of when the checkout token will expire, in ISO 8601 format.|
In addition to the PUT/POST Errors applicable to all POST endpoints, the following errors are specific to Create Checkout:
|HTTP Status Code||errorCode||Description|
|One or more required fields were missing or invalid.|
|One or more Money objects may have contained a currency that differs from the merchant's account currency.|