User Flows

Flow 1
Saved Card Flow
Flow 2
New Card Flow

User Journey

Saved Card Flow | Fetch Balance
Saved Card Flow | Fetch Balance
Saved Card Flow | Split Transaction
Saved Card Flow | Split Transaction
Saved Card Flow | Full Redemption
Saved Card Flow | Full Redemption
No Rewards
No Rewards
New Card Flow | Eligibility
New Card Flow | Eligibility
New Card Flow | Fetch Balance
New Card Flow | Fetch Balance
New Card Flow | Split Transaction
New Card Flow | Split Transaction

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.

Note
  • 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_list as an array block in with the 2 transactions (CARD + LOYLTYREWARDZ). You need to make sure to consume the params from inside the txn_list array 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

Refund cases

Transaction Base Refund

Request

Response

Order Base Refund

Request

Response

Last updated 1 year ago