Grant test credit
fundGrant TEST/development credit directly to the authenticated account; returns {Funded:{balance_micros}}. Admitted only where the platform's test credit mint is on (the front's [commerce] test_credit_mint); elsewhere it answers Rejected (TEST_CREDIT_MINT_DISABLED), grants nothing, and names the account's top-up page -- credit is bought there, through billing_portal. This is NOT a card payment: real human top-ups use billing_portal, then Stripe's hosted checkout. F-17 remains the precondition before credit denominates real money.
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": {
"micros": "<micros>"
},
"name": "fund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| micros | Yes |