Get single wallet account
GET/v2/customers/:customerId/accounts/:accountId
Retrieve the account with the provided id.
Request
Path Parameters
Account id.
Responses
- 200
- 400
- 404
- 500
- 503
OK
- application/json
- Schema
- Example (from schema)
- ACCOUNT
Schema
Array [
- SEPA_BANK_ACCOUNT
- UK_BANK_ACCOUNT
- US_BANK_ACCOUNT
]
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
virtualInstrument
object[]
instrumentType
string
required
Possible values: [SEPA_BANK_ACCOUNT
, UK_BANK_ACCOUNT
, US_BANK_ACCOUNT
]
Instrument type.
The International Bank Account Number (IBAN) of the account.
The Bank Account Bank Identifier Code (BIC) code. Also known as SWIFT code.
A bank account number.
Use our sort code checker to easily find and check UK sort codes.
Possible values: >= 4 characters
and <= 17 characters
This is the bank account number.
Possible values: >= 9 characters
and <= 9 characters
For USD accounts, this is the 9-digit routing number of the bank.
Possible values: [ACTIVE
]
Instrument status.
virtualAccountAssignmentStatus
object[]
Possible values: [SEPA_BANK_ACCOUNT
, UK_BANK_ACCOUNT
, US_BANK_ACCOUNT
]
Instrument type.
Possible values: [ACCEPTED
, PENDING
, COMPLETED
, REJECTED
, FAILED
]
Status of the virtual payment instrument request.
Additional information for the current status of the virtual payment instrument request.
Create a virtual banking account for this e-money account.
{
"id": "string",
"customerId": "5435323362",
"externalId": "string",
"currencyCode": "EUR",
"totalBalance": 0,
"availableBalance": 0,
"virtualInstrument": [
{
"instrumentType": "SEPA_BANK_ACCOUNT",
"status": "ACTIVE"
}
],
"virtualAccountAssignmentStatus": [
{
"instrumentType": "SEPA_BANK_ACCOUNT",
"requestDate": "2019-08-24T14:15:22Z",
"lastChangeDate": "2019-08-24T14:15:22Z",
"status": "COMPLETED",
"statusReason": "Request has been denied by the issuing bank."
}
],
"creationTime": "2019-08-24T14:15:22Z",
"virtualAccountAssignment": false
}
{
"id": "509876034",
"customerId": "5435323362",
"currencyCode": "GBP",
"totalBalance": 55000,
"availableBalance": 50000,
"creationTime": "2019-08-24T14:15:22Z",
"hasVirtualInstrument": false
}
Bad request
- application/json
- Schema
- Example (from schema)
- NOT_VALID_ACCOUNT_ID
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
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-ACCOUNT-ID-SHOULD-BE-VALID",
"message": "AccountId is not supported",
"details": [
"AccountId should be valid numeric value"
]
}
}
Not found
- application/json
- Schema
- Example (from schema)
- NOT_FOUND
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
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
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
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
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
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"
]
}
}