Get Status API
Click to copy
Use this endpoint to fetch the current status of an order or transaction using Order ID or Transaction ID.
Request Parameters
- 1 : Search by Order ID.
- 2 : Search by Transaction ID received on the return URL callback.
Transaction ID is appended to the return URL as a query parameter. Example: https://returnurl.com?txn=MD281132054115832519148
Merchant-generated order identifier. Required when searchType is set to 1.
Transaction identifier received from the payment callback. Required when searchType is set to 2.
Response Parameters
Response code indicating the status of the request.
Message describing the response outcome.
Merchant reference identifier.
Merchant-generated order ID.
Transaction identifier received from the payment callback.
Transaction amount.
Customer name.
Customer mobile number.
Customer email address.
Current transaction status
Date and time when the transaction was initiated.
Refund status, if applicable.
Settlement status of the transaction.
Payment mode used for the transaction (e.g., cc, dc, upi).
1curl -X POST https://api.instifi.com/api/v1/Instify/GetStatus \
2-H "Content-Type: application/json" \
3-H "X-CLIENT-KEY: [YOUR_CLIENT_KEY]" \
4-H "X-CLIENT-ID: [YOUR_CLIENT_ID]" \
5-H "X-SECRET-KEY: [YOUR_SECRET_KEY]" \
6-d '{
7 "searchType": "2",
8 "orderId": "",
9 "transactionId": "[TRANSACTION_ID]"
10}'1{
2 "responseCode": "200",
3 "responseMessage": "Success",
4 "data": {
5 "merchantRefId": "11",
6 "orderId": "1558441521",
7 "transactionId": "[TRANSACTION_ID]",
8 "amount": "103.00",
9 "customerName": "[CUSTOMER_NAME]",
10 "customerMobile": "[CUSTOMER_MOBILE]",
11 "customerEmail": "[CUSTOMER_EMAIL]",
12 "transactionStatus": "Completed",
13 "transactionDate": "11/28/2024 11:58:32 AM",
14 "refundStatus": "",
15 "refundType": "",
16 "merchantName": "[MERCHANT_NAME]",
17 "settlementStatus": "",
18 "settlementDate": "",
19 "payMode": "cc"
20 }
21}