API Test Keys
Bind the Device
POST/v1/upi/tpap/devices/bindClick to copy
Use this endpoint to bind the device.
Is this page helpful?
Request
1curl -X POST 'api.rzp.<bank>.com/v1/upi/tpap/devices/bind' \2-u [YOUR_KEY_ID]:[YOUR_SECRET] \3-H "Content-type: application/json" \4-H "x-customer-reference: customer-id-from-customer" \5-d '{6"mobile":"91999999999",7"verification_type":"sms",8"sms":{9"content":"UPIACT ad56ef90396348bac56099"10},11"uuid":"<device_id>",12"app":"test.merchant.upi.com",13"ssid":"123456789",14"manufacturer":"samsung",15"model":"Galaxy S23",16"os":"android",17"os_version":"Dev12345"18}'
Response
1{2"entity":"upi.device",3"mobile":"999999999",4"uuid":"<device_id>",5"app":"test.merchant.upi.com",6"ssid":"123456789",7"manufacturer":"samsung",8"model":"Galaxy S23",9"os":"android",10"os_version":"Dev12345",11"status":"verified"12}
Request Parameters
mobile *
stringMobile number of the customer.
verification_type *
string The verification type. Possible value is sms.
sms *
objectThe device details.
Show child parameters (1)
device *
objectThe device information. This should be the same information sent when you
.Show child parameters (7)
Response Parameters
entitystring Indicates the type of entity. Here it is, device.
mobilestringThe mobile number of the customer.
uuidstring The unique identifier of the device. For example, advertising_id or android_id.
appstringThe package name for the app.
ssidstringThe service set identifier (unique network identifier).
manufacturerstringThe phone manufacturer.
modelstring The phone model. For example, Galaxy S23.
osstringThe operating system running on the device.
os_versionstringThe version of the operating system.
statusstringDevice binding status. Know more about the
.Bind the Device
POST/v1/upi/tpap/devices/bindClick to copy
Use this endpoint to bind the device.
Is this page helpful?
Request Parameters
mobile *
stringMobile number of the customer.
verification_type *
string The verification type. Possible value is sms.
sms *
objectThe device details.
Show child parameters (1)
device *
objectThe device information. This should be the same information sent when you
.Show child parameters (7)
Response Parameters
entitystring Indicates the type of entity. Here it is, device.
mobilestringThe mobile number of the customer.
uuidstring The unique identifier of the device. For example, advertising_id or android_id.
appstringThe package name for the app.
ssidstringThe service set identifier (unique network identifier).
manufacturerstringThe phone manufacturer.
modelstring The phone model. For example, Galaxy S23.
osstringThe operating system running on the device.
os_versionstringThe version of the operating system.
statusstringDevice binding status. Know more about the
.Request
1curl -X POST 'api.rzp.<bank>.com/v1/upi/tpap/devices/bind' \2-u [YOUR_KEY_ID]:[YOUR_SECRET] \3-H "Content-type: application/json" \4-H "x-customer-reference: customer-id-from-customer" \5-d '{6"mobile":"91999999999",7"verification_type":"sms",8"sms":{9"content":"UPIACT ad56ef90396348bac56099"10},11"uuid":"<device_id>",12"app":"test.merchant.upi.com",13"ssid":"123456789",14"manufacturer":"samsung",15"model":"Galaxy S23",16"os":"android",17"os_version":"Dev12345"18}'
Response
1{2"entity":"upi.device",3"mobile":"999999999",4"uuid":"<device_id>",5"app":"test.merchant.upi.com",6"ssid":"123456789",7"manufacturer":"samsung",8"model":"Galaxy S23",9"os":"android",10"os_version":"Dev12345",11"status":"verified"12}