Skip to main content
GET
/
api
/
v2
/
invoices
/
{id}
curl -X GET "https://loveandpay.io/api/v2/invoices/550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..."
{
  "success": true,
  "invoice": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "invoiceNumber": "INV-1234567890-abc123",
    "amount": 1500.50,
    "currency": "RUB",
    "description": "Оплата заказа #12345",
    "status": "PAID",
    "customerEmail": "client@example.com",
    "customerName": "Иван Иванов",
    "customerPhone": "+79991234567",
    "expiresAt": "2024-01-24T12:00:00.000Z",
    "createdAt": "2024-01-23T12:00:00.000Z",
    "paidAt": "2024-01-23T12:30:00.000Z",
    "qrCode": "data:image/png;base64,...",
    "qrPayload": "https://qr.nspk.ru/...",
    "externalOrderId": "550e8400-e29b-41d4-a716-446655440001",
    "kycRequired": false,
    "kycVerified": false,
    "receiptRequired": false,
    "paymentLink": "https://loveandpay.io/pay/INV-1234567890-abc123",
    "customer": {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "fullName": "Иван Иванов",
      "email": "client@example.com",
      "kycStatus": "VERIFIED"
    }
  }
}

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,
  "invoice": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "invoiceNumber": "INV-1234567890-abc123",
    "amount": 1500.50,
    "currency": "RUB",
    "description": "Оплата заказа #12345",
    "status": "PAID",
    "customerEmail": "client@example.com",
    "customerName": "Иван Иванов",
    "customerPhone": "+79991234567",
    "expiresAt": "2024-01-24T12:00:00.000Z",
    "createdAt": "2024-01-23T12:00:00.000Z",
    "paidAt": "2024-01-23T12:30:00.000Z",
    "qrCode": "data:image/png;base64,...",
    "qrPayload": "https://qr.nspk.ru/...",
    "externalOrderId": "550e8400-e29b-41d4-a716-446655440001",
    "kycRequired": false,
    "kycVerified": false,
    "receiptRequired": false,
    "paymentLink": "https://loveandpay.io/pay/INV-1234567890-abc123",
    "customer": {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "fullName": "Иван Иванов",
      "email": "client@example.com",
      "kycStatus": "VERIFIED"
    }
  }
}
curl -X GET "https://loveandpay.io/api/v2/invoices/550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..."