Create Invoice
Invoices
Create Invoice
Create a new invoice and return a payment URL the customer opens to pay
POST
Create Invoice
Creates an invoice and returns the full invoice object together with aDocumentation Index
Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt
Use this file to discover all available pages before exploring further.
payment_url the customer opens to complete payment.
Request Body
"public" or "private". Private mode uses stealth addresses. Defaults to your account’s privacy setting.Currency code for the invoice amount (e.g.
"USD", "KES"). See all codesLine items (at least one required)
Customer’s email address. Omit or pass
null for walk-in customers.Customer’s display name (optional)
Two-letter country code of the payer (optional)
Tax percentage (e.g.
16 for 16%). Defaults to 0.Optional array of store item objects to link catalogue items to this invoice.
Preferred payment asset:
"BTC", "ETH", "USDT", or "SATS". Can be deferred and set by the payer.Response
Returns the full invoice object with line items.Unique invoice identifier (e.g.
"INV-2026-a1b2c3d4")Encrypted URL the customer opens to complete payment
"pending" on creationInvoice currency code
Tax percentage applied
ISO 8601 datetime after which the invoice expires
Deferred. Set to
null until the payer initiates payment.Payment asset,
null until chosen by the payerLine items on the invoice. Each has
description, unit, price, and image.