Customers API V4

Create and manage customer records

Experimental

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
200

Customer created successfully

application/json
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
200

Customer retrieved successfully

application/json
get
/customers/{id}

Last updated