---
title: "Update a Credit Card"
method: PUT
path: "/billing-info/credit-card/{billingInfoId}"
tags: ["BillingInfo"]
---

# Update a Credit Card

`PUT /billing-info/credit-card/{billingInfoId}`

## Request

- Base URL: `https://core.hivelocity.net/api/v2`
- URL: `https://core.hivelocity.net/api/v2/billing-info/credit-card/{billingInfoId}`
- Auth: API key in header `X-API-KEY`

## Headers

- `X-Fields` string, mask

## Request body

- BillingInfoCreateCreditCard
  - `address` string, required: The street address associated with the billing ID
  - `ccCvv2` string, required: The credit card verification number
  - `ccExpireMonth` string, required: The expiration month for the credit card
  - `ccExpireYear` string, required: The expiration year for the credit card with 2 digits
  - `ccNum` string, required: The credit card account number
  - `ccType` string, required: The credit card network associated with the billing ID: `visa`, `mastercard`, `discover`, `amex`, etc.
  - `city` string, required: The city associated with the billing ID in question
  - `clientId` integer: The identification number for the client associated with the Billing Info ID
  - `company` string: The company name associated with the billing ID
  - `country` string, required: The 2 digit country code associated with the billing ID
  - `defaultAllServices` boolean: Make this the default payment method for all services in the client's account
  - `email` string, required: The email address associated with the billing ID
  - `first` string, required: The first name of the individual associated with the billing ID
  - `last` string, required: The last name of the individual associated with the billing ID
  - `phone` string, required: The phone number associated with the billing ID
  - `setDefault` boolean: Make this the default payment method for future orders
  - `state` string, required: The state associated with the billing ID
  - `zip` string, required: The zip/postal code associated with the billing ID

## Response `200`

Success

- BillingInfo
  - `achAba` string: The bank routing number
  - `achAccount` string: The bank account number
  - `achBank` string: The name of the bank associated with the billing ID
  - `achType` string: The bank account type (Checking or Savings)
  - `address` string: The street address associated with the billing ID
  - `ccExpire` string: The expiration date for the credit card
  - `ccNum` string: The credit card account number
  - `ccType` string: The credit card network associated with the billing ID
  - `city` string: The city associated with the billing ID in question
  - `clientId` integer: The identification number for the client associated with the Billing info ID
  - `company` string: The company name associated with the billing ID
  - `country` string: The country associated with the billing ID
  - `default` boolean: True if this is the default payment method for future orders
  - `email` string: The email address associated with the billing ID
  - `first` string: The first name of the individual associated with the billing ID
  - `id` integer: The unique Billing ID used to associate Billing Info
  - `isCCVerified` boolean: The verification status of the Credit Card in question
  - `last` string: The last name of the individual associated with the billing ID
  - `paymentType` string: The type of payment associated with the billing ID ie: CC, ACH etc
  - `pendingVerification` boolean: Yes or No for the Pending Verification status
  - `phone` string: The phone number associated with the billing ID
  - `state` string: The state associated with the billing ID
  - `status` integer: The active status associated with the billing ID (0/1)
  - `zip` string: The zip/postal code associated with the billing ID

## Other responses

- `403`: You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.

---

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