Buy play money with USDC on Base (x402)
kellian_buy_play_moneyBuy PM (Kellian play money) with USDC on Base. Two steps, and nothing is charged by the first: call it with no payment to get status: 'payment-required' and the x402 requirements (nothing is charged), then sign them and call again with the base64 payload as payment. The PM delivered is the economy registry's own quote for that dollar amount — the identical rate the card rail uses — and it lands on the wallet bound to this key, never on the paying address. PM has no cash value and cannot be redeemed or withdrawn.
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": {
"usd": "<usd>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "kellian_buy_play_money"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd | Yes | US dollars to spend. Must equal one of the listed purchase bundles. | |
| payment | No | Base64 x402 payment payload — the value an HTTP caller sends as the X-PAYMENT header. Omit it on the first call to receive the requirements to sign. | |
| idempotencyKey | Yes | Stable retry key. Reuse only with byte-equivalent tool arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |