Skip to main content
GET
/
api
/
v1
/
invoices
curl -X GET "https://crypto.api.loveandpay.io/api/v1/invoices?page=1&pageSize=20&status=Paid" \
  -H "X-Api-Key: lc_ваш_ключ"
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "invoiceNumber": "INV-20260121-ABC123",
        "externalId": "order-12345",
        "amount": 100.50,
        "amountPaid": 100.50,
        "currency": "USDT_TRC20",
        "status": "Paid",
        "createdAt": "2026-01-21T20:00:00Z",
        "paidAt": "2026-01-21T20:15:00Z"
      },
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "invoiceNumber": "INV-20260121-DEF456",
        "amount": 50.00,
        "currency": "USDT_TRC20",
        "status": "Pending",
        "createdAt": "2026-01-21T21:00:00Z"
      }
    ],
    "totalCount": 150,
    "page": 1,
    "pageSize": 20
  }
}

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 ключ

Query параметры

page
integer
default:"1"
Номер страницы
pageSize
integer
default:"20"
Размер страницы (максимум 100)
status
string
Фильтр по статусу: Pending, PartiallyPaid, Paid, Overpaid, Expired, Cancelled
currency
string
Фильтр по валюте: USDT_TRC20, USDT_ERC20, USDC_ERC20, USDT_BEP20, USDC_BEP20
fromDate
string
Начало периода (ISO 8601), например 2026-01-01T00:00:00Z
toDate
string
Конец периода (ISO 8601), например 2026-01-31T23:59:59Z
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "invoiceNumber": "INV-20260121-ABC123",
        "externalId": "order-12345",
        "amount": 100.50,
        "amountPaid": 100.50,
        "currency": "USDT_TRC20",
        "status": "Paid",
        "createdAt": "2026-01-21T20:00:00Z",
        "paidAt": "2026-01-21T20:15:00Z"
      },
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "invoiceNumber": "INV-20260121-DEF456",
        "amount": 50.00,
        "currency": "USDT_TRC20",
        "status": "Pending",
        "createdAt": "2026-01-21T21:00:00Z"
      }
    ],
    "totalCount": 150,
    "page": 1,
    "pageSize": 20
  }
}
curl -X GET "https://crypto.api.loveandpay.io/api/v1/invoices?page=1&pageSize=20&status=Paid" \
  -H "X-Api-Key: lc_ваш_ключ"