Billing
Get billing overview
Return payment method, upcoming charge, and active subscriptions for the organization.
GET
Use this to see for what you will be charged: payment method, next charge, and active subscriptions.
For plan status and renewal, use Get billing status.
Authorization
Blnk Cloud APIs support any one of the following authentication methods. All of them work with yourCLOUD_API_KEY or OAUTH_ACCESS_TOKEN.
Pass X-blnk-key: CLOUD_API_KEY or X-blnk-key: OAUTH_ACCESS_TOKEN.
Response
string
Billing email.
string
Organization or account name.
object
Billing address.
object
Payment method summary.
brand can be a card network or a wallet such as Link. Some methods return empty last4 and 0 expiry.integer
Unix timestamp (seconds) for the next charge.
integer
Upcoming charge in the smallest currency unit. In the sample,
10000 is $100.00 USD across both subscriptions.string
ISO currency code, such as
usd.integer
Current monthly spend in the smallest currency unit.
integer
Number of active plan subscriptions (
type is plan).integer
Number of active deployment subscriptions (
type is deployment).boolean
Whether a payment method is on file.
integer
Available credit in the smallest currency unit.
integer
Outstanding balance in the smallest currency unit.
array
Active subscriptions.