A quick note when Verifying Users using the Mobile-API
While calling the verification finish endpoint in Sandbox, the OTP (One Time Passcode) will always be six 0's. (000000).
Start verification cURL:
curl --location --request POST 'https://api.sbx.aptopayments.com/v1/verifications/start' \
--header 'Api-Key: Bearer {MOBILE_API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"datapoint": {
"data_type": "phone",
"country_code": "1",
"phone_number": "2105555555"
},
"datapoint_type": "phone"
}'
Finish verification cURL:
curl --location --request POST 'https://api.sbx.aptopayments.com/v1/verifications/entity_f58590aff473a3ca/finish' \
--header 'Api-key: Bearer {MOBILE_API_KEY] \
--header 'Content-Type: application/json' \
--data-raw '{
"secret": "000000"
}'
You can find more information in our Documentation. If you have any questions about [insert topic article here] please reach out to the Program Support team by submitting a request.