Skip to main content
GET
MCP scope: dac.read Use this endpoint to retrieve invoices previously created in your Finrock sub-account. You can fetch all invoices or narrow the results by providing a specific invoice ID or a memo string to match. This is useful for reconciling payments, checking invoice status, and building invoice management workflows in your application.

Query Parameters

string
The unique identifier of the invoice you want to retrieve. When provided, the response contains only the matching invoice.
string
Filter invoices by memo text. Returns all invoices whose memo field matches or contains the provided string.

Response

A successful request returns HTTP 200 with an array of invoice objects matching your filters. Each object has the same format as the Create Invoice response. If no invoice matches the id or memo you pass, the API returns an empty array, [].
If you connect through Finrock sign-in (for example, the Claude connector), you must pass id or memo. Listing all invoices without a filter works only with an API key.
string
Unique invoice identifier.
string
Invoice status. One of Pending, Processing, Paid, Expired, Failed, Cancelled, or Refunded.
object
Fiat price of the invoice and how much of it has been paid.
object
Crypto asset, amount due, and the deposit address the payer sends funds to.
string
The memo attached to the invoice.
object
Payer details. Each field is null when not provided.
object
Details of the company issuing the invoice.
integer
Invoice expiry time as a Unix timestamp in seconds.
string
On-chain hash of the payment transaction. null until a payment is received.
string
Block explorer URL for the payment transaction. null until a payment is received.
string
URL of the hosted payment page.
string
URL that receives payment notifications for this invoice.
string
URL the payer is redirected to after a successful payment.
string
URL the payer is redirected to when the payment fails.
string
Block confirmations received out of the number required, for example 0/5.
array
Payment transactions received against this invoice. Empty until a payment arrives.
To retrieve a single invoice by ID, pass only the id query parameter. To browse all invoices for reconciliation, omit both parameters (API key connections only).