Skip to main content
GET
/
api
/
v2
/
customers
/
{id}
curl -X GET "https://loveandpay.io/api/v2/customers/550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..."
{
  "success": true,
  "customer": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "fullName": "Иван Иванов",
    "email": "client@example.com",
    "phone": "+79991234567",
    "kycStatus": "VERIFIED",
    "kycVerifiedAt": "2024-01-15T10:00:00.000Z",
    "trustLevel": "LEVEL_2",
    "totalPayments": 5,
    "totalAmount": 15000,
    "averageAmount": 3000,
    "lastPaymentAt": "2024-01-20T15:30:00.000Z",
    "isBlocked": false,
    "createdAt": "2024-01-01T10:00:00.000Z",
    "recentPayments": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440010",
        "invoiceNumber": "INV-xxx-001",
        "amount": 3000,
        "status": "PAID",
        "paidAt": "2024-01-20T15:30:00.000Z"
      },
      {
        "id": "550e8400-e29b-41d4-a716-446655440011",
        "invoiceNumber": "INV-xxx-002",
        "amount": 2500,
        "status": "PAID",
        "paidAt": "2024-01-18T12:00:00.000Z"
      }
    ]
  }
}

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 подпись

Path параметры

id
string
required
UUID клиента
{
  "success": true,
  "customer": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "fullName": "Иван Иванов",
    "email": "client@example.com",
    "phone": "+79991234567",
    "kycStatus": "VERIFIED",
    "kycVerifiedAt": "2024-01-15T10:00:00.000Z",
    "trustLevel": "LEVEL_2",
    "totalPayments": 5,
    "totalAmount": 15000,
    "averageAmount": 3000,
    "lastPaymentAt": "2024-01-20T15:30:00.000Z",
    "isBlocked": false,
    "createdAt": "2024-01-01T10:00:00.000Z",
    "recentPayments": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440010",
        "invoiceNumber": "INV-xxx-001",
        "amount": 3000,
        "status": "PAID",
        "paidAt": "2024-01-20T15:30:00.000Z"
      },
      {
        "id": "550e8400-e29b-41d4-a716-446655440011",
        "invoiceNumber": "INV-xxx-002",
        "amount": 2500,
        "status": "PAID",
        "paidAt": "2024-01-18T12:00:00.000Z"
      }
    ]
  }
}
curl -X GET "https://loveandpay.io/api/v2/customers/550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..."

KYC статусы

СтатусОписание
PENDINGОжидает верификации
VERIFIEDВерификация пройдена
REJECTEDВерификация отклонена