Cancel API

This API can be used to schedule a fulfillment for cancellation. The merchant needs to provide the fulfillment ID in the API request.

Please note that triggering the cancel API does not guarantee the cancellation of the fulfillment. Merchants should always verify the status of the fulfillment via the dashboard or by using the status API after a short period to check whether the fulfillment is cancelled or not.

Note

An fulfillment can only be canceled in some certain circumstances only. We will try to cancel as best case scenario, but we can't guarantee the outcome. - in case the order is already attempted/pending at downstream gateway or picked for attempt in our transaction processing queue it cannot be cancelled

API Endpoints
Sandbox Link
POST
https://sandbox.juspay.in/payout/merchant/v1/fulfillment/:fulfillmentId/cancel
Production Link
POST
https://api.juspay.in/payout/merchant/v1/fulfillment/:fulfillmentId/cancel
Authorization Header
Headers
Path Params
200 : Success
404 : Not Found
Last updated 10 months ago