> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ach.netevia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Scenarios - Batch Payout

> A description of the different transaction scenarios that can occur when using batch payouts.

## Successful Transaction

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/8997257801d345396ae2979f93a072383865029dd35ce7fabf8863915708cadb-Successful_Transaction-2024-12-04-152035.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=875f612922f9c0557132b0a21c90fbb5" alt="" width="1691" height="3840" data-path="images/docs/8997257801d345396ae2979f93a072383865029dd35ce7fabf8863915708cadb-Successful_Transaction-2024-12-04-152035.png" />

### Flow of Funds

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/bd362a3f108f8c7089c835345c363ef69eba36dab5d765c982fc63d35dc6e0a1-F_Successful_Transaction_Batch-2024-12-12-210944.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=a01af9ec6e952ecfac4b958b7c7a159d" alt="" width="3840" height="1369" data-path="images/docs/bd362a3f108f8c7089c835345c363ef69eba36dab5d765c982fc63d35dc6e0a1-F_Successful_Transaction_Batch-2024-12-12-210944.png" />

#### History

* Transaction started.
* Capture from payor completed.
* Batch Payout to processor completed.
* Transaction completed.
* Processor payout.

## Cancelled Transaction Before Capture

This when a transaction is cancelled. Currently they can only be cancelled in the CAPTURE\_PENDING state.

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/b7934051c5d2ad0426c8ea4a73d7942ed0721ec81df72841ad5802d4b87c7d35-Cancelled_Transaction-2024-12-04-152155.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=9bf88e086054d3aa04667fbc084edf03" alt="" width="2226" height="3840" data-path="images/docs/b7934051c5d2ad0426c8ea4a73d7942ed0721ec81df72841ad5802d4b87c7d35-Cancelled_Transaction-2024-12-04-152155.png" />

### Flow of Funds

#### History

* Transaction started.
* Transaction cancelled.
* Transaction completed.

## Transaction Failed: NSF on Capture

This happens when the payor does not have enough funds available.

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/eb782e5cf20ac8e6d34afba36d89d1b7e85ba3aa5904d34fbb2b21d929339776-Transaction_Failed_NSF-2024-12-04-152246.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=74f6529d99d8b66668dbe3d308236891" alt="" width="2053" height="3840" data-path="images/docs/eb782e5cf20ac8e6d34afba36d89d1b7e85ba3aa5904d34fbb2b21d929339776-Transaction_Failed_NSF-2024-12-04-152246.png" />

### Flow of Funds

#### History

* Transaction started.
* Capture from payor failed.
* Transaction completed.

## Transaction Failed: NSF After Capture Before Payout

This happens when the bank allows the capture to happen then signals an NSF before the payout is completed.

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/f9b5e208ecc75f781eff409c55c4ce67096565f5aa261b3187e4245d8fc536b5-Transaction_Failed_NSF_Before_Payout-2024-12-04-191509.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=8a13cd1641b6ec3cc0c88a23ec71c404" alt="" width="1691" height="3840" data-path="images/docs/f9b5e208ecc75f781eff409c55c4ce67096565f5aa261b3187e4245d8fc536b5-Transaction_Failed_NSF_Before_Payout-2024-12-04-191509.png" />

### Flow of Funds

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/b8bcfff9935814728779b830902322352b18499d27f8a8e9836d41778944a514-F_NSF_After_Capture_Pre_Payout-2024-12-05-214730.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=857248b0a4855bf17c7e9e2564a93063" alt="" width="3840" height="1835" data-path="images/docs/b8bcfff9935814728779b830902322352b18499d27f8a8e9836d41778944a514-F_NSF_After_Capture_Pre_Payout-2024-12-05-214730.png" />

#### History

* Transaction started.
* Capture from payor completed.
* NSF signaled from bank.
* Transaction completed.

## Transaction Failed: NSF After Payout

This happens when the bank signals an NSF after the payout has completed.

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/6270fa0d1f88b7a097827387f92c7c1a9bf585600e38650a8041e90d5bef7f54-Transaction_Failed_NSF_After_Payout-2024-12-04-151824.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=54ea4d3a44bf05b9006197e71032df9f" alt="" width="1249" height="3839" data-path="images/docs/6270fa0d1f88b7a097827387f92c7c1a9bf585600e38650a8041e90d5bef7f54-Transaction_Failed_NSF_After_Payout-2024-12-04-151824.png" />

### Flow of Funds

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/522500b62676899242a1cdd0d325bbb7597f2e036713a5ae1830f26e5d0455e1-F_Batch_NSF_After_Payout-2024-12-12-220913.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=070553f3efb379f3a8a4bc4034d5d8f3" alt="" width="3840" height="1767" data-path="images/docs/522500b62676899242a1cdd0d325bbb7597f2e036713a5ae1830f26e5d0455e1-F_Batch_NSF_After_Payout-2024-12-12-220913.png" />

#### History

* Transaction started.
* Capture from payor completed.
* Payout to payee completed.
* NSF signaled from bank.
* Clawback from Processor FBO completed.
* Transaction completed.
* Processor clawback from payee.

## Chargeback

This happens when the payor notifies the bank that they did not authorize the charge.

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/9968505ca2cea5c28e890610e61f2df6be8df3d5b3a922b8074fe3986840b296-Transaction_Chargeback-2024-12-05-190842.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=b5ef9fe472e88b276067be0ab21d5fad" alt="" width="1249" height="3839" data-path="images/docs/9968505ca2cea5c28e890610e61f2df6be8df3d5b3a922b8074fe3986840b296-Transaction_Chargeback-2024-12-05-190842.png" />

### Flow of Funds

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/d8a39becd031d418a6cb43a326c5dba57bef6448da9b90aa06e8c6e02f5717b8-Untitled_diagram-2024-12-12-221610.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=702d05b37d1a2b8c9624710006c1a293" alt="" width="3840" height="1966" data-path="images/docs/d8a39becd031d418a6cb43a326c5dba57bef6448da9b90aa06e8c6e02f5717b8-Untitled_diagram-2024-12-12-221610.png" />

#### History

* Transaction started.
* Capture from payor completed.
* Payout to payee completed.
* Payor initiates chargeback.
* Funds returned to payor.
* Clawback from Processor FBO completed.
* Transaction completed.
* Processor clawback from payee.

## Refund

This happens when the payee issues a refund.

### States

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/567fd287827294724d0121b27903d3f714ec1642df1e40daaf4ffc6106407957-Transaction_Refund-2024-12-05-191355.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=df8d93040e883c1adb4071d4f59015ae" alt="" width="1437" height="3840" data-path="images/docs/567fd287827294724d0121b27903d3f714ec1642df1e40daaf4ffc6106407957-Transaction_Refund-2024-12-05-191355.png" />

### Flow of Funds

<img src="https://mintcdn.com/grail-2/5S7_5_gYoLGIoRJP/images/docs/460ead2f673fd7b3cd64f3fb142a802bf7ccce8b3fda02cb1a8d54d9b7f37e97-F_Refund-2024-12-13-115319.png?fit=max&auto=format&n=5S7_5_gYoLGIoRJP&q=85&s=3b5799f7bc135d343b1bfaba23620fa8" alt="" width="3840" height="1966" data-path="images/docs/460ead2f673fd7b3cd64f3fb142a802bf7ccce8b3fda02cb1a8d54d9b7f37e97-F_Refund-2024-12-13-115319.png" />

#### History

* Transaction started.
* Capture from payor completed.
* Payout to payee completed.
* Payee initiates refund.
* Clawback from payee completed.
* Funds returned to payor.
* Transaction completed.
