POST
/
auth
/
otp
/
verify
cURL
curl --request POST \
  --url https://api.nh.staging.mum.juspay.net/service2/auth/otp/verify \
  --header 'Content-Type: application/json' \
  --data '
{
  "otp": "<string>",
  "phone": "<string>",
  "device_info": "<string>"
}
'
{
  "access_token": "<string>",
  "access_token_expires_at": 123,
  "is_new_user": true,
  "message": "<string>",
  "refresh_token": "<string>",
  "refresh_token_expires_at": 123,
  "success": true,
  "user_id": "<string>"
}

Body

application/json
otp
string
required
phone
string
required
device_info
string | null

Response

OTP verified, tokens issued

access_token
string
required
access_token_expires_at
integer<int64>
required
is_new_user
boolean
required
message
string
required
refresh_token
string
required
refresh_token_expires_at
integer<int64>
required
success
boolean
required
user_id
string
required