> For the complete documentation index, see [llms.txt](https://knowledge-base.zumrails.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge-base.zumrails.com/transactions-and-payment-methods/what-happens-when-a-transaction-fails.md).

# What happens when a transaction fails

> If a transaction fails, the funds are moved back to their place of origin. This is either done automatically or manually, depending on the destination.

**Accounts Receivable from user to wallet:** Funds go back to the user’s account automatically.

**Accounts Receivable from User to Funding Source:** On the back end, this is a two-step transaction.

The first is from the user to the Zum wallet.

The second is from the Zum wallet to the funding source.

If the transaction fails in the first half (user to the wallet), the funds will go back to the user’s account automatically.

If the funds clear the first step and fail after the second step is initiated (wallet to the funding source), this is considered a late failure, and the funds will need to be reversed back from the funding source to the wallet, manually. You will have to initiate another transaction from the funding source back to the wallet by using “Fund Zum Wallet”.

**Account Payable from Zum wallet to a user:** Funds go back to the wallet automatically.

**Account Payable from Funding Source to User:** This is a two-step transaction on the back end.

The first step is from the Funding Source to Zum Wallet.

The second step is from the Zum wallet to the User.

If the transaction fails in the first half of the transaction, the funds will be directed back to the funding source automatically. However, if the transaction fails after the second half is initiated (wallet to the user), this is called a late failure, and the funds will need to be directed back to the wallet manually.
