Get NPCI Token
This api generate a new NPCI token. This token is to be used when calling the Common Library APIs.
npciToken will be returned only if gatewayResponseCode = "00".
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.
Merchant generated unique profile id for customer
Constraints: 35 character alphanumeric. Should always start with merchant prefix provided.
Device fingerprint of the customer
Type of operation to be performed on the token
Constraints: String - Pass initial (For New Token Creation), rotate (For Expired Token Updation)
Challenge for the NPCI token generation
Constraints: Base 64 encrypted string as returned by Common Library
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
PSP response message for the API
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
Customer mobile number as per device binding
Values: 12 digits mobile number string
Transaction id returned by gateway for the request
Response status returned by gateway
Values: SUCCESS, FAILURE
Response code returned by gateway
Response message for code returned by gateway
NPCI token for Common Library
Values: Base 64 encrypted string
Udf parameters as passed in the request
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

