Resend
resend
endpoint is simply to re-send the access code to the customer if it was not received correctly. The customer is given 30 seconds to enter the received access code, so if there was an issue with receiving the access code, another new code may be re-sent.TIP
Payload
ResendPayload
type
enum<string>
ResendPayload.resend_by
Allowed values:
smsemail
phone
string
ResendPayload.phone
country_code
string
ResendPayload.country_code
Default:
SA
email
string
optional
Response
Success
Error
auth.resend.success
success
boolean
success
status
enum<number>
status
Allowed values:
200201202
data
object
data
resend_counter
enum<number>
resend_counter
Allowed values:
234
Usage
resend()
method passes a request for a new access code to the customer.Mobile
Email
The method may pass the phone number and country code to where the new access code should be sent.
Events
onCodeSent
onCodeNotSent
Modified at 2025-03-04 12:54:02