Skip to main content
GET
Get Invoice
For the complete documentation index, see llms.txt. Returns a single invoice by its number, with its line items. The response also carries asset_label, a name for the asset that you can show to people.

Path Parameters

string
required
The invoice’s unique identifier (e.g. INV-2026-A1B2C3D4)

Response

string
The invoice identifier
string
"pending", "scanned", "confirming", "paid", "expired", or "void". "confirming" means a Bitcoin payment was sent and is waiting for its first confirmation, which usually takes about 10 minutes. The invoice moves to "paid" on its own once it lands, and cannot be paid again or voided meanwhile. A payment still unconfirmed after an hour is given up on, and the invoice goes back to "pending", or to "expired" if its deadline has passed. Wait for "paid" before you hand over goods.
string
URL the customer opens to pay
string | null
URL the customer is sent to after paying, or null if none was set
boolean | null
Whether the transaction originated from the Shakesco store. true for store transactions, false for a standard invoice you created through the API, and null when it does not apply. Use this to tell store sales apart from your own invoices.
string | null
The asset the invoice is paid in, or null while the payer has not chosen one
string | null
A name for the asset to show people, for example "Polygon (USDT)", "Apple Inc. (AAPLon)" or "Loyalty token (SHK)". null when asset is null.
array
Line items on the invoice