billing.plan
The current plan.
Reference
GET/api/v1/billing/plan
- Auth
- API key in
X-API-Key - Content
- none
- Returns
- 200 · Response Get Plan Api V1 Billing Plan Get
Every plan on sale, what each includes, and which one this account is on. The prices come from the plans table and are returned rather than hardcoded in the client, because a screen quoting a figure the server would not collect is the class of bug the create-agent wizard already had. ``gross_paise`` is what the bank will actually be told to take: an export account with an LUT on file is charged the net figure, everyone else pays it plus GST. Null rather than guessed when the profile cannot be taxed, so the screen says "complete your billing details" instead of quoting a number that changes at the card form.
Arguments
This method takes no arguments.
Example request
curl -X GET "https://api.decibyl.ai/api/v1/billing/plan" \
-H "X-API-Key: dcb_your_key"Response
{}Errors
| Status | When |
|---|---|
404 | Not found |
422 | Validation Error |