Get Payment By Token
This endpoint retrieves an individual payment along with its order details.
Successful Response (200)
Returns a Payment object in response.
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 Payment By Token:
| HTTP Status Code | errorCode | Description |
|---|---|---|
| 404 <br />Not Found | not_found | No Clearpay Order was found matching the token provided. |
get/v1/payments/token:{token}
Request
- Base URL: https://global-api-sandbox.afterpay.com
- URL: https://global-api-sandbox.afterpay.com/v1/payments/token:{token}
- Auth: HTTP basic
Path parameters
tokenstring required
Order token that was used to complete payment.
Headers
User-Agentstring required
Acceptstring
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.