Get personal billing currency
GET
Returns your saved billing currency.
Access: User session. API keys aren't supported.
- An Indonesia location hint can suggest IDR before you choose a preference. It does not restrict your choice.
- VPS prices come from the catalog. The returned accounting reference does not convert your balances or set retail prices.
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.
X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
Personal currency preference
application/json- response
currency*stringEffective personal billing currency. USD is used if IDR accounting is unavailable.
Value in
"USD""IDR"saved_currency*|Explicit personal choice; null means no choice has been saved yet.
Value in
"USD""IDR"nullsource*stringValue in
"user""location""default"idr_per_usd*|Reviewed internal supplier and referral accounting reference. Never use it to calculate native catalog retail or convert wallet balances. Null when IDR accounting is unavailable.
Match
^[0-9]+$supported_currencies*array<>Items
1 <= itemscurl -X GET 'https://layerbeat.com/v1/me/preferences'{ "currency": "IDR", "saved_currency": "IDR", "source": "user", "idr_per_usd": "16000", "supported_currencies": [ "USD", "IDR" ]}