Send OTP
Send response
pinId on your server. Ask the customer for the code, then call verify.
Verify OTP
pin, otp, or code.
Logs
Billing
- Sending an OTP consumes SMS balance after the gateway accepts the request.
- Verification does not consume SMS balance.
- Failed sends, incorrect PINs, and expired PINs are logged for debugging.
Best practices
- Store
pinIdserver-side. - Do not trust OTP verification done in browser-only code.
- Rate limit signup/login forms before calling the OTP API.
- Do not expose the OTP token in mobile apps.