A merchant can create an invoice and send its url to a customer's email for payment. A new charge will be created on the invoice object once it has been viewed by the customer.

An invoice can only be deleted by the admin if and only if the customer has not viewed it.

Merchants can filter their list of invoices by the following status, OPEN, DELETED, VIEW or PAID

The invoice object

Attributes


id string
Unique identifier for the invoice


business_id string
Unique identifier for the business


name string
Name for the invoice


reference string
Unique reference for the invoice


description string
Invoice description


customer_email string
recipient invoice email


customer_name string
recipient invoice name


local_amount float64
amount in local currency


local_currency string
currency of invoice payment


status string
invoice status


created_at timestamp
time invoice was created i.e 2023-02-24T14:06:53.144733+01:00


updated_at timestamp
time invoice was last updated i.e 2023-02-24T14:06:53.144733+01:00


due_date timestamp
due date of invoice if set i.e 2023-02-24T14:06:53.144733+01:00