provider POST /v1/customers
@utdk/stripe /v1/customers
Create a customer
<p>Creates a new customer object.</p>

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postcustomers
POST/v1/customers
<p>Creates a new customer object.</p>

Input

The customer's address. Learn about [country-specific requirements for calculating tax](https://docs.stripe.com/invoicing/taxes?dashboard-or-api=dashboard#set-up-customer).

An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.

The customer's business name. This may be up to *150 characters*.

Balance information and default balance settings for this customer.

An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.

Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*.

Specifies which fields in the response should be expanded.

The customer's full name. This may be up to *150 characters*.

The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.

Default invoice settings for this customer.

Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

The customer's full name or business name.

The sequence to be used on the customer's next invoice. Defaults to 1.

The customer's phone number.

Customer's preferred languages, ordered by preference.

The customer's shipping information. Appears on invoices emailed to this customer.

Tax details about the customer.

The customer's tax exemption. One of `none`, `exempt`, or `reverse`.

The customer's tax IDs.

ID of the test clock to attach to the customer.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postcustomers()