Customers API V4
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 · emailRequiredExample:
Customer's email address
john.doe@example.comnamestringOptionalExample:
Customer's full name
John DoephonestringOptionalExample:
Customer's phone number
+1234567890Responses
200
Customer created successfully
application/json
400
Invalid request parameters
application/json
401
Authentication failed
application/json
500
Internal server error
application/json
post
/customersAuthorizations
AuthorizationstringRequired
API key authentication. Include your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer sk_test_1a2b3c4d5e6f
Path parameters
idstringRequiredExample:
The customer ID
cus_1a2b3c4d5e6fResponses
200
Customer retrieved successfully
application/json
401
Authentication failed
application/json
404
Customer not found
application/json
500
Internal server error
application/json
get
/customers/{id}Last updated
