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.
Path parameters
orderid
orderId is the id received from the API - api/v2/orders
Headers
x-user-ip
End user's originating IP. More details here
x-api-key
Partner API Key present in Transak Dashboard.
x-user-identifier
Your authenticated user Email Id address.
Note: This is applicable only for Auth Reliance Flows
x-access-token
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
Note: This is applicable only for Auth Reliance Flows
Query parameters
cancelReason
Reason to Cancel the order
Response
200 - Success
data
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error