Invoices
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:
Status | Description |
Created | Initial status for new invoices |
Paid or SimplePaid | The payment was successfully processed on the blockchain |
OverPaid | Error, the amount provided by the customer is greater than the amount of invoice |
UnderPaid | Error, the amount provided by the customer is lower than the amount of invoice |
Expired | Error, the invoice is expired and can no longer be processed |
Invalid | Generic internal error during invoice processing |
post
<api>
/integration/invoices
Create an invoice
You can get invoice details and status using the method below.
get
<api>
/integration/invoices/<id>
Get invoice
Last modified 1mo ago