Skip to main content
GET
/
api
/
v1
/
invoices
/
{id}
/
status
curl https://api.settlx.io/api/v1/invoices/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "status": "pending",
    "amount": "49.99",
    "currency": "USD",
    "description": "Order #1234",
    "merchantName": "Acme Inc",
    "confirmations": 0,
    "requiredConfirmations": 0,
    "paymentStatus": "pending",
    "paymentStatusDetail": null,
    "settledAmount": null,
    "txHash": null,
    "expiresAt": "2024-01-15T10:30:00.000Z",
    "createdAt": "2024-01-15T10:00:00.000Z",
    "returnUrl": null,
    "totalReceivedAmount": "0",
    "totalReceivedCurrency": "USD",
    "remainingAmount": "49.99000000",
    "paymentProgress": 0,
    "hasDetectedPayment": false,
    "detectedPaymentAmount": null,
    "detectedPaymentCurrency": null,
    "paymentIssueType": null,
    "mismatchPayment": null
  }
}

Get Invoice Status

Public endpoint for polling invoice payment status. Designed for use on the customer-facing checkout page as a fallback when the WebSocket connection is unavailable. This endpoint does not require authentication.
Prefer the WebSocket at /ws/invoices/:id for real-time updates. Use this endpoint only as a polling fallback. Recommended polling interval: 5–10 seconds.

Path Parameters

id
string
required
UUID of the invoice.

Response

data
object
curl https://api.settlx.io/api/v1/invoices/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "status": "pending",
    "amount": "49.99",
    "currency": "USD",
    "description": "Order #1234",
    "merchantName": "Acme Inc",
    "confirmations": 0,
    "requiredConfirmations": 0,
    "paymentStatus": "pending",
    "paymentStatusDetail": null,
    "settledAmount": null,
    "txHash": null,
    "expiresAt": "2024-01-15T10:30:00.000Z",
    "createdAt": "2024-01-15T10:00:00.000Z",
    "returnUrl": null,
    "totalReceivedAmount": "0",
    "totalReceivedCurrency": "USD",
    "remainingAmount": "49.99000000",
    "paymentProgress": 0,
    "hasDetectedPayment": false,
    "detectedPaymentAmount": null,
    "detectedPaymentCurrency": null,
    "paymentIssueType": null,
    "mismatchPayment": null
  }
}
This endpoint is public — anyone with the invoice ID can poll it. Do not include the invoice ID in URLs that customers can bookmark and share with third parties if you consider the metadata sensitive.