Balance
balanceRemaining sats and the hourly buy limit. maxBuysPerHour and remainingBuysHour are on this result. Do not call this before buying. A paid top-up is credited from the payment event. session_budget_sats sets the session cap up to the saved limit. reset_session starts a new session within that saved limit. Set issue_link_code only when the human asks for a one-time sign-in code. When Lightning payments are temporarily paused, the result includes paymentsPaused and retryAfter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset_session | No | Start a new session. Clears this session spend and restores the session cap to the saved account limit. It does not raise that limit or the daily limit. | |
| issue_link_code | No | Set true only when the human wants a one-time code to attach this balance to another Amazap sign-in. Leave unset for a normal balance check. | |
| session_budget_sats | No | Set the session cap to this many sats, up to the account saved limit. A higher number is refused and nothing changes. A lower cap can be raised again up to that saved limit. (minimum 1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | approval_required, limit_exceeded, or insufficient_balance. | |
| paid | No | ||
| which | No | per_call, per_day, per_session, per_hour_buys, per_minute_calls, or per_minute_sats. | |
| status | No | ||
| message | No | ||
| quoteId | No | ||
| results | No | Search rows when this is a search result. | |
| totalCost | No | ||
| totalSats | No | ||
| approvalUrl | No | Page where the person approves this exact price. |