Get the wallet
GET
Returns your personal balance, reserved credit and available credit.
Access: API key: billing:read · Session: any role, own account.
- Available credit is the balance minus reservations. An API key reads its creator's wallet; changing workspaces does not change the wallet owner.
header
AuthorizationBearer <token>Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.
currency?stringDefaults to USD. Both actual balances are always returned.
Value in
"USD""IDR"X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
Wallet
application/json- response
balances?balance*stringheld*stringReserved for servers being created.
available*stringbalance minus held.
currency*stringcurl -X GET 'https://layerbeat.com/v1/billing/wallet?currency=IDR'{ "balance": "50.00", "held": "12.00", "available": "38.00", "currency": "USD"}