List currencies
Lists every supported currency with its current rate to USD.
Lists every supported currency with its current rate to USD.
Returns { currencies }, the whole list without paging. Use a currency's code wherever a
request takes a currency, and its id as currencyId when creating a wallet.
rateToUsd is the USD value of one unit of the currency, as of rateDate.
PartnerApiKeyX-Partner-Key<token>Partner API Key (X-Partner-Key)
OK
- response
Every supported currency.
currencies*array<>The currencies.
curl -X GET 'https://api.sandbox.openroam.com/v1/currencies'{ "currencies": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "rateToUsd": 0, "rateDate": "2019-08-24T14:15:22Z", "dailyPercentageDifference": 0 } ]}Update a wallet PATCH
Renames a wallet or changes its low-balance threshold. Only the members in the body change; a member left out keeps its value. Send at least one member: an empty body returns `400` with code `10001` and `REQUIRED` at `$`. `label` cannot be `null` or blank (`INVALID_VALUE` at `label`); `lowBalanceThreshold: null` clears the threshold. The wallet id comes from the route only: any other member, such as `walletId`, returns `400` with code `10001` at its path. A label already used by another of the partner's wallets, ignoring case, returns `400` with code `17001` (`WALLET_LABEL_ALREADY_EXISTS`); an unknown wallet returns `404` with code `10004`.
List countries GET
Lists every country and territory with its codes, English name, calling code and flag. Returns `{ items }`, the whole list ordered by `countryCode`, without paging. `countryCode` is the ISO 3166-1 alpha-2 code every service filters and reports by. The endpoint takes no query parameters; an unknown parameter returns `400` with code `10001`.