Получить инвойс

Этот эндпоинт используется для получения полной информации об инвойсе, включая его статус, сумму, валюту, дату создания, связанные кошельки и историю изменений.

💡 Основная цель этого запроса — проверить состояние инвойса после его создания:

  • убедиться, что инвойс существует;

  • узнать, поступила ли оплата;

  • получить адрес кошелька, если вы его не сохранили при создании;

  • отобразить актуальный статус клиенту или в админ-панели.

GET/v1/invoices/:uuid

Headers

chevron-rightExample of x-api-keyhashtag

74364121-2fb8-4e06-b093-7b1f83f0d5a8

circle-info

Please note: the x-api-key is unique and provided to each client individually by Monocrypt.

Response

{
    "id": 33,
    "createdAt": "2024-12-13T17:09:05.076Z",
    "updatedAt": "2024-12-13T17:11:45.077Z",
    "uuid": "376479f1-d78e-432c-a115-782f39056cbe",
    "status": "settled",
    "title": "",
    "description": null,
    "amount": "0",
    "total_available_amount": "0.03",
    "total_received_amount": "0.3",
    "total_fee_paid": "0.003",
    "unitId": 5,
    "currency": "TRX",
    "network": "TRC20",
    "customerEmail": null,
    "manager": null,
    "unit": {
        "id": 5,
        "createdAt": "2024-11-26T08:16:49.423Z",
        "updatedAt": "2025-11-03T10:13:56.307Z",
        "uuid": "a5f0e33e-362c-44b0-9085-412f28253c6e",
        "name": "Main Unit",
        "rootUnitId": 7,
        "parentId": null,
        "adminIds": [10, 49],
        "description": "ттт",
        "isActive": true,
        "logo": "/static/7/units/5/logo.png?hash=1762164836307",
        "wallets": [
            {
                "id": 12,
                "createdAt": "2024-11-26T09:23:31.164Z",
                "updatedAt": "2025-11-03T14:15:33.937Z",
                "subId": null,
                "clientId": null,
                "unitId": 5,
                "invoiceId": null,
                "name": null,
                "currency": "TRX",
                "network": "TRC20",
                "balance": "1502820052",
                "transit_balance": "0",
                "service_fee_balance": "14010000",
                "walletAddress": "TL81465pss6JaVM1tseYBExiuGsD5LhT7Z",
                "riskScore": 0.1641438402078489,
                "total_deposits": "11696616000"
            }
        ]
    },
    "wallets": [
        {
            "id": 300,
            "createdAt": "2024-12-13T17:09:05.076Z",
            "updatedAt": "2024-12-13T17:12:50.175Z",
            "subId": null,
            "clientId": null,
            "unitId": null,
            "invoiceId": 33,
            "name": null,
            "currency": "TRX",
            "network": "TRC20",
            "balance": 0,
            "transit_balance": 0,
            "service_fee_balance": 0,
            "walletAddress": "TVJjwz9wHgNpzyEa79NXk9RMk6my3MgyLq",
            "riskScore": 0,
            "total_deposits": "300000"
        }
    ],
    "transactions": [
        {
            "id": 777,
            "createdAt": "2024-12-13T17:10:38.598Z",
            "updatedAt": "2024-12-13T17:12:50.175Z",
            "amount": "-0.033",
            "availableAmount": "-0.033",
            "serviceFee": null,
            "fee": "0.267",
            "refillFee": "0.267",
            "paymentOrderId": 320,
            "externalPaymentOrderId": "cb1d5098-55fc-4754-a7c8-b9365103b9b4",
            "currency": "TRX",
            "network": "TRC20",
            "type": "WITHDRAWALS",
            "status": "completed",
            "txId": "",
            "addressTo": "TL81465pss6JaVM1tseYBExiuGsD5LhT7Z",
            "addressFrom": "",
            "riskScore": 0,
            "direction": "payout",
            "origin": null,
            "confirmations": 19,
            "payload": {},
            "externalId": null,
            "manager": null,
            "clientId": null,
            "unitId": null,
            "invoiceId": 33,
            "exchangeId": null,
            "nativeRate": "1",
            "usdtRate": "0.2881",
            "annotation": null,
            "subId": null,
            "errorText": null,
            "change": null,
            "remainingBalance": "0",
            "massPayoutId": null
        },
        {
            "id": 776,
            "createdAt": "2024-12-13T17:09:30.746Z",
            "updatedAt": "2024-12-13T17:10:36.343Z",
            "amount": "0.3",
            "availableAmount": "0.3",
            "serviceFee": null,
            "fee": null,
            "refillFee": null,
            "paymentOrderId": null,
            "externalPaymentOrderId": null,
            "currency": "TRX",
            "network": "TRC20",
            "type": "REFILL",
            "status": "completed",
            "txId": "68589e12318bc79d41b4b8a5c22549530db86ac85ecf4e518e6d44522d9d32e1",
            "addressTo": "TVJjwz9wHgNpzyEa79NXk9RMk6my3MgyLq",
            "addressFrom": "TRTrns29TM4t7V9veeCEtTwS23fv9RZUHo",
            "riskScore": 0,
            "direction": "payin",
            "origin": "outside_topup",
            "confirmations": 19,
            "payload": {},
            "externalId": 918,
            "manager": null,
            "clientId": null,
            "unitId": null,
            "invoiceId": 33,
            "exchangeId": null,
            "nativeRate": "1",
            "usdtRate": "0.2881",
            "annotation": null,
            "subId": null,
            "errorText": null,
            "change": null,
            "remainingBalance": "0.3",
            "massPayoutId": null
        }
    ]
}

Last updated

Was this helpful?