P2P Transaction Status
This is a Server-to-Server API that takes upi_request_id, issuing_psp and transaction_type as a path variable and returns the status of the order along with other details.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example: MUQ2QUZEQzhFQTY0OUU5QTIxQzNFNTQwNkFDMEZCOg==
Merchant ID provided by Juspay
Example: merchant-id
Request id of the transaction whose status is to be checked
Example: AXBd4353cfd54e549a6bf8bf44683d27f5e
Issuing psp name
Example: YES_BIZ
Type of transactions:
MERCHANT_CUSTOMER_RECEIVED_MONEY- To get a final response for an incoming money to a customer via pay
MERCHANT_CUSTOMER_CREDITED_VIA_COLLECT
- To get a final response for an incoming money via collect approval/declined
MERCHANT_CUSTOMER_DEBITED_FOR_MERCHANT_VIA_PAY- To get final response for P2M pay transaction (customer paying money to same merchant)
MERCHANT_CUSTOMER_DEBITED_VIA_PAY- To get final response for SEND_MONEY transaction (customer paying money to different merchant or customer)
MERCHANT_CUSTOMER_DEBITED_FOR_MERCHANT_VIA_COLLECT- To get a final response for a outgoing collect approval/declined for same merchant
MERCHANT_CUSTOMER_DEBITED_VIA_COLLECT- To get a final response for a outgoing collect approval/declined for different merchant or customer
MERCHANT_CUSTOMER_COLLECT_REQUEST_SENT- Outgoing Collect Request from Customer
Vpa of the upi user who sent the payment.
Merchant generated unique id for customer who sent the payment.
Vpa of the upi user who received the payment.
payee Merchant Category Code
Unique id for merchant.
Unique id for the channel via which request is made.
Masked account number for the customer bank account used for transaction. Only if gatewayResponseCode is non 'U69'.
IIN for the customer bank account used for transaction. Only if gatewayResponseCode is non 'U69'.
Unique hash for the customer bank account used for transaction. Only if gatewayResponseCode is non 'U69'.
Invoice as sent by merchant or reference to the transaction in the form of url.
Merchant generated request id as passed in the collect request. Only if gatewayResponseCode is not 'U69'.
UPI request id returned by gateway for the transaction.
Response code returned by gateway for the transaction. Click here for gateway response codes.
Customer reference number (rrn) for the transaction.
response message returned by gateway for the transaction.
Timestamp of when the payment
Amount for which customer made the payment.
Bad Request
Details of keys missing
Example: Mandatory fields are missing
Further Details of keys missing
error
access_denied
error
Internal server Error

