USDT Exception Handling
What StagePay and the merchant do in cases of underpayment, overpayment, deposits after expiry, transfers on the wrong network, and unmatched deposits.
StagePay automatically confirms only deposits whose amount and timing match exactly. Other cases are not processed automatically, to prevent loss of funds or incorrect grants, and are left for operator review.
| Situation | crypto.state | Transaction status | Automatic handling | Callback |
|---|---|---|---|---|
| Exact amount, within the validity period | confirmed | success | ✅ Confirmed | payment.succeeded |
| Underpayment (within tolerance) | confirmed | success | ✅ Confirmed | payment.succeeded |
| Underpayment (exceeds tolerance) | underpaid | pending → expired on expiry | ❌ Review | None |
| Overpayment | overpaid | pending | ❌ Review | None |
| Deposit after expiry | late | expired | ❌ Review | None |
| Waiting for confirmations | detected | pending | Confirmed when confirmations are reached | On confirmation |
| Sent on a different network/token | — | pending/expired | ❌ Cannot be detected | None |
| Deposit whose amount matches no order | Unmatched deposit | — | ❌ Held | None |
Handling after review
An operator (or an authorized merchant staff member) chooses one of the following in the console.
- Manual confirmation — Accepts the deposit and transitions the transaction to
success. This goes through the same common confirmation path as a regular payment, so thepayment.succeededcallback is sent once. - Return (refund) — StagePay cannot make blockchain transfers on your behalf, so the merchant returns funds directly from the receiving wallet. Record the result (the return txHash) in the console. See Settlement and refund policy.
- Manual matching — Links an unmatched deposit to a specific order (e.g. when the customer submits the transaction ID and txHash).
Processed chain transactions are recorded only once per (network, txHash, logIndex), so the same deposit can never be confirmed twice.
Common situations
Exceptions for assets other than USDT
- Missing or wrong XRP tag — A payment without a destination tag, or with an unknown tag, is never linked automatically even if the amount matches; it is kept as an unmatched deposit. Ask the customer for the txHash and match it manually.
- Price lock expired — For volatile assets the payment validity is
quote_minutes(default 15). Deposits arriving later are reviewed aslate(not auto-confirmed because of price movement). - BTC/LTC mempool transfer disappeared — If it is replaced (RBF) or dropped before being mined, the match is reverted and the order is waiting for payment again (an operational alert is sent).
- Internal contract transfers — ETH, BNB, POL or TRX sent by a smart contract through an internal call are not detected. If the customer sends a txHash, check the balance and handle it manually.
- Small shortfall on volatile assets — Up to 0.5% by default is confirmed automatically (
matchReason=within_tolerance); more goes tounderpaidreview.
USDT Customer Experience
The USDT payment screen customers see, precautions when sending funds, and example status displays and customer messaging.
USDT Settlement and Refund Policy
How USDT payments are settled (fee settlement), exchange rate snapshots, why on-chain refunds are manual, and the refund procedure.