Skip to main content

GET /v1/invoices/:id

Public endpoint โ€” no authentication required. Returns the safe invoice shape used by the hosted checkout page.

curl https://api.helamesh.com/v1/invoices/65f8a1b2c3d4e5f6a7b8c9d0

Responseโ€‹

{
"id": "65f8a1b2c3d4e5f6a7b8c9d0",
"amount": "25.000000",
"token": "USDT",
"network": "TRON",
"status": "PENDING",
"paymentAddress": "TUEZSdKsoDHQMeZwihtdoBiN46zxhGWYdH",
"expiresAt": "2026-04-10T18:30:00.000Z",
"txHash": null,
"confirmations": 0,
"metadata": { "orderId": "1234" },
"simulated": false,
"environment": "test",
"publishableKey": "pk_test_โ€ฆ"
}

Response shape is identical to POST /v1/invoices โ€” see that page for the full field reference.

The fields txHash and confirmations populate as the payment progresses on-chain. Poll this endpoint every 4-5 seconds if you need to display live status, or use the SDK embed which handles polling automatically.