Skip to main content
POST
/
phone
Initiate user's phone number validation by country
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"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
accountName
string
required
country
enum<string>
required
Available options:
KE,
NG
mobileNetwork
string
required
phoneNumber
string
required

phone number

Response

200 - application/json

initiate verify post phone ok

data
object
message
string