Reverse Payment By Token
This endpoint performs a reversal of the checkout that is used to initiate the Afterpay payment process. This will cancel the order asynchronously as soon as it is created without the need of an additional call to the void endpoint. In order for a payment to be eligible, the order must be in an Auth-Approved or Captured state and must be issued within 10 minutes of the order being created.
**Connection Timeouts**
| Timeout | Time (Seconds) |
|---------|----------------|
| Open | 10 |
| Read | 70 |
Authentication
AuthorizationBasic
Basic authentication of the form Basic <username:password>.
Path parameters
token
The token of the checkout to be reversed (voided).
Headers
User-Agent
Accept
Response
The Reversal endpoint indicates a successful response with a 204 status code response. Returns no content in the response.