Skip to main content
GET
/
api
/
v1
/
invoices
/
{invoiceId}
curl -X GET "https://crypto.api.loveandpay.io/api/v1/invoices/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
  -H "X-Api-Key: lc_ваш_ключ"
{
  "success": true,
  "data": {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "invoiceNumber": "INV-20260121-ABC123",
    "externalId": "order-12345",
    "amount": 100.50,
    "amountPaid": 100.50,
    "currency": "USDT_TRC20",
    "paymentAddress": "TDPWsYuCP8H5Q93Sk3yR3x5yEvPXSVjxJZ",
    "status": "Paid",
    "description": "Оплата заказа #12345",
    "customerEmail": "customer@example.com",
    "metadata": {
      "orderId": "12345"
    },
    "transactions": [
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "txHash": "ce1a930bc5bbfcd1127174070dc7aaa0fadc1c8f712e59ba354d068830dc49bb",
        "amount": 100.50,
        "confirmations": 25,
        "status": "Confirmed"
      }
    ],
    "requiredConfirmations": 20,
    "createdAt": "2026-01-21T20:00:00Z",
    "expiresAt": "2026-01-21T20:30:00Z",
    "paidAt": "2026-01-21T20:15:00Z"
  }
}

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.

Параметры пути

invoiceId
string
required
UUID счёта, например f47ac10b-58cc-4372-a567-0e02b2c3d479

Заголовки

X-Api-Key
string
required
Ваш API ключ
{
  "success": true,
  "data": {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "invoiceNumber": "INV-20260121-ABC123",
    "externalId": "order-12345",
    "amount": 100.50,
    "amountPaid": 100.50,
    "currency": "USDT_TRC20",
    "paymentAddress": "TDPWsYuCP8H5Q93Sk3yR3x5yEvPXSVjxJZ",
    "status": "Paid",
    "description": "Оплата заказа #12345",
    "customerEmail": "customer@example.com",
    "metadata": {
      "orderId": "12345"
    },
    "transactions": [
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "txHash": "ce1a930bc5bbfcd1127174070dc7aaa0fadc1c8f712e59ba354d068830dc49bb",
        "amount": 100.50,
        "confirmations": 25,
        "status": "Confirmed"
      }
    ],
    "requiredConfirmations": 20,
    "createdAt": "2026-01-21T20:00:00Z",
    "expiresAt": "2026-01-21T20:30:00Z",
    "paidAt": "2026-01-21T20:15:00Z"
  }
}
curl -X GET "https://crypto.api.loveandpay.io/api/v1/invoices/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
  -H "X-Api-Key: lc_ваш_ключ"

Статусы счёта

СтатусОписание
PendingОжидает оплаты
PartiallyPaidЧастичная оплата получена
PaidПолностью оплачен
OverpaidПолучено больше требуемой суммы
ExpiredИстёк срок оплаты
CancelledОтменён