GET /api/v1/invoices/:invoiceId — Fetch Invoice Details
GET /api/v1/invoices/:invoiceId — retrieves an invoice with full details including settlement history, usage events, and related records.
Fetch a full invoice record to check payment status, review settlement history, or inspect associated usage events. The response includes all related objects — service, payment plan, user, subscription, settlements, and usage events — so you have a complete picture of the invoice lifecycle in a single call.
GET https://api.retempo.xyz/api/v1/invoices/:invoiceId
Check the paidAt field — it is populated only after a settlement against this invoice is confirmed. Until then it is null regardless of the invoice status.