Create a customer
Updated Jun 15, 2026
1 min read
Request
curl -X POST https://api.example.com/v1/customers \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{ "name": "Grace Hopper", "email": "grace@example.com" }'
Response
{ "id": "cus_003", "name": "Grace Hopper", "email": "grace@example.com" }