user-groupCustomers API V4

Create and manage customer records

Create a customer

post

Creates a new customer object. Customer records can be associated with payments for easier tracking.

Authorizations
AuthorizationstringRequired

API key authentication. Include your API key in the Authorization header as a Bearer token. Example: Authorization: Bearer sk_test_1a2b3c4d5e6f

Body
emailstring · emailRequired

Customer's email address

Example: john.doe@example.com
namestringOptional

Customer's full name

Example: John Doe
phonestringOptional

Customer's phone number

Example: +1234567890
Responses
chevron-right
200

Customer created successfully

application/json
idstringOptional

Unique identifier for the customer

Example: cus_1a2b3c4d5e6f
emailstring · emailOptional

Customer's email address

Example: john.doe@example.com
namestring · nullableOptional

Customer's full name

Example: John Doe
phonestring · nullableOptional

Customer's phone number

Example: +1234567890
created_atstring · date-timeOptional

Timestamp when the customer was created

Example: 2024-03-15T10:30:00Z
post
/customers

Retrieve a customer

get

Retrieves the details of an existing customer.

Authorizations
AuthorizationstringRequired

API key authentication. Include your API key in the Authorization header as a Bearer token. Example: Authorization: Bearer sk_test_1a2b3c4d5e6f

Path parameters
idstringRequired

The customer ID

Example: cus_1a2b3c4d5e6f
Responses
chevron-right
200

Customer retrieved successfully

application/json
idstringOptional

Unique identifier for the customer

Example: cus_1a2b3c4d5e6f
emailstring · emailOptional

Customer's email address

Example: john.doe@example.com
namestring · nullableOptional

Customer's full name

Example: John Doe
phonestring · nullableOptional

Customer's phone number

Example: +1234567890
created_atstring · date-timeOptional

Timestamp when the customer was created

Example: 2024-03-15T10:30:00Z
get
/customers/{id}

Last updated