buy_product
Buy a gift card, service top-up or travel eSIM and receive the delivery. Paid in USDC on Base (x402), no account and no browser. Call it twice: first with the order arguments to get payment requirements and an order_id (nothing is charged), then with that order_id plus the signed x402 payment payload to settle and receive the code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Delivery address. The code, eSIM profile or number is emailed here, and it is the only identity the order has. Required on the first call. | ||
| amount | No | Only for products where get_product reported requires_amount; send instead of item_id. | |
| item_id | No | Denomination id from get_product items[]. | |
| order_id | No | Second call only: the order_id returned by the first call. | |
| quantity | No | Copies to buy. Defaults to 1 — send it only to buy several. | |
| product_id | No | Product id from search_catalog. | |
| product_type | No | giftcard = voucher, topup = service recharge. eSIM data plans from search_catalog are bought as giftcard too — the value names the order shape, not the goods. | |
| account_number | No | Only for products where get_product reported requires_account: the recipient account the top-up credits. | |
| payment_payload | No | Second call only: the signed x402 PaymentPayload built from the requirements the first call returned. |