Linked accounts represent bank accounts that the buyer has with other banks. Once set up, they are used to fund payment runs.
Retrieves the linked accounts belonging to the buyer that the logged-in user belongs to.
Required user role: CONTROLLER
OK
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "linkedAccounts": [
- {
- "id": "652d25b73541d8084a88a38d",
- "accountIdentification": {
- "accountNumber": "stringst",
- "sortCode": "string",
- "secondaryReference": "string"
}, - "currency": "GBP",
- "institution": {
- "id": "string",
- "displayName": "string",
- "countries": [
- "GB"
], - "images": {
- "icon": "string",
- "logo": "string"
}, - "info": {
- "loginUrl": "string",
- "helplinePhoneNumber": "string"
}
}, - "consent": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "expiresIn": 0,
- "status": "ACTIVE"
}, - "status": "LINKED"
}
], - "count": 0,
- "responseCount": 0
}
Retrieves a linked account of the buyer that the logged-in user belongs to.
Required user role: CONTROLLER
OK
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "id": "652d25b73541d8084a88a38d",
- "accountIdentification": {
- "accountNumber": "stringst",
- "sortCode": "string",
- "secondaryReference": "string"
}, - "currency": "GBP",
- "institution": {
- "id": "string",
- "displayName": "string",
- "countries": [
- "GB"
], - "images": {
- "icon": "string",
- "logo": "string"
}, - "info": {
- "loginUrl": "string",
- "helplinePhoneNumber": "string"
}
}, - "consent": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "expiresIn": 0,
- "status": "ACTIVE"
}, - "status": "LINKED"
}
Unlinks a linked account identified by the linked_account_id
.
This action is not reversible and if the buyer wants to use this linked account again to fund payment runs, they will have to re-link the account. More information on how to link an account can be found here.
Details of an unlinked account, can still be retrieved via the Get linked accounts and Get linked account endpoints.
Required user role: CONTROLLER
OK
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Content Too Large
Unprocessable Entity
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "id": "652d25b73541d8084a88a38d",
- "accountIdentification": {
- "accountNumber": "stringst",
- "sortCode": "string",
- "secondaryReference": "string"
}, - "currency": "GBP",
- "institution": {
- "id": "string",
- "displayName": "string",
- "countries": [
- "GB"
], - "images": {
- "icon": "string",
- "logo": "string"
}, - "info": {
- "loginUrl": "string",
- "helplinePhoneNumber": "string"
}
}, - "consent": {
- "expiresAt": "2019-08-24T14:15:22Z",
- "expiresIn": 0,
- "status": "ACTIVE"
}, - "status": "LINKED"
}