Account Activation
Please follow the documentation below on how to activate an user via the API
1) Check If Customer Exists
Conditions:
- If customer exists & activated
is true - proceed to normal login
- If customer exists & activated
is false - proceed to account activation
- If customer DOES NOT exist - proceed to account creation
2) Request Account Verification Use: Send an email/sms with an activation code to verify account ownership
Note: If sending via SMS - the code will be a 5-digit number
- callback
body parameter is the URL to prepend to the activation code in the sent email
- activate_code_sent
- returned when sending an SMS
- activate_link_sent
- returned when sending an email
- activate_code_error
- returned when sending an SMS code has failed
- Email links expire in 24 hours
- SMS codes expire in 1 hour
3A) Verify Activation Code - SMS Use: Verify a previously sent SMS account activation code
3B) Verify Activation Code - Email Use: Verify an activation code sent via email - This would be the page the customer would be sent to from the email link, i.e. “https://somesite.somewhere.com/activate/:activation_code”
4) Set a Password Use: Set a new password on a customer’s account once the activation code is validated