Skip to content

Create your first customer ​

1. Prepare authentication ​

bash
export CEDIUS_API_KEY="cedius_test_sk_example"

2. Create the customer ​

bash
curl -X POST https://api.cedius.app/v1/customers   -H "Authorization: Bearer $CEDIUS_API_KEY"   -H "Content-Type: application/json"   -d '{
    "name": "Adewale Johnson",
    "email": "adewale@example.com",
    "company": "Johnson Ventures"
  }'

Save the returned customer ID.

3. Retrieve the customer ​

bash
curl https://api.cedius.app/v1/customers/cus_4d7c21   -H "Authorization: Bearer $CEDIUS_API_KEY"

4. Reuse the customer ID ​

Pass cus_4d7c21 as customer_id when creating an invoice.

Cedius is an illustrative API documentation portfolio project.