Billing
List plans
List both credit ladders: monthly plans and one-time packs.
api.leadity.io/v1/billing/plansreadMCP tool list_plansLists every plan Leadity sells, both ladders: monthly plans, whose credits last 30 days from each payment, and one-time packs, whose credits never expire. Pass a plan's sku to create_checkout to get a link a person can pay at. An account with a monthly plan can also add credits to it with create_top_up_checkout, in the amounts topUp names.
Headers
Bearer, a space, then an API key: Bearer lk_api_... An MCP key is refused here with wrong_key_kind.
Response
The monthly ladder, smallest first.
Show child attributesHide child attributes
The plan's sku, which create_checkout takes: monthly_pack_<credits> or one_time_pack_<credits>.
monthly renews every 30 days and its credits expire 30 days after each payment; one_time is bought once and never expires.
One ofmonthlyone_time
Credits the plan grants per payment.
The price in US cents.
The price as printed, e.g. $19.
The bulk discount against the smallest rung of the same ladder, in percent.
On a one-time rung, what subscribing at the same size saves, in percent. 0 on a monthly rung.
Extra credits on the account's first purchase of this rung. 0 when none is offered.
The one-time ladder, smallest first.
Show child attributesHide child attributes
The plan's sku, which create_checkout takes: monthly_pack_<credits> or one_time_pack_<credits>.
monthly renews every 30 days and its credits expire 30 days after each payment; one_time is bought once and never expires.
One ofmonthlyone_time
Credits the plan grants per payment.
The price in US cents.
The price as printed, e.g. $19.
The bulk discount against the smallest rung of the same ladder, in percent.
On a one-time rung, what subscribing at the same size saves, in percent. 0 on a monthly rung.
Extra credits on the account's first purchase of this rung. 0 when none is offered.
The amounts create_top_up_checkout takes, for an account with a monthly plan.
Show child attributesHide child attributes
The smallest top-up, in credits.
The largest top-up one purchase may be, in credits.
Every top-up is a whole multiple of this many credits.
Errors
Every refusal answers { error, message } with the status below. The full list is on the Errors page.
| Code | Status | Meaning | Extra fields |
|---|---|---|---|
| unauthorized | 401 | The API key is missing, malformed, revoked or expired. | - |
| wrong_key_kind | 401 | This key opens the other surface: an API key works on the HTTP API, an MCP key on the MCP server. | - |
| account_suspended | 403 | The account is suspended. | - |
| email_not_verified | 403 | The account's email address is not verified yet. | - |
| rate_limited | 429 | Too many requests. Wait for the Retry-After seconds and try again. | retryAfterSeconds: The seconds to wait, the same number as the Retry-After header. |
| try_again | 503 | Leadity could not answer just now. Retry in a moment, with the same Idempotency-Key on a spending call. | retryAfterSeconds: When a request with this Idempotency-Key is still being processed: the seconds to wait before retrying with the same key, as the Retry-After header says. |
| internal_error | 500 | Something failed on our side. Nothing was charged twice. | body: On the MCP server, when Leadity answered in a shape the tool does not publish: that answer as it came. |