# Client bank accounts

## Returns the list of bank accounts of a client.

> The bank accounts are sorted by creation date, in descending order. The most recently created bank accounts appear first.

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}},"schemas":{"BankAccount":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the bank account."},"label":{"type":["string","null"],"description":"The label of the bank account."},"fiatCurrency":{"type":"string","description":"The fiat currency of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"countryCode":{"type":"string","description":"The country code of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) country codes."},"type":{"type":"string","description":"The type of the bank account. Possible values are:\n  - PERSONAL: The bank account is owned by the user,\n  - THIRD_PARTY: The bank account is owned by a third party, other than the user.\n","enum":["PERSONAL","THIRD_PARTY"]},"identifiers":{"$ref":"#/components/schemas/BankAccountIdentifiers"},"thirdPartyBankAccountOwnerName":{"type":["string","null"],"description":"The name of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerAddress":{"type":["string","null"],"description":"The address of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCity":{"type":["string","null"],"description":"The city of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerPostalCode":{"type":["string","null"],"description":"The postal code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCountryCode":{"type":["string","null"],"description":"The country code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerDocuments":{"type":["array","null"],"description":"The keys of the documents of the owner of the bank account.<br /> Each key can be used in order to download the document.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the bank account."},"approvedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was approved.<br /> Only present if the bank account was approved.\n"},"deletedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was deleted.<br /> Only present if the bank account was deleted.\n"}}},"BankAccountIdentifiers":{"type":"object","description":"The identifiers of the bank account.","oneOf":[{"type":"object","properties":{"format":{"type":"string","enum":["IBAN"]},"iban":{"type":"string","description":"The IBAN of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"swift":{"type":"string","description":"The SWIFT of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT_MX"]},"clabe":{"type":"string","description":"The CLABE of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["ROUTING_NUMBER"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"routingNumber":{"type":"string","description":"The routing number of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SORT_CODE"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"sortCode":{"type":"string","description":"The sort code of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["IN_INR"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"ifsc":{"type":"string","description":"The IFSC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["AU"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"bsb":{"type":"string","description":"The BSB of the bank account."}}}]}}},"paths":{"/clients/{clientId}/bank-accounts":{"get":{"summary":"Returns the list of bank accounts of a client.","description":"The bank accounts are sorted by creation date, in descending order. The most recently created bank accounts appear first.","operationId":"getClientBankAccounts","tags":["Client bank accounts"],"parameters":[{"name":"clientId","in":"path","required":true,"description":"The unique identifier of the client.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"A JSON array of bank accounts.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BankAccount"}}}}},"401":{"description":"Invalid API key"},"500":{"description":"An unexpected error occurred."}}}}}}
```

## Request the creation of a bank account.

> Creates a bank account with the specified parameters.\<br /> The bank account is created in a pending state and must be approved by an administrator before it can be used in transactions.\<br /> This route is \*\*only available for verified clients\*\*. Unverified clients will receive a 400 error.<br>

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}},"requestBodies":{"CreateBankAccount":{"description":"The payload to create a bank account.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBankAccountPayload","required":["fiatCurrency","countryCode","type","identifiers"]}}}}},"schemas":{"CreateBankAccountPayload":{"type":"object","properties":{"label":{"type":["string","null"],"description":"The label of the bank account."},"fiatCurrency":{"type":"string","description":"The fiat currency of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"countryCode":{"type":"string","description":"The country code of the bank account."},"type":{"type":"string","description":"The type of the bank account. Possible values are:\n  - PERSONAL: The bank account is owned by the user,\n  - THIRD_PARTY: The bank account is owned by a third party, other than the user.\n","enum":["PERSONAL","THIRD_PARTY"]},"identifiers":{"$ref":"#/components/schemas/BankAccountIdentifiers"},"thirdPartyBankAccountOwnerName":{"type":["string","null"],"description":"The name of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerAddress":{"type":["string","null"],"description":"The address of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCity":{"type":["string","null"],"description":"The city of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerPostalCode":{"type":["string","null"],"description":"The postal code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCountryCode":{"type":["string","null"],"description":"The country code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerDocuments":{"type":["array","null"],"description":"The filenames of the documents of the owner of the bank account.<br /> The documents must be uploaded before creating the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n","items":{"type":"string"}}}},"BankAccountIdentifiers":{"type":"object","description":"The identifiers of the bank account.","oneOf":[{"type":"object","properties":{"format":{"type":"string","enum":["IBAN"]},"iban":{"type":"string","description":"The IBAN of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"swift":{"type":"string","description":"The SWIFT of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT_MX"]},"clabe":{"type":"string","description":"The CLABE of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["ROUTING_NUMBER"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"routingNumber":{"type":"string","description":"The routing number of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SORT_CODE"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"sortCode":{"type":"string","description":"The sort code of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["IN_INR"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"ifsc":{"type":"string","description":"The IFSC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["AU"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"bsb":{"type":"string","description":"The BSB of the bank account."}}}]},"BankAccount":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the bank account."},"label":{"type":["string","null"],"description":"The label of the bank account."},"fiatCurrency":{"type":"string","description":"The fiat currency of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"countryCode":{"type":"string","description":"The country code of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) country codes."},"type":{"type":"string","description":"The type of the bank account. Possible values are:\n  - PERSONAL: The bank account is owned by the user,\n  - THIRD_PARTY: The bank account is owned by a third party, other than the user.\n","enum":["PERSONAL","THIRD_PARTY"]},"identifiers":{"$ref":"#/components/schemas/BankAccountIdentifiers"},"thirdPartyBankAccountOwnerName":{"type":["string","null"],"description":"The name of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerAddress":{"type":["string","null"],"description":"The address of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCity":{"type":["string","null"],"description":"The city of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerPostalCode":{"type":["string","null"],"description":"The postal code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCountryCode":{"type":["string","null"],"description":"The country code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerDocuments":{"type":["array","null"],"description":"The keys of the documents of the owner of the bank account.<br /> Each key can be used in order to download the document.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the bank account."},"approvedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was approved.<br /> Only present if the bank account was approved.\n"},"deletedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was deleted.<br /> Only present if the bank account was deleted.\n"}}}}},"paths":{"/clients/{clientId}/bank-accounts":{"post":{"summary":"Request the creation of a bank account.","description":"Creates a bank account with the specified parameters.<br /> The bank account is created in a pending state and must be approved by an administrator before it can be used in transactions.<br /> This route is **only available for verified clients**. Unverified clients will receive a 400 error.\n","operationId":"createClientBankAccount","tags":["Client bank accounts"],"parameters":[{"name":"clientId","in":"path","required":true,"description":"The unique identifier of the client.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"$ref":"#/components/requestBodies/CreateBankAccount"},"responses":{"201":{"description":"The bank account has been created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccount"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","description":"The reason why the request is invalid."},"parameterErrors":{"type":["object","null"],"description":"The errors related to the parameters of the request.<br /> The object is null if there is no error related to the parameters.\n"}}}}}},"401":{"description":"Invalid API key"},"500":{"description":"An unexpected error occurred."}}}}}}
```

## Returns a bank account by ID.

> Returns a bank account by its unique identifier.

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}},"schemas":{"BankAccount":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the bank account."},"label":{"type":["string","null"],"description":"The label of the bank account."},"fiatCurrency":{"type":"string","description":"The fiat currency of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"countryCode":{"type":"string","description":"The country code of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) country codes."},"type":{"type":"string","description":"The type of the bank account. Possible values are:\n  - PERSONAL: The bank account is owned by the user,\n  - THIRD_PARTY: The bank account is owned by a third party, other than the user.\n","enum":["PERSONAL","THIRD_PARTY"]},"identifiers":{"$ref":"#/components/schemas/BankAccountIdentifiers"},"thirdPartyBankAccountOwnerName":{"type":["string","null"],"description":"The name of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerAddress":{"type":["string","null"],"description":"The address of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCity":{"type":["string","null"],"description":"The city of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerPostalCode":{"type":["string","null"],"description":"The postal code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCountryCode":{"type":["string","null"],"description":"The country code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerDocuments":{"type":["array","null"],"description":"The keys of the documents of the owner of the bank account.<br /> Each key can be used in order to download the document.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the bank account."},"approvedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was approved.<br /> Only present if the bank account was approved.\n"},"deletedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was deleted.<br /> Only present if the bank account was deleted.\n"}}},"BankAccountIdentifiers":{"type":"object","description":"The identifiers of the bank account.","oneOf":[{"type":"object","properties":{"format":{"type":"string","enum":["IBAN"]},"iban":{"type":"string","description":"The IBAN of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"swift":{"type":"string","description":"The SWIFT of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT_MX"]},"clabe":{"type":"string","description":"The CLABE of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["ROUTING_NUMBER"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"routingNumber":{"type":"string","description":"The routing number of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SORT_CODE"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"sortCode":{"type":"string","description":"The sort code of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["IN_INR"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"ifsc":{"type":"string","description":"The IFSC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["AU"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"bsb":{"type":"string","description":"The BSB of the bank account."}}}]}}},"paths":{"/clients/{clientId}/bank-accounts/{bankAccountId}":{"get":{"summary":"Returns a bank account by ID.","description":"Returns a bank account by its unique identifier.","operationId":"getClientBankAccountById","parameters":[{"name":"clientId","in":"path","required":true,"description":"The unique identifier of the client.","schema":{"type":"string","format":"uuid"}},{"name":"bankAccountId","in":"path","required":true,"description":"The unique identifier of the bank account.","schema":{"type":"string","format":"uuid"}}],"tags":["Client bank accounts"],"responses":{"200":{"description":"A bank account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccount"}}}},"401":{"description":"Invalid API key"},"404":{"description":"Bank account not found."},"500":{"description":"An unexpected error occurred."}}}}}}
```

## Deletes a bank account by ID.

> Deletes a bank account by its unique identifier.\<br /> A deleted bank account will still be returned in the list of bank accounts of the client or queriable by ID, but it will have a non null \`deletedAt\` field.\<br /> A deleted bank account can not be used in transactions.\<br /> This route is \*\*only available for verified clients\*\*. Unverified clients will receive a 400 error.<br>

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}},"schemas":{"BankAccount":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the bank account."},"label":{"type":["string","null"],"description":"The label of the bank account."},"fiatCurrency":{"type":"string","description":"The fiat currency of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"countryCode":{"type":"string","description":"The country code of the bank account. See [the list of supported](https://docs.rialtobridge.xyz/concepts) country codes."},"type":{"type":"string","description":"The type of the bank account. Possible values are:\n  - PERSONAL: The bank account is owned by the user,\n  - THIRD_PARTY: The bank account is owned by a third party, other than the user.\n","enum":["PERSONAL","THIRD_PARTY"]},"identifiers":{"$ref":"#/components/schemas/BankAccountIdentifiers"},"thirdPartyBankAccountOwnerName":{"type":["string","null"],"description":"The name of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerAddress":{"type":["string","null"],"description":"The address of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCity":{"type":["string","null"],"description":"The city of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerPostalCode":{"type":["string","null"],"description":"The postal code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerCountryCode":{"type":["string","null"],"description":"The country code of the owner of the bank account.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n"},"thirdPartyBankAccountOwnerDocuments":{"type":["array","null"],"description":"The keys of the documents of the owner of the bank account.<br /> Each key can be used in order to download the document.<br /> Only present if the bank account is of type **THIRD_PARTY**.\n","items":{"type":"string"}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the bank account."},"approvedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was approved.<br /> Only present if the bank account was approved.\n"},"deletedAt":{"type":["string","null"],"format":"date-time","description":"The date when the bank account was deleted.<br /> Only present if the bank account was deleted.\n"}}},"BankAccountIdentifiers":{"type":"object","description":"The identifiers of the bank account.","oneOf":[{"type":"object","properties":{"format":{"type":"string","enum":["IBAN"]},"iban":{"type":"string","description":"The IBAN of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"swift":{"type":"string","description":"The SWIFT of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SWIFT_MX"]},"clabe":{"type":"string","description":"The CLABE of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["ROUTING_NUMBER"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"routingNumber":{"type":"string","description":"The routing number of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["SORT_CODE"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"sortCode":{"type":"string","description":"The sort code of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["IN_INR"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"ifsc":{"type":"string","description":"The IFSC of the bank account."}}},{"type":"object","properties":{"format":{"type":"string","enum":["AU"]},"accountNumber":{"type":"string","description":"The account number of the bank account."},"bsb":{"type":"string","description":"The BSB of the bank account."}}}]}}},"paths":{"/clients/{clientId}/bank-accounts/{bankAccountId}":{"delete":{"summary":"Deletes a bank account by ID.","description":"Deletes a bank account by its unique identifier.<br /> A deleted bank account will still be returned in the list of bank accounts of the client or queriable by ID, but it will have a non null `deletedAt` field.<br /> A deleted bank account can not be used in transactions.<br /> This route is **only available for verified clients**. Unverified clients will receive a 400 error.\n","operationId":"deleteClientBankAccountById","parameters":[{"name":"clientId","in":"path","required":true,"description":"The unique identifier of the client.","schema":{"type":"string","format":"uuid"}},{"name":"bankAccountId","in":"path","required":true,"description":"The unique identifier of the bank account.","schema":{"type":"string","format":"uuid"}}],"tags":["Client bank accounts"],"responses":{"200":{"description":"The bank account has been deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccount"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","description":"The reason why the request is invalid."}}}}}},"401":{"description":"Invalid API key"},"404":{"description":"Bank account not found."},"500":{"description":"An unexpected error occurred."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rialtobridge.xyz/manager-api-reference/client-bank-accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
