Invoices
The API supports three types of invoices — regular, AnyAmount, and business.
Regular Invoices
Regular invoices have a fixed amount defined by the merchant. The client pays the exact specified amount.
AnyAmount Invoices
AnyAmount invoices allow the client to decide how much to pay. These are useful for donations, tips, or custom payments.
Key Differences from Regular Invoices
- Items do not require a
pricefield WrongandRefundedstatuses are not applicable (no expected amount is defined, so underpayment and refunding are impossible)- Best practice is to use only one item/service/purpose per AnyAmount invoice
Business Invoices
Business invoices are professional invoices with extended details, suitable for B2B transactions. They include seller/buyer info, tax details, invoice numbers, and dates.
Get Invoice Info
All invoice types use the same endpoint for retrieving invoice info: see Get Regular Invoice Info.