---
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`

## 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 — Contact Name or Business Name
    - `street1` string, required
    - `street2` string
    - `city` string
    - `province` string — 2 letter abbreviation of the province (AB, BC, CA). Required field if country is CAN or USA.
    - `country` string — 3-letter abbreviation of the country (CAN, USA)
    - `postalCode` string, required
    - `phone` string — 10 to 15 digits phone number.
    - `email` string

## Other responses

- `default` — Failed

---

[API](https://skmtc.net/helcim/apis/the-helcim-api.md) · [All operations](https://skmtc.net/helcim/apis/the-helcim-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helcim/the-helcim-api/revisions/345052ca6578/schema)
