Read the caller's branch currency
Any signed in user. Returns the currency this till formats money in, plus its rate. The branch comes from the session, not the query string, so there is no branch_id to forge.
GET
/api/v1/currency/branchAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Responses
200
The branch currency and its rate
currency_codestringrequiredbase_currency_codestringrequirednamestringrequiredsymbolstringrequiredexponentintegerrequiredmin -9007199254740991 · max 9007199254740991
ratenumberrequiredrate_idstring | nullrequiredeffective_atstring | nullrequiredis_stalebooleanrequiredage_daysinteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
null400
No exchange rate is filed for this branch currency
detailstringrequired401
Not authenticated
detailstringrequired