Manage real accounts
Manage real accounts
A real account held with ClearBank and can be used to send and/or receive payments. The balance of a real account is also held by ClearBank.
Before creating an account, please ensure that you know which account type you need to create. If you are unsure, please get in touch.
GBP payments to and from a European account are not allowed and would be rejected and returned automatically. For more information about currencies supported by ClearBank accounts, please speak to your Client Director.
- To create and manage virtual accounts, refer to Manage accounts.
Create a new account (real)
post/mccy/v2/Accounts
This endpoint is used to create a new real multi-currency account.
Parameters
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Signed hash of the body of the request. The hash is signed by your private key.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
Request Payload (application/json)
- label string, Required
Friendly label for the account.
- Minimum length
- 1
- Maximum length
- 100
- Pattern
- ^[^<>;"]*$
- owner string, Required
The name used to identify the legal owner of the account.
- Minimum length
- 1
- Maximum length
- 140
- Pattern
- ^[^<>;"]*$
- kind string, Required
The type of funds the account will hold.
- Enum array
- YourFunds, GeneralSegregated, DesignatedSegregated, GeneralClient, DesignatedClient
- currencies array, Required
Currencies supported by the account. This is the three-letter ISO currency code.
- identifiers array
List of identifiers. If the account identifier of kind IBAN is not specified, it will be generated automatically.
- bankIdentifierCode string, Required
The 8 or 11 character BIC under which the new account should be created. If using a UK BIC, a routing code will also be required.
- routingCode string
Routing code for the new account. For example, 010203. When creating a UK account, a routing code (sort code) is required.
- productId string
The product identifier used to determine the behaviour of the account. Only applicable for FSCS accounts.
- customerId string
Unique identifier for the customer that the account is associated with. Only applicable for FSCS accounts.
request
{"label": "Mid tier asset funds","owner": "Eco Bank","kind": "GeneralSegregated","currencies": ["string"],"identifiers": [{"identifier": "string","kind": "string"}],"bankIdentifierCode": "CLRBGB99","routingCode": "010203","productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6","customerId": "725a5f09-595a-4db1-946a-8330d423da34"}
Response (application/json)
- 201 Created
- 400 Bad Request
- 403 Forbidden
- 422 Client Error
Created
{"id": "98efba88-c43e-41c5-9d47-0938f2fe7192","name": "Gen Seg Eco Bank","label": "Mid tier asset funds","owner": "Eco Bank","kind": "GeneralSegregated","currencies": ["string"],"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6","customerId": "190e5d1d-7016-4efe-9988-3ebfecb21192","identifiers": [{"identifier": "string","kind": "string"}],"status": "Active","statusReason": "AccountHolderBankrupt","statusInformation": "Received documentation","type": "Customer"}
Bad Request
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Forbidden
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Client Error
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Associated Webhooks
Get all accounts (real)
get/mccy/v1/Accounts
This endpoint is used to retrieve a list of all the accounts associated with your institution, excluding virtual accounts.
Parameters
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Generated from your HTTP METHOD, Query Path, X-Request-Id, and X-Request-Time values.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
- X-Request-Time string, header, Required
The current UNIX timestamp in seconds. This value will be rejected if it is more than 60 seconds late.
- pageNumber integer, query
The page number to control returned results into manageable sets. Default if not supplied: 1.
- pageSize integer, query
The page size to control returned results into manageable sets. Default if not supplied: 50.
Response (application/json)
- 200 OK
- 400 Bad Request
OK
{"accounts": [{"id": "98efba88-c43e-41c5-9d47-0938f2fe7192","name": "Gen Seg Eco Bank","label": "Mid tier asset funds","owner": "Eco Bank","kind": "GeneralSegregated","currencies": ["string"],"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6","customerId": "190e5d1d-7016-4efe-9988-3ebfecb21192","identifiers": [{"identifier": "GB29CLRB40391731926000","kind": "Iban"}],"status": "Active","statusReason": "AccountHolderBankrupt","statusInformation": "Received documentation"}]}
Bad Request
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Get information for an account (real)
get/mccy/v1/Accounts/{accountId}
This endpoint is used to retrieve details related to an account.
Parameters
- accountId string, path, Required
The unique identifier for the account. This can be retrieved from GET /mccy/v1/Accounts.
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Generated from your HTTP METHOD, Query Path, X-Request-Id, and X-Request-Time values.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
- X-Request-Time string, header, Required
The current UNIX timestamp in seconds. This value will be rejected if it is more than 60 seconds late.
Response (application/json)
- 200 OK
- 400 Bad Request
- 404 Not Found
OK
{"id": "98efba88-c43e-41c5-9d47-0938f2fe7192","name": "Gen Seg Eco Bank","label": "Mid tier asset funds","owner": "Eco Bank","kind": "GeneralSegregated","currencies": ["string"],"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6","customerId": "190e5d1d-7016-4efe-9988-3ebfecb21192","identifiers": [{"identifier": "GB29CLRB40391731926000","kind": "Iban"}],"status": "Active","statusReason": "AccountHolderBankrupt","statusInformation": "Received documentation"}
Bad Request
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Not Found
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Amend the properties of an account (real)
patch/mccy/v1/Accounts/{accountId}
This endpoint is used to amend the properties of an existing account.
Parameters
- accountId string, path, Required
The unique identifier for the account. This can be retrieved from GET /mccy/v1/Accounts.
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Signed hash of the body of the request. The hash is signed by your private key.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
Request Payload (application/json)
- label string, Required
Friendly label for the account.
- Minimum length
- 1
- Maximum length
- 100
- owner string, Required
The name used to identify the legal owner of the account.
- Minimum length
- 1
- Maximum length
- 140
request
{"label": "High tier asset funds","owner": "Eco Bank Ltd"}
Response (application/json)
- 200 OK
- 400 Bad Request
- 404 Not Found
OK
{"id": "98efba88-c43e-41c5-9d47-0938f2fe7192","name": "Gen Seg Eco Bank","label": "Mid tier asset funds","owner": "Eco Bank","kind": "GeneralSegregated","currencies": ["string"],"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6","customerId": "190e5d1d-7016-4efe-9988-3ebfecb21192","identifiers": [{"identifier": "GB29CLRB40391731926000","kind": "Iban"}],"status": "Active","statusReason": "AccountHolderBankrupt","statusInformation": "Received documentation"}
Bad Request
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Not Found
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Associated Webhooks
Update the status of an account (real)
patch/mccy/v1/Accounts/{accountId}/status
This endpoint is used to update the status of an existing account.
Parameters
- accountId string, path, Required
The unique identifier for the account. This can be retrieved from GET /mccy/v1/Accounts.
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Signed hash of the body of the request. The hash is signed by your private key.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
Request Payload (application/json)
- status string, Required
Desired status of the account.
- Enum array
- Active, Suspended
- statusReason string
Reason to support the desired status of the account.
- Enum array
- AccountHolderBankrupt, AccountHolderDeceased, AccountSwitched, CompanyNoLongerTrading, DissatisfiedCustomer, DuplicateAccount, FinancialCrime, FraudConfirmed, FraudFirstParty, FraudThirdParty, InternallyDormant, KYCRequired, LegallyDisputed, PotentialSanctionedIndividual, SanctionedIndividual, SuspectMoneyLaundering, TransactionDispute, Other
- information string
Additional information to support the specified status reason.
- Minimum length
- 0
- Maximum length
- 100
request
{"status": "Suspended","statusReason": "FinancialCrime","information": "Suspected fraudulent activity"}
Response (application/json)
- 200 OK
- 400 Bad Request
- 404 Not Found
OK
{"id": "98efba88-c43e-41c5-9d47-0938f2fe7192","name": "Gen Seg Eco Bank","label": "Mid tier asset funds","owner": "Eco Bank","kind": "GeneralSegregated","currencies": ["string"],"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6","customerId": "190e5d1d-7016-4efe-9988-3ebfecb21192","identifiers": [{"identifier": "GB29CLRB40391731926000","kind": "Iban"}],"status": "Active","statusReason": "AccountHolderBankrupt","statusInformation": "Received documentation"}
Bad Request
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Not Found
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Associated Webhooks
Get the balance of an account (real)
get/mccy/v1/Accounts/{accountId}/balances
This endpoint is used to retrieve the balance of an account.
Parameters
- accountId string, path, Required
The unique identifier for the account. This can be retrieved from GET /mccy/v1/Accounts.
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Generated from your HTTP METHOD, Query Path, X-Request-Id, and X-Request-Time values.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
- X-Request-Time string, header, Required
The current UNIX timestamp in seconds. This value will be rejected if it is more than 60 seconds late.
Response (application/json)
- 200 OK
- 400 Bad Request
- 404 Not Found
OK
{"balances": {"EUR": {"Available": 100,"Actual": 120},"USD": {"Available": 550.5,"Actual": 750.5},"CZK": {"Available": 0,"Actual": 0}}}
Bad Request
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Not Found
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Close an existing account (real)
delete/mccy/v1/Accounts/{accountId}
This endpoint is used to close an existing account. Once an account has been closed, it cannot be reopened.
Parameters
- accountId string, path, Required
The unique identifier for the account. This can be retrieved from GET /mccy/v1/Accounts.
- accountCloseReason string, query
Reason for why the account is being closed. Available options include: Other, AccountHolderDeceased, AccountSwitched, CompanyNoLongerTrading, DuplicateAccount.
- Authorization string, header, Required
Your API token, obtained from the ClearBank Portal.
- DigitalSignature string, header, Required
Generated from your HTTP METHOD, Query Path, X-Request-Id, and X-Request-Time values.
- X-Request-Id string, header, Required
A unique identifier for the request; valid for 24 hours, max length 83.
- X-Request-Time string, header, Required
The current UNIX timestamp in seconds. This value will be rejected if it is more than 60 seconds late.
Response (application/json)
- 204 No Content
- 404 Not Found
- 422 Client Error
Not Found
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}
Client Error
{"type": "string","title": "string","status": 0,"detail": "string","instance": "string","property1": null,"property2": null}