The phone step is complete when every check that is turned on has passed for the entity’s current number. The order does not matter. A check that is turned off returns
403.
Ownership Check
One call, with no action from the entity. The entity must be an individual with a Saudi national ID or iqama on file.201withverifiedPhoneOwnershipAt: the number is registered to the entity. DAL saves it on the entity.400: the number is not registered to the entity, the entity has no Saudi ID, another entity already has the number, or the registry could not be reached.
SMS Code
Two calls, with the entity in between. 1. Send the code. DAL saves the number on the entity and sends it a 4-digit code.id. Keep it for the next call. To resend the code, call start again.
2. Submit the code the entity typed into your app.
201, the same as a right code, with success: false and a message in English and Arabic. Show the message and let the entity try again.
Checking the Result
View the entity and read itsverifications:
phoneNumber is the SMS check and phoneOwnership is the ownership check. Both refer to the entity’s current number. If either call saves a different number, both go back to false, so run every check with the same number.