Invoices
Document revision ID: r-81b23bc867a357f4
On this page
/cash/v1/merchant/invoices Auth: API key (Bearer)invoices:writeAn invoice is a bill for one customer, paid on the platform's invoice page (/checkout/i/…). The customer chooses a payment method there and, when you allow it, pays in several parts. With a crypto asset you receive directly with an amount tail, the customer sends slightly more than the amount of that payment (the attempt's payableAmount), while paidAmount and remaining count the amount without the tail (see Acquiring API overview → Direct receiving and amount tails). With a crypto asset other than the invoice currency, the platform converts the payment into that asset and locks the amount: the attempt is an order in the asset, its quote holds the invoice value, and paidAmount and remaining count quote.pricingAmount, so they stay in the invoice currency (see Acquiring API overview → Price currency and pay currency). Invoices are payment requests like payment links: the statuses, the KYC rules and the response shapes are described in Acquiring API overview, and the full object in .