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

# Payout States and Life Cycle

> Explore the states a payout goes through and the expected processing time for IBFT and DuitNow payouts.

Available in
🇲🇾 Malaysia

> [!NOTE]
>
> RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, [contact our Support team](https://curlec.com/docs/payments/dashboard/support.md).

[Payouts](https://curlec.com/docs/x/payouts.md) are made to [Contacts](https://curlec.com/docs/x/contacts.md). A payout has various states in its life cycle.

## Payout Life Cycle

A payout created by API takes one of two paths, based on its amount.

A payout above the approval amount set for your account usually moves through these states:

1. `pending`: the payout waits for a checker to approve it on the RazorpayX Dashboard. If the checker rejects it, the payout moves to `rejected`.
2. `queued`: the payout is approved and waits for balance or a processing window.
3. `processing`: the payout is sent to the bank.
4. `processed`: the beneficiary is credited.

A payout below the approval amount does not wait for a checker:

1. `processing`: the payout goes to the bank directly. If your balance is low, the payout is `queued` first.
2. `processed`: the beneficiary is credited.

## Payout States

Following are the various payout states:

| State | Meaning | Final |
| - | - | - |
| `pending` | Created and waiting for a checker to approve on the Dashboard. Applies to payouts above the approval amount set for your account. | No |
| `queued` | Waiting for balance or a processing window. | No |
| `processing` | Sent to the bank. | No |
| `processed` | Beneficiary credited. | Yes |
| `failed` | Payout failed. The reason is in `status_details`. | Yes |
| `reversed` | Credited, then returned by the bank. The reason is in `status_details`. | Yes |
| `rejected` | Rejected by the checker on the Dashboard. | Yes |
| `cancelled` | Cancelled while queued. | Yes |

> [!NOTE]
>
> **Handy Tips**
>
> * For the reason behind a status, refer to [Payout Status Details](https://curlec.com/docs/x/payouts/status-details.md).
> * Get automatic notifications about the payout states using [Webhooks](https://curlec.com/docs/webhooks). [Set up and configure webhooks](https://curlec.com/docs/x/apis/subscribe.md) to stay updated on the status of each payout.

### Pending

A payout above the approval amount set for your account moves to the `pending` state and waits for a checker on your team to approve it on the RazorpayX Dashboard (maker-checker). A payout below this amount skips this state and goes to the bank directly.

At this stage, the payout details are stored in the system, but the payout is not sent to the bank.

From the `pending` state, a payout moves to the:

* `queued` or `processing` state when a checker approves it.
* `rejected` state when a checker rejects it.

Know more about the [approval workflow](https://curlec.com/docs/x/manage-teams/approval-workflow.md).

### Queued

A payout in the `queued` state waits for balance or a processing window. A payout above the approval amount is queued only after a checker approves it. A payout waits for balance when your RazorpayX account does not have sufficient funds and you sent `queue_if_low_balance: true` in the request.

At this stage, the payout is not sent to the bank.

From the `queued` state, a payout moves to the:

* `processing` state when it can be processed, for example after you add sufficient funds.
* `cancelled` state if you cancel the payout.

Know more about [Queued Payouts](https://curlec.com/docs/x/payouts/queued.md).

### Processing

A payout in the `processing` state is sent to the bank. No action is required from you while a payout is in this state.

From the `processing` state, a payout moves to the:

* `processed` state if the beneficiary is credited.
* `failed` state if the payout fails.

### Processed

The `processed` state means that the beneficiary is credited. The `utr` field of the payout holds the 30-character PayNet reference, for example `20261120XXXXMYKL010OBB12345678`.

This is a final state. In some cases, the bank returns a payout after it was credited. The payout then moves to the `reversed` state.

### Failed

A payout moves to the `failed` state when it fails. The reason is in `status_details`.

This is a final state. No further action is possible on the payout. Correct the cause and create a new payout.

> [!WARNING]
>
> **Watch Out!**
>
> Subscribe to the `payout.failed` webhook event. If you do not, a failed payout is reported to you as `payout.reversed` instead.

### Reversed

A payout moves to the `reversed` state when the beneficiary was credited and the bank then returns the payout. The amount is credited back to your RazorpayX account balance. The reason is in `status_details`.

This is a final state. No further action is possible on the payout.

### Rejected

A payout in the `pending` state moves to the `rejected` state when a checker rejects it on the Dashboard. A rejected payout is not sent to the bank.

This is a final state. No further action is possible on the payout.

### Cancelled

A payout moves to the `cancelled` state when you cancel it while it is queued. You can cancel a payout in the `queued` state using the [Cancel a Queued Payout API](https://curlec.com/docs/api/x/payouts/cancel.md). A payout in the `processing` state cannot be cancelled.

This is a final state. No further action is possible on the payout.

## Expected Processing Time

| Mode | Expected processing time |
| - | - |
| `IBFT` | Near-instant |
| `DUITNOW` | Near-instant |

The processing time starts once your balance covers the amount and, for a payout above the approval amount, after a checker approves it.

Know more about [payout modes](https://curlec.com/docs/x/payouts/modes.md).

## Webhook Events

RazorpayX sends a webhook event for each change of state. The same event can arrive more than once or out of order. Use the payout `id` and `status` to decide the current state.

| Event | Sent when |
| - | - |
| `payout.pending` | A payout above the approval amount is created and is waiting for approval. |
| `payout.rejected` | A checker rejects the payout on the Dashboard. |
| `payout.queued` | The payout is queued, for example for low balance. |
| `payout.initiated` | The payout is sent to the bank. |
| `payout.processed` | The beneficiary is credited. |
| `payout.failed` | The payout fails. The reason is in `status_details`. |
| `payout.reversed` | The bank returns the payout and the amount is credited back to your balance. The reason is in `status_details`. |
| `payout.updated` | A payout detail changes without a change of status. |

### Related Information

* [Queued Payouts](https://curlec.com/docs/x/payouts/queued.md)
* [Payout Status Details](https://curlec.com/docs/x/payouts/status-details.md)
* [Payout Best Practices](https://curlec.com/docs/x/payouts/best-practices.md)
