Skip to main content
GET
/
api
/
v2
/
customers
curl -X GET "https://loveandpay.io/api/v2/customers?limit=50&kycStatus=VERIFIED" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..."
{
  "success": true,
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "fullName": "Иван Иванов",
      "email": "client@example.com",
      "phone": "+79991234567",
      "kycStatus": "VERIFIED",
      "trustLevel": "LEVEL_2",
      "totalPayments": 5,
      "totalAmount": 15000,
      "lastPaymentAt": "2024-01-20T15:30:00.000Z",
      "isBlocked": false,
      "createdAt": "2024-01-01T10:00:00.000Z"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "fullName": "Мария Петрова",
      "email": "maria@example.com",
      "phone": "+79991234568",
      "kycStatus": "PENDING",
      "trustLevel": "NEW",
      "totalPayments": 0,
      "totalAmount": 0,
      "lastPaymentAt": null,
      "isBlocked": false,
      "createdAt": "2024-01-22T14:00:00.000Z"
    }
  ],
  "pagination": {
    "total": 100,
    "limit": 50,
    "offset": 0,
    "pages": 2
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.loveandpay.io/llms.txt

Use this file to discover all available pages before exploring further.

Заголовки

x-api-key
string
required
Ваш API ключ
x-timestamp
string
required
Unix timestamp в миллисекундах
x-signature
string
required
HMAC-SHA256 подпись

Query параметры

limit
number
default:"50"
Количество записей (максимум 100)
offset
number
default:"0"
Смещение для пагинации
Поиск по имени, email или телефону
kycStatus
string
Фильтр по KYC статусу: PENDING, VERIFIED, REJECTED
trustLevel
string
Фильтр по уровню доверия: NEW, LEVEL_1, LEVEL_2, LEVEL_3
{
  "success": true,
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "fullName": "Иван Иванов",
      "email": "client@example.com",
      "phone": "+79991234567",
      "kycStatus": "VERIFIED",
      "trustLevel": "LEVEL_2",
      "totalPayments": 5,
      "totalAmount": 15000,
      "lastPaymentAt": "2024-01-20T15:30:00.000Z",
      "isBlocked": false,
      "createdAt": "2024-01-01T10:00:00.000Z"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "fullName": "Мария Петрова",
      "email": "maria@example.com",
      "phone": "+79991234568",
      "kycStatus": "PENDING",
      "trustLevel": "NEW",
      "totalPayments": 0,
      "totalAmount": 0,
      "lastPaymentAt": null,
      "isBlocked": false,
      "createdAt": "2024-01-22T14:00:00.000Z"
    }
  ],
  "pagination": {
    "total": 100,
    "limit": 50,
    "offset": 0,
    "pages": 2
  }
}
curl -X GET "https://loveandpay.io/api/v2/customers?limit=50&kycStatus=VERIFIED" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..."

Уровни доверия

УровеньОписание
NEWНовый клиент
LEVEL_1Базовый уровень (1-2 успешных платежа)
LEVEL_2Средний уровень (3-5 платежей или KYC)
LEVEL_3Высокий уровень (6+ платежей и KYC)