Order Status API
To Fetch the amount breakup for cred payment, please add options.add_full_gateway_response=true when calling Juspay order status api. Version needs to be passed in the header, value: 2018-10-25
Pass the date in YYYY-MM-DD format
We recommend passing the customer_id as the x-routing-id. If the customer is checking out as a guest, you can pass an alternative ID that helps track the payment session lifecycle. For example, this could be an Order ID or Cart ID.
This ID is associated with the customer. It plays a key role in ensuring consistency and maintaining connections across different systems. If you fail to pass the same x-routing-id for the same customer in all related API calls, it could lead to issues with API functionality. Therefore, it’s crucial that you use the same x-routing-id for all requests tied to the same customer.
Example:- customer_1122
Order Id
Example:- ord_7678648
Unique ID generated by JusPay for the given order
The unique id generated by Juspay for a particular transaction. Can be used as an identifier in case of UPI transaction
Status of order
Status ID is a numeric id corresponding to the status value
The order amount
Order creation timestamp in UTC
The email Id of the customer passed during order creation
The phone number of the customer passed during order creation
The customer id passed during order creation
The merchant id provided by Juspay
The currency passed during order creation. Default is INR
The return url provided during order creation
The product_id provided during order creation. Empty in case its not passed
The user defined fields passed during order creation. Empty in case not passed
Transaction ID for the payment attempt. Can be used as an identifier at PG end and will be present in reconciliation report.
Wallet
CRED
true if the order has been completely refunded. Will be false for partial refunds or if the order doesn't have any refunds.
Amount which has been refunded so far for the given order
The refund block with the details of refund initiated for the given order.
The json object with the details of the transaction
The json object with the details receive from PG
Unique ID generated by JusPay for the given order
The bank reference number provided by the gateway
The transaction creation timestamp
Transaction Id from the underlying gateway
Auth code provided by the gateway for the transaction.
Transaction Id for the payment attempt
The response message provided by the gateway
Gateway Id of the gateway used for performing this transactions

