Confirm Phone Verification
confirm_phone_verificationSubmit the phone verification code to confirm the account's number, then retry any operation that failed with VERIFICATION_REQUIRED.
Instructions
Verify the account's phone number with the code the user received from send_phone_verification_code. On success, retry what failed with VERIFICATION_REQUIRED; emailVerified: false in the response means the email still needs verifying, which the user does by clicking the link in the verification email (resendable from account settings on porkbun.com). PHONE_CODE_INVALID means a wrong or expired code: check it with the user, or send a new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code the user received, exactly as texted (case does not matter). |