Sends a one-time password (OTP) code to the customer's email address for verification. The OTP code is valid for a limited time and can only be used once. Rate limited to 3 requests 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
- Production environment serverhttps://api.banxa.com/eapi/v0/verifications/otp
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/verifications/otp
Send OTP code to customer's registered email address
curl -i -X POST \
https://docs.banxa.com/_mock/products/native-api/openapi/eapi/v0/verifications/otp \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"identityReference": "customer-12345",
"email": "[email protected]"
}'Response
{ "message": "OTP sent successfully" }