How Invoices Work
The invoice is generated based on the payment or billing information provided by the merchant. The typical invoice flow is:Invoice Information
An invoice can contain billing information such as:Invoice Calculation
The invoice amount can be represented as:Different available Invoices for one time payments
Invoices are created automatically once the payment is successful for one-time payments. Merchants can retrieve individual invoices, retrieve multiple invoices, process refunds, and email invoices to customers. Created invoices can be fetched using below API’s:1. Get Invoice
Use the Get Invoice API to retrieve the details of a specific invoice. This can be used when the merchant needs to:- Retrieve invoice details.
- Check the invoice status.
- View invoice amount and currency.
- Retrieve customer and billing information.
- Check payment or transaction details associated with the invoice.
2. Get All Invoice
Use the Get All Invoice API to retrieve invoices associated with the merchant. This can be used when the merchant needs to:- Display invoices in an internal dashboard.
- Retrieve multiple invoices.
- Track invoice statuses.
- Search or manage invoice records.
3. Refund Invoice
Use the Refund Invoice API when the merchant needs to refund a payment associated with an invoice. Typical Use Cases- Customer requests a refund.
- Order or service is cancelled.
- Duplicate payment.
- Incorrect amount charged.
- Merchant decides to provide a full or applicable partial refund.
4. Email Invoice
Use the Email Invoice API to send an invoice to the customer through email. This can be used when the merchant wants to:- Send an invoice to the customer’s registered email address.
- Resend an invoice.
- Provide the customer with invoice details after payment.
- Share an invoice for record-keeping purposes.