Get wallet accounts
GET/accounts
Get accounts
Request
Query Parameters
Filter by customer
Get account for specific currency
Responses
- 200
- 400
- 404
- 500
- 503
OK
- application/json
- application/xml
- Schema
- Example (from schema)
- ACCOUNTS
Schema
Array [
]
Possible values: <= 20 characters
Account id.
Possible values: <= 20 characters
Possible values: <= 40 characters
Possible values: >= 3 characters
and <= 3 characters
Currency alphabetic code as specified by ISO 4217
Amount in minor units
Amount in minor units
IBAN associated with this account.
Possible values: <= 20 characters
Possible values: <= 40 characters
DKK account number.
Possible values: <= 20 characters
DKK bank code.
[
{
"id": "string",
"customerId": "5435323362",
"externalId": "string",
"currencyCode": "EUR",
"totalBalance": 0,
"availableBalance": 0,
"iban": "string",
"bic": "string",
"accountNumber": "string",
"bankCode": "string",
"creationTime": "2019-08-24T14:15:22Z",
"hasIban": true
}
]
[
{
"id": "509876034",
"customerId": "5435323362",
"currencyCode": "GBP",
"totalBalance": 55000,
"availableBalance": 50000,
"iban": "NL74ABNA1231242344",
"creationTime": "2019-08-24T14:15:22Z",
"hasIban": true,
"bic": "ABNANL2A"
}
]
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: <= 20 characters
Account id.
Possible values: <= 20 characters
Possible values: <= 40 characters
Possible values: >= 3 characters
and <= 3 characters
Currency alphabetic code as specified by ISO 4217
Amount in minor units
Amount in minor units
IBAN associated with this account.
Possible values: <= 20 characters
Possible values: <= 40 characters
DKK account number.
Possible values: <= 20 characters
DKK bank code.
<0>
<id>string</id>
<customerId>5435323362</customerId>
<externalId>string</externalId>
<currencyCode>EUR</currencyCode>
<totalBalance>0</totalBalance>
<availableBalance>0</availableBalance>
<iban>string</iban>
<bic>string</bic>
<accountNumber>string</accountNumber>
<bankCode>string</bankCode>
<creationTime>2019-08-24T14:15:22Z</creationTime>
<hasIban>true</hasIban>
</0>
Bad Request
- application/json
- Schema
- Example (from schema)
- INVALID_CUSTOMER_ID
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-CUSTOMER-ID-SHOULD-BE-VALID",
"message": "CustomerId is not supported",
"details": [
"CustomerId should be a valid value"
]
}
}
Not found
- application/json
- Schema
- Example (from schema)
- NOT_FOUND
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "5269",
"message": "Entity not found",
"details": [
"The ID(s) specified in the URL do not correspond to the values in the system."
]
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- INTERNAL_SERVER_ERROR
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-INTERNAL-SERVER-ERROR",
"message": "Internal Server Error",
"details": [
"There was an error while processing the operation"
]
}
}
Service Unavailable. Please try again later.
- application/json
- Schema
- Example (from schema)
- SERVICE_UNAVAILABLE
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-SERVICE-UNAVAILABLE",
"message": "Service Unavailable",
"details": [
"Service Unavailable"
]
}
}