PAID — you never need to mark it manually.
Creating an invoice
To create an invoice, send aPOST request to /api/v1/invoices. You must supply a serviceId, paymentPlanId, userId (the subscriber being billed), and an amount. The currency defaults to USDC if omitted, and status defaults to DRAFT. Use dueAt to set a payment deadline and subscriptionId to attach the invoice to an active subscription cycle.
Invoice statuses
An invoice moves through the following statuses during its lifetime:Fetching invoice status
To check the current status of an invoice and see any settlements that have been applied, send aGET request with the invoice ID:
settlements array in the response — each entry represents an onchain settlement attempt against this invoice. Once a settlement reaches CONFIRMED, the invoice status will be PAID.