Currencies API

List currencies

GET /currency
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • name
  • round_factor
  • id

The following scopes are needed:

  • general
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 136
Content-Type: application/json
[
  {
    "id": 1,
    "name": "CHF",
    "round_factor": "0.050"
  },
  {
    "id": 2,
    "name": "EUR",
    "round_factor": "0.010"
  },
  {
    "id": 3,
    "name": "USD",
    "round_factor": "0.010"
  }
]

Search currencies

POST /currency/search
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
[
  {
    "field": "name",
    "value": "EUR"
  }
]
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • id
  • name
  • round_factor
Name Required Type Description
name optional string
round_factor optional string

The following scopes are needed:

  • general
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 46
Content-Type: application/json
[
  {
    "id": 2,
    "name": "EUR",
    "round_factor": "0.010"
  }
]

Show currency

GET /currency/1
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
callback optional string Javascript callback

The following scopes are needed:

  • general
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 44
Content-Type: application/json
{
  "id": 1,
  "name": "CHF",
  "round_factor": "0.050"
}