Skip to main content

Invoice Statuses

Every PaidLys invoice goes through a lifecycle of status changes. This page documents all possible statuses and their meanings.

Status Reference

StatusDescription
createdInvoice has been created by a merchant but hasn't been filled with client's info (email, payment currency and its network)
pendingClient has filled invoice with their info and received the payment address for deposit to be made. Deposit is still not received
processingDeposit receiving procedure has started and is in progress
doneDeposit is successfully received. One of: deposit amount equals or is greater than expected; previously "wrong" invoice accepted by merchant; deposit amount is lower than expected by a sum covered by underpayment limit
wrongDeposit is successfully received, but its amount is lower than expected (lower than invoice total amount)
refundedPreviously "wrong"-statused invoice has been rejected by merchant
failedDeposit receiving failed by the system due to technical issues
expiredPreviously "pending"-statused invoice hasn't received payment till expiration time

Status Flow Diagram

┌─────────┐ Client fills ┌─────────┐ Payment ┌────────────┐
│ Created │ ──────────────────► │ Pending │ ── detected ──► │ Processing │
└─────────┘ └─────────┘ └────────────┘
│ │
│ timeout │
▼ ▼
┌─────────┐ ┌──────────────┐
│ Expired │ │ Done / Wrong │
└─────────┘ └──────────────┘

(if Wrong) │
┌───────────────┼───────────────┐
▼ ▼
┌──────────┐ ┌──────────┐
│ Done │ │ Refunded │
│(accepted)│ │(declined)│
└──────────┘ └──────────┘

Expiration Rules

AssetExpiration Time
All assets except BTC30 minutes
BTC120 minutes
note

Expiration applies from the moment a payment address is assigned (when the invoice transitions to pending status).

Status Applicability by Invoice Type

StatusRegularAnyAmountBusiness
createdYesYesYes
pendingYesYesYes
processingYesYesYes
doneYesYesYes
wrongYesNoYes
refundedYesNoYes
failedYesYesYes
expiredYesYesYes
tip

AnyAmount invoices cannot have wrong or refunded statuses because there is no expected amount to compare against.