Transaction Status
This api will be used for getting the status for both P2P and P2M transaction and the response will be similar to callback response for the transactionType passed in the request.
Below are the possible values for transactionType
For hitting the request only one param is mandatory out of upiRequestId or merchantRequestId.
|
transactionType
|
Callback Type
|
|---|---|
CUSTOMER_CREDITED_VIA_PAY
| Incoming Money to Customer - Pay
|
CUSTOMER_CREDITED_VIA_COLLECT
| Incoming Money to Customer - Collect Status
|
CUSTOMER_DEBITED_FOR_MERCHANT_VIA_PAY
| Outgoing Money from a Customer
|
CUSTOMER_DEBITED_VIA_PAY
| Outgoing Money from a Customer
|
CUSTOMER_DEBITED_FOR_MERCHANT_VIA_COLLECT
| Outgoing Money from a Customer
|
CUSTOMER_DEBITED_FOR_VIA_COLLECT
| Outgoing Money from a Customer
|
COLLECT_REQUEST_SENT
| Outgoing Collect Request from Customer
|
application/json
This is a signature over combination of headers, payload. Refer Signature Calculation section for more details.
Will be shared while onboarding.
Will be shared while onboarding.
application/json
This is an epoch unix timestamp string. For example, 1496918882000. It can be used by us to invalidate older requests.
Request id of the transaction whose status is to be checked.
Constraints : 35 character alphanumeric unique id.
Merchant generated id for the transaction.
Type of transaction
Timestamp of the upiRequestId as returned by PSP
Constraints : (YYYY-MM-DDTHH:MM:SS+05:30)
Boolean flag for UDIR status check
Stringified JSON for udf parameters
PSP status of the API
Values : SUCCESS, FAILURE
PSP response code for the API
Values : Refer error code section
PSP response message for the API
Values : Refer error code section
Callback data in appropriate format for the transactionType passed in the request. Refer Transaction API Callbacks section for more details.
Amount for the payment
As passed in the request
Unique id for the selected bank account
As passed in the request
Bank code of the account which was used
Valid bank IIN
Stringified JSON parameter for future use.
Response code returned by gateway
Response code returned by gateway
Response code returned by gateway
Response code returned by gateway
Reference id returned by the gateway
Response code returned by gateway
Response message for code returned by gateway
Response status returned by gateway
Transaction id returned by gateway
Masked account number of the account which was used
XXXX123456
Merchant generated unique profile id for customer as passed in the request
Unique id for the merchant as passed in request headers
Refers to upiRequestId used during creation of mandate
As passed for upiRequestId in the request.
MCC code of the merchant
Merchant generated unique id for customer who received the payment. Only if it is an onus P2P transaction.
Mobile number of the customer who received the payment.
Vpa of the upi user who received the payment.
Merchant generated unique id for customer who received the collect request. Only if it is an onus transaction.
Vpa of the customer who sent the payment.
Invoice as sent by merchant or reference to the transaction in the form of url.
RiskScore shared by NPCI or Bank
Denotes the recurring cycle of mandate execution. Will be received only during mandate executions. It will only be present in case of mandate request.
Timestamp of when the payment was received. (YYYY-MM-DDTHH:MM:SS+05:30)
P2M_PAY, P2P_PAY, SCAN_PAY, INTENT_PAY, P2PM_PAY, SELF_PAY, LITE_PAY, INTERNATIONAL_PAY
Event type of the transaction.
Vpa used for execution of mandate.
Udf parameters as passed in the request.

