Update Order

Update an order that has already been created. The only amount, address and UDF fields can be updated. Address fields can be optionally sent as explained in the /orders API.
The API response is similar to that of the order create API.

Note

Update order is not recommended once the transaction is initiated to PG. Updating the order amount might lead to order amount mismatch (In case there are retry allowed on same order id).

API Endpoints
Sandbox Link
POST
https://api.sandbox.juspay.io/orders/{order_id}
Production Link
POST
https://api.juspay.io/orders/{order_id}
Authorization Header
Headers
Path Params
Body
200 : Success
400 : Invalid Input data
Last updated 3 months ago