Buy StoreTechScan Credits
buy_creditsCreate a one-time credit pack checkout for a human to pay in their browser. Show only checkout_url to the human; keep session_id and claim_token with the agent and never put claim_token in a browser URL. After payment, poll claim_purchase every 10–15 seconds for up to 15 minutes. The API key appears only in the claim_purchase tool result, once with a 15-minute same-IP retry grace window. To top up an existing account, authenticate this MCP connection with its Bearer or X-API-Key header before calling.
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": {
"package_id": "<package_id>"
},
"name": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Optional buyer email for checkout. | ||
| package_id | Yes |