# Create external wallet / bank accounts

{% hint style="warning" %}
You can plug your wallet(s) and external bank account after the KYB
{% endhint %}

<mark style="color:green;">`POST`</mark> `/bank-pro/account/:customerId`

Connect an external wallet and an external bank account to receive the funds

**Headers**

<table><thead><tr><th width="391">Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr><tr><td>x-join-key</td><td><code>api_token</code></td></tr><tr><td>join-session-id (optional)</td><td>customer_session_id</td></tr></tbody></table>

**Params (body)**

{% tabs %}
{% tab title="Body JSON" %}

```json
{
  referenceId: string;
  accountName: string;
  individualBank?: {
    firstName: string;
    lastName: string;
    name: string;
    iban: string;
    bic: string;
    countryCode: string;
  };
  professionalBank?: {
    businessName: string;
    name: string;
    iban: string;
    bic: string;
    countryCode: string;
  };
  wallet?: {
    address: string
    chain: string // ethereum; solana; polygon; base; arbitrum; avalanche
  }
}
```

{% endtab %}
{% endtabs %}

**Response**

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

```json
{
  bank: {
    id: string;
    type: string; // e.g. "EXTERNAL_BANK_ACCOUNT"
    name: string;
    referenceId: string;
    bank: {
      name: string;
      address: string;
      city: string;
      state: string;
      postalCode: string;
      country: string;
      iban: string;
      bic: string;
      owner: {
        name: string | null; // concat of firstName + lastName
        firstName: string | null; // only for individual
        lastName: string | null; // only for individual
        email: string;
        businessName: string | null; // only for business type
      }
    };
    createdAt: string; // ISO datetime
    updatedAt: string; // ISO datetime
    customerId: string;
  },
  wallet: {
    id: string;
    type: string; // e.g. "EXTERNAL_WALLET_ACCOUNT"
    name: string;
    referenceId: string;
    wallet: {
      address: string;
      chain: string; // ethereum; polygon; base; arbitrum; avalanche
      isManaged: boolean;
    };
    createdAt: string; // ISO datetime
    updatedAt: string; // ISO datetime
    customerId: string;
  }
}
```

{% endtab %}
{% endtabs %}
