The customer object

{
	"id": "9v4RIaTmQbqq1T7jox85Og",
	"first_name": "John",
	"last_name": "Doe",
	"email": "john.doe@hotmail.com",
	"phone": "+487589658478",
	"created_at": 1568887333,
	"currency": "usd",
	"default_source": "0IzZPBzLQ5-CfehE1WAaZg",
	"address_line1": "Address line 1",
	"address_city": "City example",
	"address_country": "PL",
	"address_line2": "Address line 2",
	"address_zip": "03-5896",
	"address_state": "sk",
	"description": "",
	"metadata[customer_id]": "merchant_customer_id"
}

Attributes

Field
Type
Description

id

string

Unique identifier for the object.

address_line1

string

Address line 1

address_city

string

Address city

address_country

string

Address country

address_line2

string

Address line 2

address_zip

string

Address zip

address_state

string

Address state

created_at

int

Time at which the object was created. Measured in nano seconds since the Unix epoch.

currency

string

Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes.

default_source

string

ID of the default payment source for the customer.

description

string

An arbitrary string attached to the object. Often useful for displaying to users.

email

string

The customer’s email address.

first_name

string

The customer’s first name.

last_name

string

The customer’s last name.

phone

string

The customer’s phone number.

metadata

hash

Contain key, value pair with information that merchant want to store on customer object.

default_locale

string

Customer’s preferred default language.

Last updated