Onboard new customer

📘

API Refs

Request body

NameTypeDescriptionRequired
emailstringCustomer email addressyes
firstNamestringCustomer first nameno
lastNamestringCustomer last nameno
phonestringCustomer phone numberno
addressobjectCustomer billing addressno

Address object

NameTypeDescriptionRequired
line1stringStreet address line 1yes
line2stringStreet address line 2no
citystringCityyes
statestringState or provinceyes
postal_codestringZIP or postal codeyes
countrystringTwo-letter country codeno

Response

Returns a 201 Created status with:

  • customer: The created customer object
  • stripeCustomerId: The Stripe StripeCustomerID for future API calls
  • message: Success message
  • subscriptionLink: Optional subscription link (if applicable)

Description

This endpoint creates a new customer account with Stripe integration. The customer can then be subscribed to plans or make one-time payments. This is the first step in establishing a billing relationship with a new customer. Note that payment methods are not set up in this endpoint - they should be configured separately through Stripe's payment method APIs or during subscription creation.