Cancel Order
The Cancel Order is an authenticated API that allows users to cancel an existing order before payment is completed. This API is useful for cases where users change their mind, enter incorrect details, or experience payment issues. Once an order is successfully canceled, it cannot be reversed, and a new order must be placed.
Authentication: use either Transak Auth, which sends the user’s authorization token, or Partner Auth (Auth Reliance), which sends x-access-token and x-user-identifier. Do not send both. See the headers below.
Path parameters
orderId is the id received from the API - api/v2/orders
Headers
End user’s originating IP. More details here
Partner Auth (Auth Reliance). Your Partner Access Token, valid for 7 days. Send it with x-user-identifier, and do not send authorization. See Auth Reliance Flows and how to create a Partner Access Token.
Partner Auth (Auth Reliance). The email address of the user you authenticated. Send it with x-access-token.
Query parameters
Response
200 - Success