setup_billing
Set up pay-per-use billing with a Stripe payment method. A stored card grants no API credit; fund usage with credits or explicitly authorized API postpay allowance. Pass a Stripe payment method token (pm_xxx) obtained from Stripe.js or Stripe Elements.
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": {
"payment_method_id": "<payment_method_id>"
},
"name": "setup_billing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_method_id | Yes | Stripe payment method token (pm_xxx) from Stripe.js or Elements |