Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

Currency

Currency

List foreign currencies

get
/tenants/{tenantUid}/currencies

List foreign currencies.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

Responses
200

Example response

application/json
get
/tenants/{tenantUid}/currencies
200

Example response

Add currency

post
/tenants/{tenantUid}/currencies

Add a currency with exchange rate. Currency codes follow the ISO 4217 standard. Exchange rates are entered as integers in cents (2 decimals).

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
currencyUidstringOptionalPattern: ^[A-Za-z0-9-_]*
currencyCodestringRequired

ISO 4217 standard

exchangeRateintegerRequired

in cents (2 decimals)

Responses
post
/tenants/{tenantUid}/currencies
201

Example response

Get currency

get
/tenants/{tenantUid}/currencies/{currencyUid}

Get a currency.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
currencyUidstringRequired

Key to currency

Responses
200

Example response

application/json
get
/tenants/{tenantUid}/currencies/{currencyUid}
200

Example response

Update currency

put
/tenants/{tenantUid}/currencies/{currencyUid}

Update a currency.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
currencyUidstringRequired

Key to currency

Body
currencyCodestringOptional

ISO 4217 standard

exchangeRateintegerOptional

in cents (2 decimals)

Responses
200

Example response

application/json
put
/tenants/{tenantUid}/currencies/{currencyUid}
200

Example response

Delete currency

delete
/tenants/{tenantUid}/currencies/{currencyUid}

Delete a currency.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
currencyUidstringRequired

Key to currency

Responses
delete
/tenants/{tenantUid}/currencies/{currencyUid}
204

No Content

No content

Last updated

Was this helpful?