Twilio is used for SMS operator notifications, phone number collection for compliance, and 1-confirmation redemptions on cash-out transactions.
You'll need to configure Twilio if you're offering cash-out or any compliance options.
Creating an account
To configure, first sign up for a Twilio account.
During signup, you'll verify your email address and personal phone number. (This won't be the number used for sending, rather, you'll obtain a new number through Twilio dedicated to outgoing messages.)
You'll need to answer a couple of questions to personalize your experience, though don't worry as you still will have access to all the Twilo products.
Create a project
Once verified, you can skip the intro and jump straight to your dashboard. Go to the top-left menu and click 'Create a project'.
You'll be prompted to name your project, then to verify your account and answer the same questions again as this is a new project.
You'll then end up at the Dashboard.
Upgrade your account
⚠️ IMPORTANT: In order for your machine to send SMS messages to your customers, you'll need to upgrade your account by adding your company address, billing address, payment information, initial funds, and turning on automatic recharges.
Click the blue 'Upgrade Project' button and follow the instructions.
Obtaining a number
Once upgraded, obtain a Twilio phone number. Go back to your Dashboard, scroll down and click the 'Get a Number' button. Ensure that you choose a number that is listed as capable of SMS (not all are).
Take note of this number for later.
⚠️ IMPORTANT: Enable Geo Permissions for any and all countries you expect your cusomers' numbers to be primarily from. This allows SMS messages to be sent to them.
Phone numbers in countries that are unchecked will not be able to receive confirmation codes.
Within Twilio's 'General Settings', copy down the 'Account SID' and 'Auth Token' from the 'LIVE Credentials' box (not the 'TEST Credentials').
Enter the credentials in the Twilio panel of the admin under 'Third party services'.
The From number (Twilio number) is the phone number you purchased from Twilio.
The To number (Notifications number), is your personal number for when/if you enable SMS notification.
Both must be filled in, and in international format (+, followed by the country code, followed by the number).
See this artlce to enable SMS notifications.
See this article to configure SMS compliance.
See this article to configure SMS for cash-out.