hou_tea_get_payment_requirements
Get payment requirements for a tea product purchase via USDC on Base chain. Returns recipient address and amount needed for x402 payment.
Instructions
[core] Initiate an x402 USDC payment intent for a product. Returns HTTP 402-style payment requirements (recipient address, amount, Base chain network). Auto-includes buyer order grouping (register_buyer_list_token or env HOU_TEA_BUYER_LIST_TOKEN). The wallet MCP MUST POST the identical buy_request_body on retry plus header X-Payment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_name": "<product_name>",
"unit_price": "<unit_price>"
},
"name": "hou_tea_get_payment_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_name | Yes | ||
| unit_price | Yes | Decimal string e.g. '30.00' | |
| quantity | No |