Skip to main content
Call GET /api/invoices/{id}/status to check an invoice’s current payment status and whether it is overdue. This is a lightweight endpoint designed for frequent polling — the hosted invoice page uses it to update the payment confirmation UI in real time. It returns only status and overdue, so it is much cheaper than fetching the full invoice record.

Request

GET https://pay.kibble.sh/api/invoices/{id}/status

Path parameters

id
string
required
The invoice UUID returned as invoice_id when you created the invoice.

Example request

cURL
curl --request GET \
  --url https://pay.kibble.sh/api/invoices/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status

Response

A successful request returns 200 OK with the following fields.
status
string
required
The current payment status of the invoice. See the table below for all possible values.
overdue
boolean
required
true if today’s date is past the invoice due_date and the invoice has not reached paid status.

Status values

ValueMeaning
draftThe invoice was created with send_now: false and has not been emailed to the vendor yet.
sentThe vendor has been emailed the invoice and no payment has been detected.
paidThe exact amount was received — payment is complete.
partialLess than the total amount was received. The invoice is still awaiting the remaining balance.
excessMore than the total amount was received.

Example response

200
{
  "status": "paid",
  "overdue": false
}