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.
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).
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
application/x-www-form-urlencoded
Unique identifier for the merchant. This is the Merchant ID provided by Juspay. The value is case sensitive.
Passing this value will help us route efficiently at network level.
Example:- x-merchantid: testaccount
Order Id of the order for which you want to update
Example:- JPAYNEW035
New amount value
test@gmail.com
98765432
cst_wiqou3224
NEW
ordeh_4b9501d714624eretry677i
merchantId
SGD, IDR, INR, USD
JPAYNEW035
2021-09-10T09:24:06Z
https://api.juspay.in
https://api.juspay.in/merchant/ipay/ordeh_4b9501d7146243ac8a9d9c4a42ed7b59
https://api.juspay.in/merchant/pay/ordeh_4b9501d7146243ac8a9d9c4a42ed7b59
https://api.juspay.in/merchant/pay/ordeh_4b9501d7146243ac8a9d9c4a42ed7b59?mobile=true
{}
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

