Billing
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
workspace_id * |
string | |
plan * |
WorkspacePlan | |
plan_fee * |
Money | |
included_usage |
Money | |
payment_method |
object or null | |
credit_balance |
Money | |
next_invoice_estimate |
Money | |
vat_number |
string or null | |
status |
ok, past_due, unpaid |
* always present
Example
Section titled “Example”{ "workspace_id": "string", "plan": "trial", "plan_fee": { "amount": "7.42", "currency": "GBP", "display": "£7.42" }, "included_usage": { "amount": "7.42", "currency": "GBP", "display": "£7.42" }, "payment_method": { "brand": "string", "last4": "string", "exp_month": 1, "exp_year": 1 }, "credit_balance": { "amount": "7.42", "currency": "GBP", "display": "£7.42" }, "next_invoice_estimate": { "amount": "7.42", "currency": "GBP", "display": "£7.42" }, "vat_number": "string", "status": "ok"}