Get prepaid balance
get_balanceThe prepaid balance and the last 20 ledger entries of the key the request carries in its Authorization: Bearer or X-DiffiCat-Key header. Call it to check what a key can still pay for; request_prepaid_key is the way to obtain a key. The balance is spendable money for any key, and the same balance the account spends in the web app; a Pro account’s key also returns allowance (included captured pages shared with the web app, pages used, reset time) and overage (amount this period, cap). Each draw names its surface, web or api. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | ||
| keyId | No | ||
| recent | No | ||
| balance | No | ||
| overage | No | ||
| currency | No | ||
| allowance | No |