Skip to main content
GET
/
api
/
v1
/
invoices
/
external
/
{externalId}
curl -X GET "https://crypto.api.loveandpay.io/api/v1/invoices/external/order-12345" \
  -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",
    "transactions": [
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "txHash": "ce1a930bc5bbfcd1127174070dc7aaa0fadc1c8f712e59ba354d068830dc49bb",
        "amount": 100.50,
        "confirmations": 25,
        "status": "Confirmed"
      }
    ],
    "createdAt": "2026-01-21T20:00: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.

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

externalId
string
required
Ваш внешний ID заказа, например order-12345

Заголовки

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",
    "transactions": [
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "txHash": "ce1a930bc5bbfcd1127174070dc7aaa0fadc1c8f712e59ba354d068830dc49bb",
        "amount": 100.50,
        "confirmations": 25,
        "status": "Confirmed"
      }
    ],
    "createdAt": "2026-01-21T20:00:00Z",
    "paidAt": "2026-01-21T20:15:00Z"
  }
}
curl -X GET "https://crypto.api.loveandpay.io/api/v1/invoices/external/order-12345" \
  -H "X-Api-Key: lc_ваш_ключ"
Используйте этот эндпоинт для проверки статуса оплаты по ID вашего заказа вместо хранения ID счёта LoveCrypto.