cURL
curl --request POST \ --url https://staging-api.getpartna.com/v4/phone \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-api-user: <api-key>' \ --data ' { "accountName": "", "country": "", "mobileNetwork": "", "phoneNumber": "" } '
{ "data": { "maskedPhoneNumber": "+25475****600", "methods": [ { "hint": "To complete verification, resend received OTP from your submitted phone number", "method": "receiveotp" }, { "hint": "We send OTP to your phone number. Use OTP to complete verification", "method": "sendotp" } ], "phoneID": "506e46b8e67f4f4bbdda96b3ee3295d1" }, "message": "successful" }
Initiate user’s phone number validation by country
KE
NG
phone number
initiate verify post phone ok
Show child attributes
Was this page helpful?