User Flows
User Journey
Sample Requests and Responses
With the existing implementation on Juspay , the transaction level details are available in the root structure of the orderStatus(/orders/:order_id) JSON block.
In some case, There will be a new status called as AUTO_REFUNDED, which indicates than primary card transaction is successful but the LOYLTYREWARDZ transaction got failed and JUSPAY has called REFUND for primary card transaction.
Only inCase of split transactions, orderStatus response will return
txn_listas an array block in with the 2 transactions (CARD + LOYLTYREWARDZ). You need to make sure to consume the params from inside thetxn_listarray block.As orderStatus response is changing incase of split transaction and AUTO_REFUNDED case, It will also effect webhook payload (If already handled no need for any change).
Order Status API
Request
Response
Reward Transaction
Card + Reward Transaction
Refund API
Transaction Base Refund
Request
Response
Order Base Refund
Request
Response

