Root
OtpPurpose
Section titled “OtpPurpose”Why a one-time code is being sent.
Chooses the message template and the rate-limit budget. Separated because they are not interchangeable: a buyer confirming an order should not spend the sign-in budget, and a sign-in message should not read like a confirmation.
| Value | Meaning |
|---|---|
SIGN_IN | Signing in, or creating an account by signing in for the first time. |
CONFIRM_ACTION | Confirming an action that is already authenticated. |