This endpoint creates a checkout used to start the Clearpay payment process. Clearpay uses the information in the order request to assist with the customer’s pre-approval process.
The popupOriginUrl is optional if using the redirectConfirmURL and is found under the merchant object. However, this method is used by most new merchants. You can see how the method is used for Express Checkout and read more about the Popup method under our Standard Checkout page.
It is not possible to update the checkout information (including amount) after the token is generated.
If the consumer’s cart changes on the merchant side after a token is generated, please discard this token. Use the current checkout information to generate a new checkout token. Use the new token to send the consumer through the Clearpay screenflow before attempting to call Auth or Capture Full Payment.
In addition to the PUT/POST Errors applicable to all POST endpoints, the following errors are specific to Create Checkout:
Basic authentication of the form Basic <base64(username:password)>.
The customer (consumer) requesting the order.
The merchant’s id/reference that this order corresponds to.
Deprecated: A description of the order.
The shipping options to be applied if a merchant wishes to support shipping to addresses outside of the Afterpay/Clearpay region the customer belongs to.
The Merchant’s store front country. The two-character ISO 3166-1 country code. Required for EU Countries.