Billing
Org balance + recent transactions
Command line
The orl CLI wraps this endpoint:
orl billing balance getAuthorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
In: header
Path Parameters
orgId*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/billing/balance"{ "balanceCents": 12550, "availableCents": 10430, "accruedUsageCents": 2120, "currentMonthUsageCents": 2120, "monthlySpendLimitCents": null, "transactions": [ { "id": "txn_01hzy3", "type": "stripe_deposit", "source": "stripe", "amountCents": 10000, "description": "Card deposit", "createdAt": "2026-06-28T14:03:22Z" } ]}Overview
Prepaid balance, saved cards, deposits, and auto-recharge.
Start saving a card (Stripe SetupIntent for inline Elements) POST
Returns the SetupIntent client secret the inline Elements form confirms. This operation deliberately takes NO request body, including for device intelligence: oapi-codegen decodes a declared body unconditionally even when it is optional, so adding one would fail every existing client that posts none with a 400 and block card saves. The card-save surface records its device through POST /v1/orgs/{orgId}/device instead.