Retrieve Parties

GET {{base_url}}/banking/v2/parties

This endpoint can be used to retrieve party information.

Query Parameters

FieldTypeDescription
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
partyTypestring{Joint, Sole, Delegate}
pageIdstringPage offset of results

Attributes

FieldTypeDescription
idstringUnique identifier for the party
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
namestringName of the party
emailstringEmail address of the party
phoneNumberstringPhone number of the party
addressobjectAddress of the party
address->addressTypestring{Business, Correspondence, Delivery to, Mail to, PO Box, Postal, Residential, Statement}
address->addressstringAddress of the party
partyTypestring{Joint, Sole, Delegate}
externalIdstringAn Id linked to an external source
sourcestringSource of data import {OPENBANKING}

Error Messages

ConditionResponse StatusResponse Body
Invalid partnerId403 Forbidden
Invalid companyId403 Forbidden
Invalid pageId400 Bad Request{ error: "Missing/Invalid pageId” }
Invalid partyType400 Bad Request{ error: "Missing/Invalid partyType” }

Request Params

KeyDatatypeRequiredDescription
pageIdnullPage offset of results
bankIdnullUnique identifier for the bank
accountIdnullUnique identifier for the bank acount
partyTypenullParty type {Joint, Sole, Delegate}

HEADERS

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

RESPONSES

status: OK

{"results":[{"id":"53f8b527-bb0c-4925-a2b1-8bf6356144ab","bankId":23,"accountId":"dec1b653-ba2a-41f0-8915-8a9bb6804d70","name":"JULIA RESEARCH LTD","email":"","phoneNumber":"","partyType":"","address":[],"externalId":"7t9xg8rmekakd68o01c97lvcjzmf06nwcf4l","source":"OPENBANKING"}],"links":{}}