🔌 API Reference

Customers API

Manage customer data and relationships with our REST API.

Create Customer
Create a new customer record
POST/v1/customers
{
  "name": "John Doe",
  "email": "john@example.com",
  "phone": "+923001234567"
}
List Customers
Retrieve a list of your customers
GET/v1/customers
{
  "data": [
    {
      "id": "cus_1234567890",
      "name": "John Doe",
      "email": "john@example.com",
      "total_spent": 5000,
      "total_orders": 2
    }
  ]
}