This 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.The resend endpoint has been implemented in the Login Web Component, and It's all setup to save developer's time and effort. Payload#
Response#
Usage#
The resend()
method passes a request for a new access code to the customer.The method may pass the phone number and country code to where the new access code should be sent.
Events#
This endpoint may trigger two events, the onCodeSent and onCodeNotSent events.onCodeSent#
This event is triggered when the new access code generation has been done without having any errors back from the backend.onCodeNotSent#
This event is triggered when the new access code generation has failed, and no new access code has been sent to the customer. Modified at 2025-03-04 12:54:02