Skip to main content

Change Phone Number

Verifies client's account using the verification code sent to the client's phone number

Path param

authorization : *bearer
REQUEST BODY SCHEMA: application/json


NameDescriptionRequiredType
newPhoneNumberThe new phone of the user RequiredString
oldPhoneNumberThe current phone of the userNot RequiredString

Response

CodeDescription
200success message if successfully verified
409Unauthorized

Request Sample

Content type
application/json

[
{
"oldPhoneNumber": "+880345643234",
"newPhoneNumber": "+2330245643234"
}
...
]