Set Or Reset UPI PIN
Set or reset UPI PIN using the Razorpay TPAP Pro API.
POST
Available in🇮🇳 India
Customer’s card details and OTP are required to set or reset UPI PIN. These details are validated at the payment source provider’s (bank) end before allowing to set the PIN. Use this endpoint to generate the OTP via the remitter bank while setting the UPI PIN.
Query Parameters
string
The payment source identifier.
Request Parameters
enum
required
Indicates whether the action is a set or reset. Both set and reset happen from the same API, so we should specify the action to distinguish between them. Possible values:
setreset
string
required
The encrypted UPI PIN. NPCI credentials is the output from the WebCL page.
string
required
The unique identifier of the transaction across all entities, created by the originator.
object
required
Card details.
string
Last 6 digits of the card which the fundsource provider will verify before setting the PIN.
string
Expiry month of the card in
MM format.string
Expiry year of the card in
YY format.string
required
VPA of the customer for which the PIN is set.
string
Device details.
string
The IP address of the device.
string
The location coordinates of the device. For example,
12.9667,77.5667.Response Parameters
string
Name of the entity. Here, it is
fundsource.string
Unique identifier of the entity.
string
Type of account.
string
Name of the account holder.
string
Masked account number.
string
IFSC of the bank.
string
UPI Issuer Identification Numbers (iin) of the payment source provider issued by NPCI.
boolean
Indicates whether the UPI PIN is set. Possible values:
true: UPI PIN is set.false: UPI PIN is not set.
integer
Length of the UPI PIN.
integer
Length of the OTP.
integer
Length of the ATM PIN.
object
Payment source provider details. Here, if the payment source is a bank, payment source providers will be bank information.
string
Name of the payment source.
string
UPI Issuer Identification Numbers (upi_iin) of the payment source provider issued by NPCI.
boolean
Indicates whether the provider has UPI enabled. Possible values:
true: UPI is enabled.false: UPI is not enabled.
string
Indicates the format as defined by NPCI -
format1, format2 and so on.string
The URL of the bank logo.
array
Details of the VPAs linked to the payment source.
string
The entity type name. Here, it is
collection.integer
Indicates the number of items in the entity type.
object
VPA details.
string
The mobile number of the VPA linked to the payment source.
string
The address of the VPA linked to the payment source.
string
The status of the VPA linked to the payment source.
boolean
Indicates if the VPA linked to the payment source marked as primary.
true: VPA is linked to the payment source.false: VPA is not linked to the payment source.