Get a payment link for credit
figment_buy_creditReturns a Stripe Checkout link for prepaid credit. Give the link to your user to pay, or pay it with a Link wallet. The first purchase is at least 2500 cents; one purchase is at most 50000 cents. This call takes no money by itself.
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_cents": "<amount_cents>",
"idempotency_key": "<idempotency_key>"
},
"name": "figment_buy_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | The api_key from figment_create_account. Leave out if the MCP connection sends an Authorization header. | |
| amount_cents | Yes | ||
| idempotency_key | Yes | A new random string of 16 to 80 letters, digits, "_" or "-" for each new purchase or order. Send the same string again only to repeat the same request. |