buy_phone_number
Rent one of the numbers from search_phone_numbers for this workspace, so the user has a number to register with WhatsApp. Call this ONLY with a number the user explicitly chose from search_phone_numbers results, after telling them the monthly price. Returns { checkout_url, phone_number, monthly_price_cents, instructions }: give the user checkout_url — nothing is bought and nothing is charged until they complete that Stripe checkout. Afterwards call list_phone_numbers; the number is usable once its status is active, and then whatsapp_connect_link hands over the signup link with no further phone-number confirmation needed. In Meta's signup the user must verify the number by Phone call, not SMS: we answer the call and email them the code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO-2 country it was found in | |
| number_type | No | ||
| phone_number | Yes | E.164 number from a search_phone_numbers result, e.g. +14155550100 |