DEV Community

CigalPay
CigalPay

Posted on Originally published at cigalpay.com

Why Crypto Invoices Expire: Exchange-Rate Locks Explained

In short

  • A crypto invoice converts your fiat price into a coin amount at the current rate. Because crypto prices move, that quote is valid only for a short window.
  • CigalPay locks the rate for 30 minutes. If no payment arrives in time, the invoice expires and the customer starts a new one at a fresh rate.
  • Stablecoins like USDT remove most of the price risk, but a time limit still keeps orders and payments matched cleanly.

Customers sometimes ask why a crypto checkout has a countdown when a card payment doesn't. The answer is price: a card payment settles in your own currency, while a crypto payment is a fixed amount of a coin whose value changes minute by minute. The timer is what makes that work fairly for both sides.

How a rate lock works

  1. Your order is priced in your currency, for example €240.
  2. When the customer picks a coin, the checkout converts €240 at the current exchange rate into an exact amount of that coin.
  3. That amount is held for a fixed period - 30 minutes in CigalPay - while the customer completes the transfer.
  4. If the payment arrives within the window, the order is paid at the locked rate, even if the market moved meanwhile.

Why the window can't be open forever

Without a time limit, a customer could open a checkout, wait for the coin's price to rise, and pay later with fewer euros' worth of crypto. Or the price could fall and you'd receive less than the order is worth. A short window keeps the quoted amount close to the real value of the order. It also keeps your records tidy: each invoice has a clear outcome - paid, partially paid, expired or failed.

What happens when an invoice expires?

  • No payment received: the invoice closes. The customer returns to your shop and starts a new payment at the current rate.
  • Payment sent too late: a transfer that arrives after the window closes isn't matched to the order automatically. The customer should contact you with their payment ID so it can be resolved by hand.
  • Part of the amount paid: the invoice is marked partially paid. See how to handle partial payments.

Make the countdown visible. CigalPay's checkout shows the remaining time and switches to a warning in the last five minutes. Once a payment is detected, the timer disappears - a ticking clock after the customer has paid only causes worry.

Rate locks and payment links

The same window applies to payment links you create in the merchant dashboard: a link is open for 30 minutes from the moment it's created. Create the link when the customer is ready to pay - not days in advance - and create a fresh one if it expires. We cover link workflows in payment links vs. API integration.

Do stablecoin invoices still need a timer?

A dollar stablecoin barely moves against the dollar, so the price risk is small for USD-priced orders. For a euro-priced order, the EUR/USD rate still moves. And a time limit keeps the link between order and payment clear. That's why stablecoin invoices use the same window - see accepting USDT on Tron.

FAQ

How long does a customer have to pay a CigalPay invoice?

30 minutes from the moment the invoice is created. The checkout shows a live countdown.

My payment link expired before the customer paid. What now?

Create a new payment link from the dashboard and send it to the customer. The new link uses the current exchange rate.

The customer paid after the invoice expired. Is the money lost?

Not necessarily. Late payments need manual handling: ask the customer for their payment ID and the transaction details, and contact support.

Sources


Originally published on the CigalPay blog. Disclosure: I'm part of the CigalPay team. Questions? Ask in the comments.

Top comments (0)