Invoice statuses
| Status | Meaning | Can move to |
|---|---|---|
created | The invoice exists and is waiting for payment. It stays created while the customer picks a currency, and if they switch to another one. | processing, expired, cancelled |
processing | An on-chain payment reached the required confirmations and is being checked: amount validation and compliance screening. | paid, partially_paid, overpaid, suspended, failed |
suspended | The payment is held for compliance review. Not final. | paid, partially_paid, overpaid, failed |
paid | The received amount is within the accepted tolerance of the expected crypto amount. | Final |
partially_paid | The received amount is above the minimum deposit amount but below the expected amount minus tolerance. | Final |
overpaid | The received amount is higher than the expected amount. | Final |
expired | The invoice expired before a payment arrived. | processing for a late payment; otherwise final |
cancelled | The invoice was cancelled by the organization or the customer before payment. | Final |
failed | The payment could not be completed, for example because of a network issue or a failed compliance check. | Final |
An invoice expires 24 hours after creation by default. Pass expiresInMinutes on POST /invoice to change it.
Integration notes
Section titled “Integration notes”- Fulfil on
paid,partially_paid, oroverpaid. All three mean a payment was received. Your business logic decides whether a partial or excess payment is acceptable. - Treat
cancelledandfailedas unsuccessful final statuses. - Treat
expiredas unsuccessful, but not yet final. A late payment can still move it toprocessingwithin the late-payment window. - Use
invoice.statusChangedwebhooks as the source of truth. PollGET /invoiceonly as a fallback. You receive exactly onecreatedwebhook, even if the customer switches currency.
Late payments
Section titled “Late payments”Each payment attempt on an invoice gets its own deposit address, so a payment that arrives late can still be matched to the invoice:
- After expiry. If a payment reaches the invoice’s deposit address within 4 hours after that deposit expired, the invoice moves
expired→processingand then continues through the normal flow. Aninvoice.statusChangedwebhook is sent for each transition, as usual. - After a currency switch. If the customer switched to another currency on the payment page but still paid the address shown for the first currency within 4 hours, that payment settles the invoice. The amount is evaluated against the amount locked for that first currency. If the deposit for the newer currency hasn’t been paid yet, it is cancelled.
- Not credited automatically: payments after the 4-hour window, payments to an invoice that is already
processingor settled by another payment, and payments to acancelledinvoice. Contact support@cryptonly.net with the invoice ID and transaction hash.
If your system closes orders on expired, make sure it can still fulfil them when a later paid, partially_paid, or overpaid webhook arrives for the same invoice.
If an invoice is suspended
Section titled “If an invoice is suspended”suspended means the payment is held for compliance review. It is not a final outcome:
- While the review is open, the funds stay on the invoice’s deposit address.
- Cryptonly’s compliance team resolves the review. There is no merchant-facing action to speed it up or check its progress.
- Afterwards, the invoice moves to
paid,partially_paid,overpaid, orfailed, with the usualinvoice.statusChangedwebhook.
Review time varies with case complexity, so don’t assume a fixed SLA. Contact support@cryptonly.net if a review appears stuck.
Merchant return URLs
Section titled “Merchant return URLs”Optional returnUrl, successUrl, and failedUrl on invoice creation add a Return to merchant button to the hosted payment page. They are not webhooks and do not redirect automatically.
| Field | Shown when the invoice is |
|---|---|
successUrl | paid, overpaid |
failedUrl | failed, suspended, partially_paid |
returnUrl | cancelled, expired |
No button is shown while the invoice is created or processing. The button follows the current status: if an expired invoice receives a late payment, the returnUrl button is replaced by the one for the new status.
partially_paid uses failedUrl so you can send the payer to a recovery or contact flow, even though it still counts as a received payment for fulfilment.