API LibraryStatus
Fetch Transaction Status
Retrieve the current status and details of a previously submitted transaction (OCT push, AFT pull, bill payment, etc.) using the partner's external transaction ID.
- Method:
GET - Path parameter:
externalTransactionId— the unique ID supplied in the original transaction request - No request body required
senderCardNois returned masked (e.g.,4012XXXXXXXX1112)
txnStatus values:
PAYMENT_SUCCESS— Transaction approved and settledPAYMENT_FAILURE— Transaction declined or failedIN_PROCESS— Transaction is still being processed (e.g., 3DS pending)REVERSAL_SUCCESS— Reversal completed successfully
Authorization
BasicAuth AuthorizationBasic <token>
Partner credentials (username/password) provisioned during onboarding
In: header
Path Parameters
externalTransactionId*string
The unique external transaction ID provided in the original transaction request
Response Body
application/json
application/json
application/json
curl -X GET "https://secure.yappay.in/Yappay/txn-manager/v2/fetch/EXT-M2P-348"{
"result": {
"txnDate": "2026-04-14 19:15:31",
"businessEntityId": null,
"networkType": "VISA",
"senderCardNo": "4012XXXXXXXX1112",
"externalTxnId": "EXT-M2P-348",
"description": "Visa Payment",
"amount": 100.5,
"rrn": "601419123978",
"authCode": "032632",
"txnType": "AFT_PULL",
"txnStatus": "PAYMENT_SUCCESS",
"statusReason": "APPROVED",
"originalStatus": null,
"networkReason": "00 : Approved and completed successfully"
},
"exception": null,
"pagination": null
}{
"result": {},
"exception": {
"errorCode": "Y701",
"code": "transfer.eligibility.check.failed",
"shortMessage": "Eligibility check failed",
"detailMessage": "Eligibility check failed",
"languageCode": "en",
"fieldErrors": [
"API Validation Error: 3001. Invalid Account"
],
"networkHttpStatusCode": 0,
"cause": {},
"message": "string",
"localizedMessage": "string",
"suppressed": [
{}
]
},
"pagination": {}
}{
"result": null,
"error": {
"errorCode": "INTERNAL_ERROR",
"shortMessage": "Internal server error",
"detailMessage": "An unexpected error occurred. Please contact support."
}
}