Artigos de Verification Codes (OTP)
Verification Codes (OTP) 1,142
Sending one-time codes (OTP) by SMS safely: expiry, attempt limits and logs
The short answer (for developers): a code sent by SMS is only as safe as the code around it. The rules: generate it...
Verification Codes (OTP) 345
Verification codes by SMS through our API: a practical guide for your site or app
The short answer: your site or app creates the code, saves it and checks it; our API sends the SMS. One POST...
Verification Codes (OTP) 97
SMS verification API: we generate, send and check the code, and your system keeps only the id
The short answer: with our verification API, your system does not have to create, store or compare codes. It sends...
Verification Codes (OTP) 115
Your own codes or our verification API: which way to send SMS codes from your system
The short answer: there are two ways. In the first, your system creates the code, stores it hashed, counts the...
Verification Codes (OTP) 132
Confirming a phone number at sign-up with an SMS code, step by step
The short answer: at sign-up, ask for the number, send a code with POST /v1/sms/otp and only mark the number as...
Verification Codes (OTP) 83
Two-step login with an SMS code on your own site or app
The short answer: once the password is right, your site sends a code to the customer's already confirmed phone and...
Verification Codes (OTP) 94
Confirming payments, withdrawals and transfers with an SMS code: one code per operation
The short answer: before approving a payment, a withdrawal or a transfer, send a code to the customer's phone and...
Verification Codes (OTP) 101
Confirming bookings, check-ins and deliveries with an SMS code
The short answer: an SMS code confirms that the person making the booking, checking in or receiving the order is...
Verification Codes (OTP) 163
Changing a customer's phone number safely: confirm the new number before saving it
The short answer: when a customer changes the mobile number on their account, send a code to the new number and only...
Verification Codes (OTP) 129
Code length, validity and attempts: choosing length, expires_in and max_attempts
The short answer: three fields decide how each code behaves: length (4 to 8 digits, 6 by default), expires_in (1 to...
Verification Codes (OTP) 104
Verification code statuses: pending, verified, expired, failed and cancelled
The short answer: every code has a status, returned in the status field of every response: pending (waiting),...
Verification Codes (OTP) 106
Resending, cancelling and replacing a verification code: what happens to the old one
The short answer: to send the customer another code, use POST /v1/sms/otp/{id}/resend: a new code goes out under the...
Verification Codes (OTP) 97
Limits against abuse: codes per number per hour and the wait between resends
The short answer: your account has two rules for verification codes, and by default both are off (value 0):...
Verification Codes (OTP) 98
SMS fraud through your code form: how credits get burnt and how to stop it
The short answer: to an abuser, a form that sends SMS codes is a button that spends your credits. Bots type numbers...
Verification Codes (OTP) 132
Code-sharing scams: protecting your customers from people who ask for their SMS code
The short answer: an SMS code only protects while it stays on the customer's phone. The most common scam does not...
Verification Codes (OTP) 107
Testing SMS verification in the Sandbox: the code comes back in the response
The short answer: with a sandbox_ key, the verification API does everything except send: it checks the data, creates...
Verification Codes (OTP) 112
Writing the verification SMS: the code placeholder, your Sender ID and staying in one part
The short answer: the text field takes your own wording, up to 300 characters, with {code} once (that is where the...
Verification Codes (OTP) 123
How much SMS verification costs: credits per code, free checks and a monthly estimate
The short answer: each code uses the credits for its SMS, usually one, and checking it costs nothing. The price of...
Verification Codes (OTP) 143
The code entry screen: the field, a countdown, attempts left and clear messages
The short answer: the code screen is where verification either works or loses the customer. It needs four things: a...
Verification Codes (OTP) 114
The SMS verification code did not arrive: what to check, on your side and the customer's
The short answer: when a customer says the code did not arrive, check your own side first: the key (a Sandbox key...
Verification Codes (OTP) 134
Adding SMS verification to your site: PHP, Node.js and Python examples
The short answer: it takes two POST requests with JSON and the key in the Authorization: Bearer header: one to...
Verification Codes (OTP) 117
Reading the verification API's answers: valid false, 409, 422 and 429
The short answer: in the verification API, a wrong code is not an error: the check answers 200 with valid: false....





