πŸ“ž#8 Phone Info

#8.1 Add New Phone:

This API is to add client's phone number. Client can add up to 5 numbers.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Body
codestringRequired

Country Code

Example: 20
phoneNumberstringRequired

Client mobile number

Example: 01xxxxxxxxx
Responses
chevron-right
200

Success

application/json
statusinteger Β· enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/PhoneInfo

#8.2 Send OTP :

This API is to send OTP to added mobile number. OTP will be expired after 10 minutes.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Responses
chevron-right
200

Success

application/json
statusinteger Β· enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/PhoneInfo/SendOtp

#8.3 Validate OTP:

This API is to validate OTP sent to client's mobile.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Body
otpstringRequired

OTP sent to client's mobile.

Example: 686330
Responses
chevron-right
200

Success

application/json
statusinteger Β· enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/PhoneInfo/ValidateOTP

#8.4 Get Verified Phones :

This API is to get list of client's verified mobile numbers.

get
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Responses
chevron-right
200

Success

application/json
phoneNumberstringRequired

Client's mobile number.

Example: +201xxxxxxxxx
isDefaultbooleanRequired

True if mobile number is default.

get
/Onboarding/api/v1/onboarding/PhoneInfo/GetVerifiedPhones

#8.5 Set Default Phone:

This API is to set default client's specific mobile number if client has multiple numbers.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Body
phoneNumberstringRequired

Client's phone number

Example: +201xxxxxxxxx
Responses
chevron-right
200

Success

application/json
statusinteger Β· enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/PhoneInfo/SetDefault

#8.6 Finalize Phone Step:

This API is to finalize phone step.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Responses
chevron-right
200

Success

application/json
statusinteger Β· enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/PhoneInfo/Approve

Last updated