Customers

Add Billing Address

Add a billing address and payment method to an existing customer.

post/v5/customers/{customer_id}/billing

Request

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

Path parameters

customer_idstring required

The customer vault ID.

Request body

idstring

Billing information identifier. If not provided, one will be generated. Max 32 characters.

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 added 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.