Create Checkout Session
create_checkoutCreate a Coal checkout session to pay for a product or amount. Settles in USDC on Base (~2s). Returns a checkout URL. Needs a Coal API key — set once via Claude config header X-Coal-Api-Key:YOUR_KEY, or pass per-call as coalApiKey. Get one at https://usecoal.xyz/console/keys.
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": {
"amount": "<amount>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in USD | |
| productId | No | Optional Coal product ID | |
| coalApiKey | No | Your Coal API key (optional if X-Coal-Api-Key header is set) | |
| description | No | Payment description | |
| productName | No | Product name for the checkout page |