By default, invoices are delivered to your customers automatically. You can instead choose to deliver invoices yourself by settingDocumentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
invoice_channel: "merchant". This gives you control over the delivery method, timing, and branding. It works with both customer checkout and merchant initiated.
How It Works
Configuration
Setinvoice_channel: "merchant" to enable custom distribution.
Session-Level Configuration (Customer Checkout)
Payment Level Configuration (Merchant Initiated)
Configuration Precedence
The value is resolved in this order:- Session/payment configuration (highest priority)
- Checkout payment options (fallback)
- Default:
"kravia"
Delivering the Invoice
After the transaction isAUTHORIZED, the Kravia invoice has been created and is ready for delivery. Before you deliver it through your own channel, capture the transaction to start collection with Kravia.
1. Capture the Transaction
Call capture to start collection with Kravia:AUTHORIZED; an INITIATE_CAPTURE event is appended to record that collection has started. The transaction will move to CAPTURED (or PARTIALLY_CAPTURED) once Kravia confirms the shopper has paid.
For shared capture semantics, see Transaction management.
2. Deliver Through Your Channel
Send the invoice to your customer through your own channel, such as email, SMS, a third-party platform, your ERP system, or any other channel. To send the generated invoice, use thekravia:invoice_url value from the transaction metadata to retrieve the generated PDF:
Cancellations
Refund is not supported for Kravia. To cancel an invoice — including one delivered through your own channel — usePOST /v1/transactions/{id}/void. See Cancellations in Customer checkout for the full rules per state.
See Also
- Customer Checkout: customer selects invoice at checkout
- Merchant Initiated: create and pay invoices without customer interaction