API Reference · Customers

Create a customer

Creates a new customer record.

POST/v1/customers

Email must be unique per organization + livemode. Creating a customer also provisions a Stripe Customer on your connected account for use with future payments.

Body parameters

emailstringRequired

Customer email. Must be a valid RFC 5322 address.

first_namestringRequired

Given name.

last_namestringRequired

Family name.

phonestring

Optional phone number.

company_namestring

Business name shown on invoices.

notesstring

Free-form internal notes.

metadataobject

Up to 20 arbitrary key/value pairs.

Errors

400
parameter_invalid_email

The `email` field is not a valid email address.

409
resource_already_exists

A customer with that email already exists in the current livemode.