factreason_create_topup_link
Generate a Stripe Checkout URL to add prepaid credit to your API key. Use when balance is low or after HTTP 402; return the link to a human to complete payment.
Instructions
Create a Stripe Checkout URL for adding prepaid credit to the calling Bearer API key. This creates an external checkout session but does not charge a card. You CANNOT COMPLETE THE PAYMENT YOURSELF, so return the URL to a human, and credit is applied only after they complete payment. Use after HTTP 402 or when balance is low; the tool itself is not metered.
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": "factreason_create_topup_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amountUsd | Yes | Credit amount in USD; common blocks are 10, 50, and 200 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| created | No | ||
| amountUsd | No | ||
| balanceUrl | No | ||
| checkoutUrl | No | ||
| createKeyUrl | No | ||
| instructions | No |