> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Bank Account object

### Description

<Warning>
  **Caution - Payouts refused to Bank Accounts created after April 30, 2026**

  Bank Account objects created after April 30, 2026, will not be usable for payouts. External accounts must be registered using the [Recipient endpoints](/api-reference/recipients/recipient-object) and authenticated using SCA.

  Payouts to Bank Accounts created after May 1, 2026, will fail with the `ResultCode` [121018](/errors/codes/121018). To resolve this, register the external account using [POST Create a Recipient](/api-reference/recipients/create-recipient) and retry the payout.
</Warning>

<Note>
  **Note – Replaced by Recipients feature**

  The Bank Account object and endpoints have been replaced by the Recipients feature, which all platforms should integrate instead.

  Legacy active Bank Accounts (`Active` is `true`) have been migrated to the new feature and their data is retrievable via the [GET View a Recipient](/api-reference/recipients/view-recipient) endpoint using the same `BankAccountId`. Read more about [legacy bank account migration](/guides/payouts#migration-of-legacy-bank-accounts).
</Note>

The Bank Account object represents the actual bank account of the user and is therefore required to:

* Process a bank wire payout
* Set up a mandate to process a pay-in by direct debit with a mandate (BACS or SEPA network only)

Different information is required for bank accounts in different countries. This is managed by the `Type` parameter, which determines the information that needs to be provided via the dedicated endpoint. The values are:

* `IBAN` – For accounts registered in countries that use IBAN (including the UK when the payout currency is **not** GBP)
* `US` – For accounts registered in the United States
* `CA` – For accounts registered in Canada
* `GB` – For accounts registered in the United Kingdom **only when** the payout currency is GBP (for other payout currencies, use the `IBAN` type)
* `OTHER` – For accounts registered in countries that do not use IBAN (and are not the US, Canada, or the UK)

The country of registration of a bank account is not linked to its currency.

<Warning>
  **Caution – Creating the wrong type can lead to processing delays**

  Failure to use the correct type can lead to processing delays. Use the dedicated types for US, CA, and GB. Only use OTHER if the country isn’t one of these and doesn’t use IBAN.
</Warning>

<Note>
  **Note – Bank Account creation blocked in restricted countries**

  Due to anti-money laundering policy, Mangopay doesn’t accept the creation of bank accounts registered in some countries (see the <a href="/guides/users/country-restrictions">Country restrictions</a> article).
</Note>

### Attributes

<ParamField body="OwnerAddress" type="object">
  Information about the address of residence of the bank account owner.

  <Expandable title="properties">
    <ParamField body="AddressLine1" type="string">
      Max. length: 255 characters

      The first line of the address.
    </ParamField>

    <ParamField body="AddressLine2" type="string">
      Max. length: 255 characters

      The second line of the address.
    </ParamField>

    <ParamField body="City" type="string">
      Max. length: 255 characters

      The city of the address.
    </ParamField>

    <ParamField body="Region" type="string">
      Max. length: 255 characters

      Required if `Country` is US, CA, or MX.

      The region of the address.
    </ParamField>

    <ParamField body="PostalCode" type="string">
      Max. length: 255 characters

      The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.
    </ParamField>

    <ParamField body="Country" type="string">
      Format: Two-letter country code ([ISO 3166-1 alpha-2 format](/api-reference/overview/data-formats))

      The country of the address.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="OwnerName" type="string">
  Max. length: 255 characters

  The full name of the owner of the bank account. (Format: FirstName LastName)
</ParamField>

<ParamField body="Tag" type="string">
  Max. length: 255 characters

  Custom data that you can add to this object.\
  For bank accounts, you can use this parameter to identify the bank account by currency or usage (personal or professional for instance).
</ParamField>

<ParamField body="IBAN" type="string">
  Max. length: 34 characters

  The IBAN (international bank account number) of the bank account.
  It follows the CCDDBBAN format in which:

  * CC represents the country code (ISO 3166-1 alpha 2)
  * DD represents two check digits used by banking systems to avoid simple errors
  * BBAN stands for the Basic Bank Account Number which is up to 30 alphanumeric characters that are country-specific.\
    Note: You will need a valid IBAN (i.e., existing in real life) when testing on a Sandbox account even if no actual payout will be processed.
</ParamField>

<ParamField body="AccountNumber" type="string">
  Format: Digits only

  The account number of the bank account. The format and length depends on the Bank Account `Type`.
</ParamField>

<ParamField body="BIC" type="string">
  The BIC (international identifier of the bank) for IBAN or OTHER-type bank accounts.\
  The BIC can have one of the two following formats:

  * BIC8 – 8-character BIC (AAAABBCC)
  * BIC11 – 11-character BIC (AAAABBCCDDD)\
    In which:
  * AAAA represents the bank code: 4 characters defining the bank
  * BB represents the country code: 2 characters forming the country ISO code (ISO 3166 format)
  * CC represents the location code: 2 localization characters (alphabetical or numeric) to distinguish banks from the same country
  * DDD represents the branch code: 3 optional characters defining the branch as a branch of the bank\
    Note: You will need a valid IBAN (i.e., existing in real life) when testing on a Sandbox account even if no actual payout will be processed.
</ParamField>

<ParamField body="ABA" type="string">
  Length: 9 characters

  The American Banking Association (ABA) routing number for US-type bank accounts.
</ParamField>

<ParamField body="DepositAccountType" type="string">
  **Returned values:** `CHECKING`, `SAVINGS`

  The deposit type for US-type bank accounts.
</ParamField>

<ParamField body="InstitutionNumber" type="string">
  Length: 3 digits

  The 3-digit number assigned to Canadian financial institutions, for CA-type bank accounts.
</ParamField>

<ParamField body="BranchCode" type="string">
  Length: 5 digits

  The 5-digit number assigned to branches of Canadian financial institutions, for CA-type bank accounts.
</ParamField>

<ParamField body="BankName" type="string">
  Max. length: 50 characters (letters and digits only)

  The name of the Canadian bank for CA-type bank accounts.
</ParamField>

<ParamField body="SortCode" type="string">
  The 6-digit sort code, assigned to UK financial institutions, for GB-type bank accounts.
</ParamField>

<ParamField body="Country" type="string">
  The country in which the bank account is registered.
</ParamField>

<ParamField body="UserId" type="string">
  The unique identifier of the User (natural or legal) who owns the bank account.
</ParamField>

<ParamField body="Type" type="string">
  **Returned values:** `IBAN`, `US`, `CA`, `GB`, `OTHER`

  The type of the bank account, indicating the country where the real-life account is registered\
  The values are:

  * `IBAN` – For accounts registered in countries that use IBAN 
  * `US` – For accounts registered in the United States 
  * `CA` – For accounts registered in Canada
  * `GB` – For accounts registered in the United Kingdom
  * `OTHER` – For accounts registered in countries that do not use IBAN (and are not US, CA, GB)
</ParamField>

<ParamField body="Id" type="string">
  The unique identifier of the object.
</ParamField>

<ParamField body="CreationDate" type="Unix timestamp">
  The date and time at which the object was created.
</ParamField>

<ParamField body="Active" type="boolean">
  Whether or not the Bank Account is active.
  Mangopay automatically sets this parameter to `false` if the bank account is closed or does not exist anymore.
</ParamField>
