The error ‘order match expired’ means you didn’t pay within 20 blocks (or whatever it is) from the block when your offer got matched with the seller.
I think your transaction should simply fail (i.e. the tx fee you paid will be wasted, but the BTC used to pay for the order will likely return). @loon3 do you know what happens in this case?
Well, not quite, I did send BTC to the seller’s address and then used the API.
Now that I have looked a bit more into it, it would appear that using BTC Pay via the API will actually send the BTC to the seller without someone manually doing it…
So, I guess my question is, is there a way to recover the BTC?
@cryptokenya The btcpay tx is a simple btc send tx with an op_return referencing the dex order tx id. Sending this tx after the dex order expires will prevent it from matching, so essentially you’re just sending the order creator some btc. There’s no way to “recover” the funds; you’d need the recipient to send it back to you.
hello this may be too late but I have some failed and expired BTCPay without the whole BTC going back to my account, how can I recover them if it still exists?