Get Checkout
This endpoint retrieves an incomplete individual checkout by token.
<Note title="Note">Checkout details are only retained in this temporary format for up to 60 minutes. If a checkout token expires or has an order created against it, it can no longer be retrieved from this endpoint.
To retrieve a Payment record (Clearpay Order) along with its associated checkout details, see Get Payment By Token. </Note>
<Note title="Note">Fields that were not included in the original Create Checkout request may not be included in any corresponding Get Checkout response. </Note>
Connection Timeouts
| Timeout | Time (Seconds) |
|---|---|
| Open | 10 |
| Read | 20 |
Errors
In addition to the GET Errors applicable to all GET endpoints, the following errors are specific to Get Checkout:
| HTTP Status Code | errorCode | Description |
|---|---|---|
| 404 <br />Not Found | not_found | No checkout token was provided. |
| 412 <br />Precondition Failed | invalid_token | The checkout token is invalid, expired, completed, or does not exist. |
Request
- Base URL: https://global-api-sandbox.afterpay.com
- URL: https://global-api-sandbox.afterpay.com/v2/checkouts/{token}
- Auth: HTTP basic
Path parameters
The token of the checkout to be retrieved.
Headers
Response
Get Checkout Response
Changes
No recorded changes to this operation across all 1 revision of this API.