# Listing bank accounts

<mark style="color:green;">`GET`</mark> `/api/public/v1/bank_accounts`

This endpoint returns a list of bank accounts linked to your Txn account.

{% hint style="info" %}
Please note that Txn clients cannot add beneficiaries themselves just yet. Instead, please reach out to your account manager.
{% endhint %}

**Headers**

| Name          | Value                      |
| ------------- | -------------------------- |
| Content-Type  | `application/vnd.api+json` |
| Authorization | `Bearer <api_key>`         |

**Response**

{% tabs %}
{% tab title="HTTP 200" %}

```json
{
  "data": [
    {
      "id": "a754cd82-74a0-4c1c-a832-e83445bce2c5",
      "type": "bank_accounts",
      "attributes": {
        "beneficiaryName": "Acme Limited",
        "currencyCode": "EUR",
        "iban": "LT563400023810000822",
        "createdAt": "2024-12-07T11:42:27.571Z",
        "updatedAt": "2024-12-07T11:42:27.571Z",
        "bankBic": "GXPTLT22XXX",
        "bankName": "BANK NAME"
      }
    },
    {
      "id": "f96d0db2-3e5d-42b4-8e36-7a0ea2a951fe",
      "type": "bank_accounts",
      "attributes": {
        "beneficiaryName": "Acme Limited",
        "currencyCode": "EUR",
        "iban": "LT293400023810000823",
        "createdAt": "2024-10-24T14:13:11.802Z",
        "updatedAt": "2024-12-07T11:21:01.250Z",
        "bankBic": "GXPTLT22XXX",
        "bankName": "BANK NAME"
      }
    }
  ],
  "meta": {
    "page": "1",
    "per_page": "10",
    "total": 2
  },
  "jsonapi": {
    "version": "1.0"
  }
}
```

{% endtab %}
{% endtabs %}


---

# 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.txn.io/fiat-settlements/listing-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.
