Save personal billing currency
Saves USD or IDR as your default billing currency across devices and workspaces.
Access: User session. API keys aren't supported.
- IDR must be enabled. Changing the default does not exchange credit or alter existing purchases and payments.
- Browser requests need the Layerbeat origin and
X-CSRF-Token.
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.
application/json- body
currency*string"USD""IDR"Saved personal currency preference
application/json- response
currency*stringEffective personal billing currency. USD is used if IDR accounting is unavailable.
"USD""IDR"saved_currency*|Explicit personal choice; null means no choice has been saved yet.
"USD""IDR"nullsource*string"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.
^[0-9]+$supported_currencies*array<>1 <= itemscurl -X PATCH 'https://layerbeat.com/v1/me/preferences' \ -H 'Content-Type: application/json' \ -d '{ "currency": "IDR"}'{ "currency": "IDR", "saved_currency": "IDR", "source": "user", "idr_per_usd": "16000", "supported_currencies": [ "USD", "IDR" ]}