Get a key or add credit
buy_creditStarts a purchase of prepaid credit and returns checkout_url, where a person pays, and claim_url, which returns the key once paid. With a key, the credit is added to that key. Nothing is charged by this call.
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_usd": "<amount_usd>"
},
"name": "buy_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_usd | Yes |