This feature is only available in the Enterprise version

Billing

Get usage billing

Check whether usage-based billing is enabled for the organization.

GET/billing/usage-billing

Check whether usage-based billing is enabled for the organization. When it is, all instances under that organization are charged once they exceed their included usage.

To see usage for one instance, use Get record counts. To enable it, use Enable usage billing.

Enterprise authentication

Send these requests to https://api.cloud.blnkfinance.com on Blnk Cloud. On a self-hosted Enterprise deployment, send them to ENTERPRISE_PUBLIC_URL.

Pass an Enterprise API key, or an OAuth access token, in the X-blnk-key header. Create the key in Enterprise API keys, or issue a token with Enterprise OAuth.

This credential comes from the Cloud or Enterprise workspace. A Core API key belongs to the Core instance.

X-blnk-keystringrequiredheader

Enterprise API key, or an OAuth access token.

Response

usage_billing_enabledboolean

Whether usage-based billing is on for the organization. See Usage-based billing.

usage_billing_enabled_attimestamp

When usage-based billing was enabled for the organization. ISO 8601.