Expired Stablecoin Payment Links: Failure Modes and Mitigation
When a USDC payment link expires before onchain settlement, what actually fails? Explore expiration mechanics, failure cases, and how to handle them.

Stablecoin payment links are a common way to collect one-time or recurring payments from customers. But onchain transactions are not always immediate. Block congestion, user delays, or wallet UX issues may lead to a payment arriving after a link or invoice has expired. This raises real questions for both merchants and customers: What happens if the link is expired before the USDC lands? How can this fail, and what can you do to handle it?
Why Expiration Exists for Stablecoin Payment Links
Expiration solves several problems. Merchants do not want customers paying old invoices by mistake. Rates, terms or caps may change. In usage-based billing, the owed amount may change after a certain date. Expiration also helps prevent replay or duplicate payments if a link is shared or bookmarked.
Links can expire for various reasons: - The merchant sets a fixed due date (e.g., 2024-08-01T12:00:00Z) - The customer is given a payment window (“pay within 10 minutes”) - The link is single-use and consumed as soon as a payment is confirmed
The Core Failure: Payment Arrives After Expiry
The key scenario: a customer signs and sends USDC, but the payment is mined after the link is no longer valid. Unlike card payments, there is no pre-authorization or hold. The customer controls when and if the payment is submitted. Network congestion, wallet issues, or user delay can all push settlement past the deadline.
Example: Missed Deadline by 2 Minutes
Suppose a merchant issues an invoice for 1,000 USDC, payable to an address, with a link that expires at 18:00 UTC. The customer attempts to pay at 17:59, but the transaction sits pending due to high gas. It is confirmed at 18:02.
What happens?
- The funds have moved: 1,000 USDC left the customer wallet and arrived at the merchant’s settlement address.
- The payment link backend sees the expiry time has passed. It will not mark the invoice as paid.
- The customer’s wallet sees a successful transfer but no invoice status update.
There is no chargeback. The payment is final and cannot be reversed onchain. The customer may need to contact the merchant to resolve the orphaned payment.
Actual Numbers: Polygon Fee Spike Example
Imagine a SaaS bill for 500 USDC on Polygon. The payment window is 5 minutes, reflecting current gas conditions. At 13:00:00, the user opens the link. At 13:04:40, they sign and send the transaction with a low gas price. Due to a spike, confirmation takes 3 more minutes, landing at 13:07:53. The invoice expired at 13:05:00.
- Payment status: Expired
- USDC transfer: Complete
- SaaS account: Not credited automatically
The merchant can match the payment by reviewing onchain receipts, but this process is manual. The user experience is poor. The customer may believe they paid on time, but the invoice tool cannot confirm it.
Technical Patterns for Expiry Enforcement
There are two main ways expiry is enforced in stablecoin payments:
1. Offchain Expiry Windows
Most payment links are tracked offchain. The backend checks link status and expiry, then looks for a matching onchain transfer. If the transfer is confirmed after expiry, it is considered late, even if the user initiated it before the deadline. This is simple to enforce and audit.
2. Onchain Expiry Logic (Rare)
Some protocols use smart contracts with deadlines. For example, a contract might accept a payment only if block.timestamp < expiry. This prevents late settlement fully, but is less common in SaaS and B2B payments. Most non-custodial SaaS billing tools, including Reclack, use offchain expiry.
Edge Cases and Mitigations
Duplicate Payments After Expiry
If a link expires but is not deactivated or removed, a customer may pay twice. Only the first payment can be matched to the original invoice. Later payments are not recognized by the backend. Merchants need to decide how to handle excess funds: return, credit, or contact support.
Orphaned Payments and Reconciliation
When a payment arrives after expiry, the system cannot automatically match it to an open invoice. Reconciliation becomes a manual task. Operators must watch for unmatched incoming transfers and decide how to attribute them.
Customer-side Failure and Support
Customers may not realize their payment was late. Wallets do not track offchain expiry. Clear messaging on the payment link and in post-expiry states is critical. A good flow: - Payment link warns: “Payment window ends at 18:00 UTC” - After expiry, the link displays “This invoice has expired. Do not send payment.” - Support instructions are available in case of mistaken payment.
Handling Expired Payment Links in Reclack Flows
We use strict expiry checks: offchain expiry times are enforced at the backend. If a payment is confirmed after a link expires, it is not matched to the invoice. The funds arrive at the merchant-controlled settlement address, but no automatic credit is given. The merchant receives a webhook for the late transfer and can reconcile it manually. The customer is shown a clear expired state after the deadline. There is no way for Reclack to reverse a confirmed payment, and we never hold funds. For more on our patterns and flows, see reclack.com.


