API reference components
Composable endpoint, parameter, request, and response primitives for product-owned APIs.
On this page
Endpoint
Present the HTTP method, path, and concise operation description.
Endpoint
POST
/v1/customersCreates a customer and returns its identifier.
Parameters
Describe required and optional values with compact names, types, and explanations.
Parameters
emailstringRequiredCustomer email address.
metadataobjectApplication-defined values.
Request and response examples
Keep realistic request source and response payloads visually paired.
Request and response examples
Create customercurl
curl -X POST $API_ORIGIN/v1/customersResponse
201201json
{ "id": "cus_123" }