Use the endpoints below to create new invoices. When a new invoice is created, the "Created" status is assigned to it.
Once the invoice is created, the backend begins tracking incoming payments on the blockchain and updates the status and other attributes accordingly.
The following statuses could be assigned to an invoice:
Initial status for new invoices
Paid or SimplePaid
The payment was successfully processed on the blockchain
Error, the amount provided by the customer is greater than the amount of invoice
Error, the amount provided by the customer is lower than the amount of invoice
Error, the invoice is expired and can no longer be processed
Generic internal error during invoice processing
Create an invoice
You can get invoice details and status using the method below.