API

Currency

A currency Wise allows for transfers.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /currencies list List of currencies allowed for transfers

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

currencys, err := client.Currency(nil).List(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(currencys)

Lua

Construct client as shown in the Lua setup, then call the operations:

local currencys, err = client:Currency():list()

PHP

Construct client as shown in the PHP setup, then call the operations:

$currencys = $client->Currency()->list();

Python

Construct client as shown in the Python setup, then call the operations:

currencys = client.Currency().list()

Ruby

Construct client as shown in the Ruby setup, then call the operations:

currencys = client.Currency.list()

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const currencys = await client.Currency().list()

Fields

Field Type Required Description
code string No Currency code (ISO 4217 Alphabetic Code).
countryKeywords array No Keywords associated with this currency.
name string No Display name of this currency.
supportsDecimals boolean No Whether this currency supports decimal values or not.
symbol string No The symbol of this currency.

list

GET /currencies

Operation ID: currenciesGet.

Authentication: bearer token (UserToken) or bearer token (PersonalToken).

Parameters

Parameter In Type Required Description
Accept-Language header string No Locale code for localizing currency names (for example de, fr, ja). Defaults to en (British English) if omitted or unsupported. See Language Support for the full list of supported languages.
X-External-Correlation-Id header string (uuid) No Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Responses

200: List of currencies allowed for transfers

application/json

Property Type Required Description
[].code string No Currency code (ISO 4217 Alphabetic Code).
[].countryKeywords array of string No Keywords associated with this currency.
[].name string No Display name of this currency.
[].supportsDecimals boolean No Whether this currency supports decimal values or not.
[].symbol string No The symbol of this currency.

Example response:

[
  {
    "code": "AUD",
    "countryKeywords": [
      "AUD",
      "AU",
      "Australia",
      "aus"
    ],
    "name": "Australian dollar",
    "supportsDecimals": true,
    "symbol": "A$"
  },
  {
    "code": "JPY",
    "countryKeywords": [
      "JPY",
      "JP",
      "Japan",
      "jpn"
    ],
    "name": "Japanese yen",
    "supportsDecimals": false,
    "symbol": "¥"
  }
]
429: Rate limit exceeded. Retry after the number of seconds specified in the Retry-After header

application/json

The response is object.