Body
Cancel Order API
This document provides technical guidance for merchants to cancel an active payment link via the API.
Note
A cancelled order cannot be reactivated. A new payment link must be generated if needed.
Ensure the order being cancelled is in
ACTIVEstate; otherwise, cancellation may fail or have no effect.
Request
Response
API Endpoints
Sandbox Link
POST
https://sandbox.juspay.in/merchants/{merchant_id}/order/{order_id}/cancel
Production Link
POST
https://api.juspay.in/merchants/{merchant_id}/order/{order_id}/cancel
Headers
Path Params
200 : Success
- Have questions?
- Need help? Contact support
- LLM? Read llms.txt

