Approve/Decline a Collect Request
This api is to review and take an action on a pending payment request. requestType can be APPROVE or DECLINE. If requestType is APPROVE, then payeeName and credBlock parameters are mandatory. A collect request is successfully approved when gatewayResponseCode is 00 in response. A collect request is successfully declined only when gatewayResponseCode is ZA in response.
Note: SERVICE_UNAVAILABLE_{entity}_{error} will be returned in case of NPCI timeout or deemed transactions.
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.
Merchant generated unique profile id for customer
Constraints: Alphanumeric string with dot(.). Maximum length is 256.
Device fingerprint of the customer
Merchant generated id for the transaction
Constraints: 35 characters alphanumeric
If collectType is null or TRANSACTION, Vpa of the customer request to be used for payment and if collectType is MANDATE, umn of the mandate.
Vpa of the payee to whom money is being sent
Constraints: something@handle
Name of the payee
Amount for transaction
Constraints:Numeric string with two decimals
Unique id sent to UPI switch for the transaction
Constraints:35 character alphanumeric
Differentiates between a transaction collect request (TRANSACTION) or a mandate execution collect request (MANDATE).
Constraints:TRANSACTION or MANDATE
Action to be taken on the collect request
Constraints:APPROVE or DECLINE
Unique id for the selected bank account
Constraints:bankAccountUniqueId in the response of Fetch Accounts api call
Encrypted credblock containing user mpin
Constraints:As returned by Common Library
Currency code
Constraints:String - INR
Stringified JSON for udf parameters
Package name of the UPI application
Common Library Version of the UPI application clVersion
Constraints: Common Library Version of the UPI application (Mandatory for BioAuth payments)
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
Unique id for the merchant as passed in request headers
Unique id for the merchant channel as passed in request headers
Merchant generated unique profile id for customer as passed in the request
Merchant generated request id as passed in the collect request
Customer mobile number
Values: 12 digits mobile number string
If collectType is null or TRANSACTION, Vpa of the customer who received the collect request and if collectType is MANDATE, umn of the mandate.
MCC for the payee
Merchant generated unique id for customer who received the payment. Only if it is an onus P2P transaction.
Vpa of the upi user who received the payment
Values: As passed in the request
Name of the upi user who received the payment. Only if payment is done to a non A/C+IFSC vpa.
Reference url for the intent transaction
Unique id for the selected bank account
Values: As passed in the request
Bank code of the account which was used
Values: Valid bank IIN
Masked account number of the account which was used
Values: XXXX123456
Amount for the payment
Values: As passed in the request
Timestamp of when the transaction was attempted
Values: YYYY-MM-DDTHH:MM:SS+05:30
Transaction id returned by gateway
Reference id returned by the gateway
Response status returned by gateway
Values: SUCCESS, DECLINED, FAILURE
Response code returned by gateway
Response message for code returned by gateway
Response code returned by gateway
Response code returned by gateway
Response code returned by gateway
Response code returned by gateway
Action to be taken on the collect request. As passed in the request bodyAPPROVE or DECLINE
Differentiates between a transaction collect request (TRANSACTION) or a mandate execution collect request (MANDATE).
Values: TRANSACTION or MANDATE
Denotes the recurring cycle of mandate execution. Will be received only during mandate executions.
RiskScore shared by NPCI or Bank
Udf parameters as passed in the request

