Invoices
Create and retrieve Bitcoin payment invoices. Each invoice generates a Lightning and/or on-chain Bitcoin address that your customer can pay. Once settled, the funds are forwarded to your configured wallet automatically.
Authentication: All endpoints require the x-api-key header. You can find your API key in the Coinsnap dashboard under Settings → Store → API Keys.
Get invoices
Returns a list of all invoices for the given store, ordered by creation date (newest first).
Create a new invoice
Creates a Bitcoin payment invoice and returns the checkout link, Lightning invoice (BOLT11), and on-chain Bitcoin address.
Get invoice
Get invoice
Get customer payments for an invoice
Get customer payments for an invoice