GroundsocialDocs

API · Dashboard billing

GET /accounts/{id}/billing

Balance, payment history, auto top-up and the low-balance alert.

RequestGET /v1/accounts/{id}/billing
Operation idaccounts.billing
CostFree
AuthDashboard session: Authorization: Bearer <session_token>. API keys are refused.

Path parameters

NameTypeRequiredDescription
idstringyesExample: acct_01J….

Responses

StatusMeaningSchema
200Billing.AccountBilling
401Not signed in, or an API key was sent.Error
404No such account among yours.Error

AccountBilling fields

FieldTypeDescription
balanceinteger
card_paymentsbooleanWhether this server takes cards.
low_balance_alert_creditsinteger | null
auto_topupAutoTopup
paymentsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.