Verifies the OTP code sent to the customer's email address. Upon successful verification, the customer's email is marked as verified. OTP codes are single-use and expire after a set time period. Rate limited to 4 verification attempts per minute per customer.
Security
HMACAuth
Identity reference of an existing customer created through our platform
Example:"c-13344"
- Mock serverhttps://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/verifications/otp/verify
- Production environment serverhttps://api.banxa.com/eapi/v0/verifications/otp/verify
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/verifications/otp/verify
Verify the OTP code received via email
curl -i -X POST \
https://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/verifications/otp/verify \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"identityReference": "customer-12345",
"email": "[email protected]",
"code": "1234"
}'