Skip to content

CreateCustomer

Source: src/Stripe/CreateCustomer.ts

Create a Stripe Customer over HTTP. Account-scoped — binds the API key onto the host, not a specific customer resource.

const create = yield* Stripe.CreateCustomer();
const customer = yield* create({
email: "alice@example.com",
name: "Alice",
});