Customers

Update Billing Address

Update a customer billing address.

patch/v5/customers/{customer_id}/billing/{billing_id}

Request

  • Base URL
    https://sandbox.nmi.com/api
  • URL
    https://sandbox.nmi.com/api/v5/customers/{customer_id}/billing/{billing_id}
  • Auth
    API key in header Authorization

Path parameters

customer_idstring required

The customer vault ID.

billing_idstring required

The billing address ID to update.

Request body

idstring

Billing information identifier. Usually omitted when updating via billing_id in the URL.

first_namestring

First name

last_namestring

Last name

companystring

Company name

address1string

Address line 1

address2string

Address line 2

citystring

City

statestring

State or province. Format: CC

zipstring

ZIP or postal code

countrystring

Country code (ISO 3166-1 alpha-2). Format: CC

phonestring

Phone number

emailstring email

Email address

faxstring

Fax number

currencystring

ISO 4217 currency code used for payment validation. Defaults to USD when omitted.

priorityinteger nullable

Priority of the billing address

Response

Billing address updated successfully

object'customer' required

Resource type identifier

idstring required

Customer vault ID

createdstring date-time nullable

Customer creation date in UTC ISO 8601 format

Changes

No recorded changes to this operation across all 1 revision of this API.