Docs
API ReferenceInvoicesGet Invoice Status

Get Invoice Status

GET/api/v1/invoices/{id}/statusCore

Five-field projection of the invoice, cheap enough to poll while the buyer is on the checkout page. Prefer the payment.completed webhook for settlement; use this to reconcile after a missed delivery or to decide whether an unpaid invoice is still inside its window.

Authentication

Signature Pattern

HMAC-SHA256(apiSecret, "{t}\nGET\n/api/v1/invoices/{id}/status\n{sha256(\"\")}")
HeaderValueDescription
X-API-Keya3f9c1e84b7d2065f1a4c8e93b6d0271Merchant point API key, a hex string issued with its secret when the point is created. Identifies the point whose invoices you can reach.
X-Signaturet=1787735662,v1=8c1f0b7d4a29e63f5b0c8d17a4e92f6b3d05c7a81e4f9b26d3c07a5e18b4f962Request signature, format t={unix_seconds},v1={hex_hmac_sha256}. Timestamp tolerance is 300s.
Content-Typeapplication/jsonAlways application/json. The signature is taken over the raw body bytes, so send exactly what you signed.

Request Parameters

NameTypeRequiredDescription
idstringRequiredPath parameter โ€” invoice CUID. Unknown or out-of-scope ids return INVOICE_NOT_FOUND.

Response Parameters

FieldTypeExample
idstring"clyv3n8x40001qh7m2k9d5b1t"
referenceIdstring"INV-260826-041C"
statusstring"PAID"
paidAtstring"2026-08-26T09:31:47.118Z"
expiresAtstring"2026-08-26T10:14:22.481Z"

Response Example

JSONResponse
{
  "success": true,
  "data": {
    "id": "clyv3n8x40001qh7m2k9d5b1t",
    "referenceId": "INV-260826-041C",
    "status": "PAID",
    "paidAt": "2026-08-26T09:31:47.118Z",
    "expiresAt": "2026-08-26T10:14:22.481Z"
  },
  "timestamp": "2026-08-26T13:41:02.477Z",
  "requestId": "req_V1StGXR8_Z5j"
}

Error shape

JSONError
{
  "success": false,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found"
  },
  "timestamp": "2026-08-26T13:41:02.477Z",
  "requestId": "req_V1StGXR8_Z5j"
}

Status Codes

200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
Try itMockapi2.havala.io
GEThttps://api2.havala.io