Send Phone Verification Code
send_phone_verification_codeSend a verification code by SMS or voice call to the phone number on your Porkbun account to clear VERIFICATION_REQUIRED for purchases and top-ups.
Instructions
Text a verification code to the phone number on the user's Porkbun account, to clear VERIFICATION_REQUIRED (purchases and top-ups need a verified phone and email, and new accounts are not asked to verify the phone at signup). Then ask the user for the code they received and call confirm_phone_verification. The number on the account is used; it cannot be chosen or changed here. If the text does not arrive, call again with channel: "call" to have the code read out by phone. A second request within 10 minutes returns codeAlreadySent rather than texting again. Some countries can only verify on the website (PHONE_VERIFY_UNAVAILABLE); up to 5 sends a day. Guide: https://porkbun.com/llms/guides/verify-the-account
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | `sms` (default) or `call` for a voice call. |