Get a Mobile Number Verification Token
Get a mobile number verification token using the Razorpay API.
POST
Available in🇮🇳 India
Use this endpoint to get a mobile number verification token.
Request Parameters
string
required
The unique identifier the merchant has created for the customer. This should be passed as a header. Know more about headers.
object
required
The device details.
string
The unique identifier of the device. For example,
advertising_id.string
The package name for the app.
string
The service set identifier (unique network identifier).
string
The phone manufacturer.
string
The phone model. For example,
Galaxy S23.string
The operating system running on the device.
string
The version of the operating system.
string
IP address of the device.
string
The geocode of the device.
string
required
The verification type. Possible value is
sms.string
required
The mobile number.
string
required
Network provider on the selected mobile number.
Response Parameters
string
The verification type.
object
Details required for verification via SMS.
string
The SMS token sent through customer’s phone to verify the mobile number.
list
Contains the data for receiver numbers to whom the SMS content should be sent to for verifying the mobile.
string
Information about the network provider who verifies the mobile number.
string
The number of the network provider the SMS is sent to verify the mobile number.
string
The expiry time of the verification request in UNIX timestamp.