Get a credit top-up link
credits_purchaseA checkout link for a credit top-up of amountUsd whole US dollars ($1 buys 100 credits). The person confirms and pays on the page it opens; creating the link charges nothing and stores nothing, so calling it twice is harmless. Free.
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": {
"amountUsd": "<amountUsd>"
},
"name": "credits_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amountUsd | Yes | Whole US dollars, 5 to 5000. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||