Status Check API
Get real-time status and transaction history for a specific mandate or subscription, including payment frequency, amounts, scheduled cycles, and past transaction results. Ideal for tracking active agreements, verifying next due date, and monitoring failed or successful debits.
https://payments.airpay.co.in/pay/v4/api/mandates/list_mandate.phpHeader
Section titled “Header”| Parameter | Type Value | Description | Value Like |
|---|---|---|---|
| Content-Type required | String | The Content-Type header specifies the media type of the request or response body, allowing the receiver to correctly interpret the For XML data, use application/xml. | For JSON: application/json,For XML: application/xml |
Request Body
Section titled “Request Body”| Parameter | Type Value | Description | Value Like |
|---|---|---|---|
| page_number required | Numeric (1–10) | 0 | |
| subscription_id/orderid required | Numeric (1–10) |
Success 200
Section titled “Success 200”| Parameter | Type Value | Description | Value Like |
|---|---|---|---|
| subscription_id required | String | subscription_id Unique identifier assigned to the subscription or mandate. | |
| end_date required | String | end_date Mandate end date. | |
| amount required | String | Transaction amount. | |
| period required | String | Frequency or duration period of mandate. | |
| transaction_type required | String | Type or category of transaction. | |
| transaction_date required | String | ||
| subscription_status required | String | ||
| next_tran_date required | String | ||
| last_tran_date required | String | ||
| subscription_amount required | String | ||
| subscription_maxamount required | String | ||
| frequency required | String | Frequency or duration period of mandate. | |
| subscription_cycle required | String | ||
| total_recurring_transaction required | String | ||
| transaction_history required | String | Array of subscription objects | |
| transaction_history.ap_transactionid required | String | Transaction ID assigned by the payment gateway. | |
| transaction_history.transaction_type required | String | Defines the type of transaction. | sale, refund, mandate, etc. |
| transaction_history.transaction_date required | String | ||
| transaction_history.transaction_amount required | String | ||
| transaction_history.transaction_status required | String | Status code representing the transaction result. | 211 = InProcess, 400 = Failed |