get https://mercury-uat.phonepe.com/v3/recurring/debit/status//
To check the status of recurring debit execute API call.
Path Parameters
Parameter Name | Type | Description | Mandatory |
---|---|---|---|
|
| Unique Merchant ID assigned to the merchant by PhonePe |
|
|
| Merchant Transaction Id for which status is to be fetched |
|
{
"success": true,
"code": "SUCCESS",
"message": "Your payment is successful.",
"data": {
"merchantId": "MID12345",
"transactionId": "TX1234567890",
"notificationDetails": {
"notificationId": "OMN2006110139450123456789",
"amount": 39900,
"state": "NOTIFIED",
"notifiedAt": "1622539751586",
"validAfter": "1622539750000",
"validUpto": "1622885350000"
},
"transactionDetails": {
"providerReferenceId": "P1806151323093900554957",
"amount": 39900,
"state": "COMPLETED",
"payResponseCode": "SUCCESS",
"paymentModes": [
{
"mode": "ACCOUNT",
"amount": 399000,
"utr": "816626521616"
}
]
},
"subscriptionDetails": {
"subscriptionId": "OMS2006110139450123456789",
"state": "ACTIVE"
}
}
}
{
"success": true,
"code": "SUCCESS",
"message": "Payment Failed",
"data": {
"merchantId": "MID12345",
"transactionId": "TX1234567890",
"notificationDetails": {
"notificationId": "OMN2006110139450123456789",
"amount": 39900,
"state": "NOTIFIED",
"notifiedAt": "1622539751586",
"validAfter": "1622539750000",
"validUpto": "1622885350000"
},
"transactionDetails": {
"providerReferenceId": "P1806151323093900554957",
"amount": 39900,
"state": "FAILED",
"payResponseCode": "AUTHORIZATION_FAILED"
},
"subscriptionDetails": {
"subscriptionId": "OMS2006110139450123456789",
"state": "FAILED"
}
}
}
Response Parameters
Field Name | Data Type | Description |
---|---|---|
|
| Merchant ID provided by PhonePe |
|
| Merchant’s TransactionId |
|
| Contains notification details |
|
| Same as normal Transaction, please refer here |
|
| Contains subscriptionId and state |