<p>Your question as to what levels of transaction revert of such activity can be done is an a way the question: what provisions should be in a contract for this of business. Although there are plenty of ways to create an appropriate contract, it remains a contract between parties that are expected to handle in good faith. And that may not be necessarily the case with the example you mentioned.
That said: in the case of a ongoing investment on could envision a type of contract which remains active for the whole duration of the investment and which includes a provision for the investor to request a return of the funds, e.g. first into escrow in preparation of a timely return after an agreed period. Of course this assumes that there are funds there to be returned ...</p>

CC BY-SA 4.0
2021-07-11T13:30:20.887Z
i agree with you. thanks
Amit
CC BY-SA 4.0
2021-07-10T13:41:56.327Z
2021-07-10T13:41:56.327Z
vcwebco
<p>There is no way to revert a payment. One of the core features of a blockchain is that it is immutable (unchangeable).</p>
<p>As for smart contracts, you could definitely write a script to hold the funds in escrow. This would allow the parties to verify that the goods were passed before the funds are handed over.</p>
<p>This still wouldn't be &quot;revert&quot;ing, but could protect the customer in a similar way.</p>

CC BY-SA 4.0
2021-07-08T07:27:57.057Z
thanks for response i understand, this will  be interesting if we could figure out over time human error is the biggest error to resolve... may be we can create a system where we have a settlement layer or something similar. may be reach the person using human genome code to find the unique individual :-)
Amit
CC BY-SA 4.0
2021-07-08T05:58:01.550Z
2021-07-08T05:58:01.550Z
Mitchell Turner
<p>Recently I came across a situation: a payment was executed by a customer on a site but then the consumer changed his mind.</p>
<p>What levels of transaction revert of such activity can be done?</p>
<p>e.g. X invested a coin into a dubious looking site and now there is no response from the site or site is taken down and site owner disappeared. Now what next can be done?</p>
<p>Can a smart contract react to such situations where I put a timeline for response to revert payment back?</p>

<cardano-cli><smart-contract><transaction><blockchain>
Is there anyway to cancel payment or revert a payment
# Is there anyway to cancel payment or revert a payment

(Asked by: username_0 on 2021-07-08)

Recently I came across a situation: a payment was executed by a customer on a site but then the consumer changed his mind.

What levels of transaction revert of such activity can be done?

e.g. X invested a coin into a dubious looking site and now there is no response from the site or site is taken down and site owner disappeared. Now what next can be done?

Can a smart contract react to such situations where I put a timeline for response to revert payment back?

**Tags:** cardano-cli, smart-contract, transaction, blockchain

---

## 2 answers

### Answer by username_1 on 2021-07-10. Score: 1 | Accepted answer

Your question as to what levels of transaction revert of such activity can be done is an a way the question: what provisions should be in a contract for this of business. Although there are plenty of ways to create an appropriate contract, it remains a contract between parties that are expected to handle in good faith. And that may not be necessarily the case with the example you mentioned.
That said: in the case of a ongoing investment on could envision a type of contract which remains active for the whole duration of the investment and which includes a provision for the investor to request a return of the funds, e.g. first into escrow in preparation of a timely return after an agreed period. Of course this assumes that there are funds there to be returned ...

> **Comments:**
> **username_0**: i agree with you. thanks  

---

### Answer by username_2 on 2021-07-08. Score: 2

There is no way to revert a payment. One of the core features of a blockchain is that it is immutable (unchangeable).

As for smart contracts, you could definitely write a script to hold the funds in escrow. This would allow the parties to verify that the goods were passed before the funds are handed over.

This still wouldn't be "revert"ing, but could protect the customer in a similar way.

> **Comments:**
> **username_0**: thanks for response i understand, this will  be interesting if we could figure out over time human error is the biggest error to resolve... may be we can create a system where we have a settlement layer or something similar. may be reach the person using human genome code to find the unique individual :-)  

---

