Find something... ⌘K

User flows and examples / Status tracking

Mispaid sells

What happens when a user pays a sell the wrong amount, too late, in parts or twice, and how the BTC comes back. It is for support teams and for apps that show a Bitcoin deposit address. Other failures: When it fails.

What can go wrong

A sell goes wrong when the payment is the wrong amount or too late. The contract proves only an output of exactly the amount in sats, inside the window.

What happenedstateResultDo
Exact, in timein_progress, completedPayout releasedNothing
Exact, one block after the deadlinein_progressStill the user'sGET /orders/{id}/claim
Different amountawaiting_deposit, expiredReturned under the mispaid-sell policyNothing: it is returned automatically
Later than thatexpiredReturned under the mispaid-sell policyNothing: it is returned automatically
Never paidexpiredNothing was sentNew order

The solver sends the proof itself. If a paid order sits unproven, GET /orders/{id}/claim answers the proof as a transaction any wallet may send. The payout still goes only to the user. Prevent support cases: show the exact amount, ask for one payment, and show the time left from expiresAt.

The mispaid-sell policy

Your Bitcoin is not lost. A payment the contract cannot match stays at the order's deposit address, which is held by the solver that locked your payout, and it is returned to you.

What happenedWhat happens next
Paid the exact amount, one block lateThe payout is still yours. GET /orders/{id}/claim builds the claim, and any wallet can send it
Paid a different amountThe full payment is returned, less only the Bitcoin network fee for the return
Paid more than one block lateThe full payment is returned, less only the Bitcoin network fee for the return
Paid in more than one output or transactionEvery part is returned, less only the Bitcoin network fee for the return
Paid again after the order settledThe extra payment is returned, less only the Bitcoin network fee for the return
  • No request needed. Maxy's solver returns a mispaid payment automatically, once the order can no longer settle: to the payer address named in the quote, or, where none was named, to the address behind the payment's largest input. A payment that arrives after the order ended goes back after its first confirmation. The deposit address is watched for 30 days after the order ends.
  • Where it goes. To a Bitcoin address you name. If you name none, to the address behind the payment's largest input. If you paid from an exchange, always name an address: the exchange's sending address may not credit you. On an order placed through the API, the payer address given as fromAddress on the quote is the address you named.
  • How to ask. To have a return sent to a different address, write to your Maxy contact, the route for help with an order on Working with Maxy, with the txid and the proof below. An end user asks the app they used, which passes it on. Send the Bitcoin txid to your app's support or to Maxy. To name an address, show the payment is yours: sign a message with the Bitcoin address that paid, or with the EVM wallet that signed the sell order.
  • How long it takes. A return is sent within 3 business days of a verified request.
  • What it costs. Nothing beyond the network fee. Maxy charges no fee for a return.

Every solver that fills sells accepts this policy as a condition of taking part.