Usage Billing State
Changed onRead the caller's usage-billing credit state for a product.
A user who has never topped up reads as an empty wallet: available_units and available_amount are 0, is_settled_low_balance is true, and usage_block_reason is insufficient_credit. There is no separate "no account" answer, because both states send the user to the same top-up screen.
Request
- Base URLhttps://api.todoist.com
- URLhttps://api.todoist.com/api/v1/usage_billing/state
- Authnone declared
Query parameters
Product whose credit state to read.
Response
Successful Response
Example response
{
"available_units": 4186300,
"available_amount": 8372600,
"settled_units": 4186300,
"settled_amount": 8372600,
"currency": "usd",
"usage_allowed": true,
"is_settled_low_balance": true
}Changes
- warning
added the new
billing_pausedenum value to the/response property for the response status - warning
added the new
plan_requiredenum value to the/response property for the response status
- warning
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info