Retrieve Bank Account (by id)

GET {{base_url}}/banking/v2/accounts/:accountId

This endpoint can be used to retrieve a particular bank account using an account id.

Path variables

FieldTypeDescription
accountIdstringUnique identifier for the account

Attributes

FieldTypeDescription
idstringUnique identifier for the account
bankIdintegerUnique identifier for the bank
consentIdstringUnique identifier for the consent
currencystringAccount currency
nicknamestringNickname
accountJSON objectAccount information
account -> schemenamestringIBAN or Account and sort code
account -> identificationstringUnique id per bank account
account -> namestringAccount name
account -> secondaryIdentificationstringAny optional extra information about account
externalIdstringAn Id linked to an external source
sourcestringSource of data import {MANUALIMPORT, OPENBANKING}

Error Messages

ConditionResponse StatusResponse Body
Invalid accountId404 Not Found
Invalid partnerId403 Forbidden
Invalid companyId403 Forbidden

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
X-Api-Keystring
X-Partner-Idstring
X-Company-Idstring

RESPONSES

status: OK

{"id":"accountId1234","bankId":6,"consentId":"consentId1324","currency":"GBP","nickname":"Debit Account - NatWest - Demo","account":[{"schemeName":"UK.OBIE.SortCodeAccountNumber","identification":"5000004001234","name":"Debit Account - NatWest - Demo","secondaryIdentification":""}],"externalId":"","source":"OPENBANKING"}