---
title: "Set customer bank account as default"
method: PATCH
path: "/customers/{customerId}/bank-accounts/{bankAccountId}/default"
tags: ["Customer"]
---

# Set customer bank account as default

`PATCH /customers/{customerId}/bank-accounts/{bankAccountId}/default`

## Request

- Base URL: `https://api.helcim.com/v2`
- URL: `https://api.helcim.com/v2/customers/{customerId}/bank-accounts/{bankAccountId}/default`
- Auth: API key in header `api-token`

## Path parameters

- `customerId` integer, required
- `bankAccountId` integer, required

## Response `200`

Successful

- BankAccountResponse[]
  - `id` integer: The id of the bank account.
  - `customerId` integer: The id of the customer owning the bank account.
  - `dateCreated` string: The date when the bank account is created.
  - `dateUpdated` string: The date when the bank account last got updated.
  - `dateLastUsed` string: The date when the bank account last got used.
  - `dateVerified` string: The date when the bank account is verified.
  - `bankToken` string: The token of the bank account.
  - `accountType` string: The type of the bank account, such as CHECKING | SAVINGS.
  - `accountCorporate` string: The corporate type of the bank account, such as PERSONAL | CORPORATE.
  - `verified` string: Verified status of the bank account, 1|0.
  - `ready` string: Ready status of the bank account, 1|0.
  - `bankIdNumber` string: The institution number of Canadian Bank Account that identifies the bank.
  - `transitNumber` string: The transit number of Canadian Bank Account. Shows which branch you opened your account at.
  - `routingNumber` string: The routing number of US Bank Account. Identifies the financial institution on which it was drawn.
  - `bankAccountNumberL4` string: Last 4 digits of the bank account number.
  - `address` Address
    - `name` string, required: The recipient's name or business name for this address.
    - `street1` string, required: The primary street address.
    - `street2` string: Additional address details, such as unit or suite number.
    - `city` string: The city for this address.
    - `province` string: The two-letter province or state code (e.g., AB, BC, CA). Required if the country is CAN or USA.
    - `country` string: The three-letter [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code (e.g., CAN, USA).
    - `postalCode` string, required: The postal or ZIP code for this address.
    - `phone` string: Contact phone number (10 to 15 digits).
    - `email` string: Contact email address for this address.

## Other responses

- `default`: Failed

---

[API](https://skmtc.dev/helcim/apis/the-helcim-api.md) - [All operations](https://skmtc.dev/helcim/apis/the-helcim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/helcim/apis/the-helcim-api/revisions/95aef350fef4?raw)
