Skip to content
Private beta · Not open to the public yet. Accounts are by invitation only. Request access →
AywaPay
All articles

Guide

Crypto underpayments and overpayments: what happens

Why customers send the wrong amount in crypto, and how a gateway should handle short, extra and late payments so no money ever gets stuck.

· 6 min read

With cards, the amount charged is always the amount asked. With crypto, the customer types or pastes the amount themselves and sends it from their own wallet or exchange. Most of the time it is exact. Sometimes it is a little short, sometimes too much, and sometimes it arrives after the invoice has expired.

How a gateway handles these cases decides whether you lose money, lose customers, or spend your evenings on support tickets. This guide explains why they happen and how AywaPay handles each one.

Why customers send the wrong amount

  • Exchange withdrawal fees. Many exchanges take their fee out of the amount being sent. The customer types 50 USDT and 49 arrives.
  • Rounding. Some wallets round to fewer decimals than the invoice asks for.
  • Two transfers. A customer short of funds pays part now and the rest from another account.
  • Paying twice. A nervous customer sends again because the first transfer was still confirming.
  • Paying late. The customer leaves the page open, comes back after it expires, and pays anyway.

Underpaid: part of the money arrived

Every confirmed payment is credited to your balance at once, whatever the amount. A $50 invoice paid with $30 puts the $30 in your balance straight away (minus the fee) and the invoice shows as part paid. It stays open until it expires, so the customer can still send the rest to the same address.

If time runs out before the rest arrives, the invoice closes as Underpaid with the percentage that is missing. The money that arrived stays yours to keep, refund, or count towards the order. Nothing waits for a support ticket.

Small shortfalls are common. You can set Accept underpayment up to (%) for a store (Stores, Invoice settings) so that, say, a payment 1% short still counts as paid.

You can also turn on pay the rest in another coin. When an invoice is underpaid, the payment page offers the missing part in the store's other coins at the current price, which helps a customer whose first wallet has run dry.

Overpaid: more money than asked

All of it is credited. A $50 invoice paid with $70 puts the full $70 in your balance, and the fee stays that of the $50 invoice, so there is no fee on the extra. The invoice is marked Overpaid so you can see the difference and refund it if you want to.

Paid late: after the invoice expired

The payment is still credited as soon as it is confirmed, and your system is told about it. Customers who pay late are not punished, and you don't need to chase a transaction on a block explorer.

Refunds

A blockchain payment can't be reversed by the payer, so refunds are always your decision. You send them from your balance, and they go back to the address that paid. That makes refunding an overpayment or a cancelled order a few clicks, with no card network in between.

How your system learns about it

Each webhook carries amount_received (everything that has arrived) and amount_remaining (what is left), so your shop can credit exactly what was paid. The statuses map one to one:

StatusMeaningMoney
partially_paidSome money arrived, not all yetAlready credited
underpaidTime ran out with part of the moneyWhat arrived is credited
overpaidMore than askedAll of it is credited
paidPaid in full and confirmedCredited
cancelledClosed with nothing receivedNone

Test invoices have Simulate underpaid and overpaid buttons, so you can see each webhook before real customers do. More in the API integration guide.

Frequently asked questions

Is an underpaid payment lost?
No. Every confirmed payment is credited to your balance, even if it is short or arrives after the invoice expired.
Do I pay a fee on an overpayment?
No. The fee stays that of the original invoice amount; the extra is credited in full.
Can a small shortfall count as paid?
Yes. Set Accept underpayment up to (%) for the store and payments within that margin are treated as paid.

Keep reading

Get started

Start accepting crypto today

  1. 01Request access
  2. 02Get your invite by email
  3. 03Add your store and get paid