Billing address

A billing address is used to calculate your bill correctly.

Data model

address_1stringThe first address line.
address_2stringThe second address line.
citystringThe city name.
countrystringISO 3166-1 two-letter country code.
localitystringOther locality.
postal_codestringPostal code (ZIP code for US addresses).
relationships.customer.idstringAlphanumeric string identifying the customer.
statestringThe state or province name.
typestringResource type.
created_atstringDate and time in ISO 8601 format.
customer_idstringAlphanumeric string identifying the customer.
deleted_atstringDate and time in ISO 8601 format.
idstringAlphanumeric string identifying the billing address.
updated_atstringDate and time in ISO 8601 format.

Endpoints

Get a billing address

GET/customer/customer_id/billing_address

Add a billing address to a customer

POST/customer/customer_id/billing_address

Delete a billing address

DELETE/customer/customer_id/billing_address

Update a billing address

PATCH/customer/customer_id/billing_address