API LibraryCredit Card
Check Transaction Status
Fetches the status of a previously initiated transaction using the account identifier and original UPI transaction ID.
Header Parameters
TENANT*string
Tenant identifier for application identification. Provided by M2P during onboarding. Used in both UAT and production environments.
Request Body
application/json
txnId*string
Original UPI transaction ID
accountIdentification1*string
Unique account identifier
currency?string
Currency code
Default
"INR"channelId?string
Channel identifier
Response Body
application/json
curl -X POST "https://sandbox-upi-api.m2pfintech.com/credit-upi/transaction/status" \ -H "TENANT: PARTNER_XYZ" \ -H "Content-Type: application/json" \ -d '{ "txnId": "123", "accountIdentification1": "1234560000132170569632" }'{
"result": {
"statusCode": "string",
"statusDescription": "string",
"description": "string",
"txnId": "string",
"custRef": "string",
"extTxnId": "string"
},
"exception": {},
"pagination": {}
}Set Credentials Response (UPI PIN Result) POST
Fetches the result of a previously initiated credential set request. Pass the callbackRef from setCredentialsReq to check if the UPI PIN was successfully set, changed, or reset.
Create UPI Transaction POST
Creates debit, reversal, or refund transactions against the credit card account for merchant payments.
