Get currencies
GEThttps://mtls.doconomy.com/transaction/v3.0/currencies
Get the currencies that are accepted by the transaction API.
Request
Query Parameters
page number
Pagination page to start on
pageSize number
Pagination page size to use
Responses
- 200
- 401
- 403
- 405
- 500
Currencies response
- application/json
- Schema
- Example (from schema)
Schema
page numberrequired
totalItemCount numberrequired
totalPageCount numberrequired
previousPage string
nextPage string
items
object[]
required
{
"page": 0,
"totalItemCount": 0,
"totalPageCount": 0,
"previousPage": "string",
"nextPage": "string",
"items": [
{
"code": "SEK",
"name": "string"
}
]
}
Unauthorized client
Insufficient scope for accessing this resource
- application/json
- Schema
- Example (from schema)
Schema
errors
object[]
required
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}
Method not allowed
- application/json
- Schema
- Example (from schema)
Schema
errors
object[]
required
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}
Unexpected server error
- application/json
- Schema
- Example (from schema)
Schema
errors
object[]
required
{
"errors": [
{
"source": "string",
"reasonCode": "string",
"description": "string",
"recoverable": false
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://mtls.doconomy.com/transaction/v3.0/currencies' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'