---
title: "Set customer card as default"
method: PATCH
path: "/customers/{customerId}/cards/{cardId}/default"
tags: ["Customer"]
---

# Set customer card as default

`PATCH /customers/{customerId}/cards/{cardId}/default`

## Path parameters

- `customerId` integer, required
- `cardId` integer, required

## Response `200`

Successful

- Customer[]
  - `id` integer — Id of Customer
  - `customerCode` string — Customer code of the customer
  - `businessName` string — Name of the business
  - `contactName` string — Contact Name
  - `cellPhone` string — Cell phone number of customer
  - `billingAddress` 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
  - `shippingAddress` 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
  - `cards` object[] — Array of cards stored in the vault associated with this customer.
    - `cardHolderName` string — The card holder name.
    - `cardF6L4` string — The F6L4 of card.
    - `cardToken` string — Card token

## 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/versions/345052ca6578/schema)
