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#
The method of resending the access code
The customer phone number
The customer country code
Response#
resend_counter
enum<number>
requiredUsage#
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. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20