Invoice Webhooks
All invoice webhooks share the following payload structure.
Status Values
The status field can be one of:
| Status | Triggered when | Example message |
|---|---|---|
created | Invoice has been created | "Invoice created" |
pending | Client opened invoice, filled email and selected payment currency. Payment address provided, no deposits yet | "User started payment process, but hasn't paid yet" |
processing | Payment initiation info from blockchain received; waiting for transaction to complete | "The client has made a payment, transaction confirmation is pending" |
done | Payment received successfully. Amount equal to or greater than expected | "Invoice paid" |
wrong | Transaction received, but amount lower than expected | "The payment amount is lower than the amount stated on the invoice" |
refunded | A previously "Wrong"-status invoice declined by the merchant. Funds returned to client | "Invoice refunded" |
closed | Invoice expired. Either "Pending" invoice wasn't paid in time, or "Processing" invoice didn't receive payment within the required time | "Invoice closed" |