Durianpay enables you to create invoices for your customers to pay to. We’ll provide the UI, and the payment flow.
A customer can have multiple invoices, and they can pay partially/single invoice/multiple invoices in a single payment
Once a customer pays to his virtual account, you will be notified of the payment using a webhook. In the webhook we will tell you how much amount paid to each invoice for easier reconciliation.
Invoice Life Cycle
When you create an invoice, it is in outstanding state. It stays in this state till any transaction is completed against it and the remaining amount is 0
After the successful capture of the transaction when remaining amount is 0, the invoice moves to the paid state. No further transaction requests are permitted once the invoice moves to the paid state. The invoice stays in this state even if the transaction associated with the invoice is refunded
string The unique identifier of Invoice.
string The unique identifier of Invoice from the merchant.
string The title of the invoice.
string This is the url of invoice and will be used for the customer to download the invoice.
string The amount for which the Invoice was created.
string The remaining amount for which the payment is due for the Invoice.
string The currency associated with the Invoice's amount.
string The status of Invoice.
boolean Flag denoting if the Invoice has been created in sandbox or live mode. Note sandbox mode is not supported as of now.
boolean Flag denoting if partial transactions are allowed for the Invoice or not.
json object Key-Value pair that can be used to store configuration about partial transactions like minimum acceptable amount for a partial transaction
timestamp Indicates the date when the Invoice becomes active.
timestamp Indicates the date for when the payment is due for this Invoice.
boolean Flag denoting if transactions for Invoice are blocked or not.
timestamp Indicates the timestamp when this Invoice was created.
object Information about the customer for whom the Invoice was created.