> ## 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.

# Payouts APIs

> List of RazorpayX Payouts APIs available in Malaysia.

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).

Use the Payouts APIs to create payouts to bank accounts and DuitNow proxies, fetch them and cancel queued payouts. All amounts are in sen and the currency is `MYR`.

> [!WARNING]
>
> **Watch Out!**
>
> * Live API calls work only from your [allowlisted server IPs](https://curlec.com/docs/x/dashboard/allowlist-ip.md). A call from any other IP returns HTTP 401.
> * The `X-Payout-Idempotency` header is mandatory on every payout create request. Send a unique [idempotency key](https://curlec.com/docs/api/x/payout-idempotency/make-request.md) in it.
> * Payouts above the approval amount set for your account wait for a checker on your team to approve them on the RazorpayX Dashboard. Payouts below this amount go to the bank directly. Know more about the [approval workflow](https://curlec.com/docs/x/manage-teams/approval-workflow.md).

## Payout APIs

The table below lists the various endpoints and gives a brief description of each:

| API Endpoint | Description |
| - | - |
| [Create a Payout](https://curlec.com/docs/api/x/payouts/create/bank-account.md) | Creates a payout to a saved Fund account using its `fund_account_id`, with mode `IBFT` or `DUITNOW`. |
| [Fetch a Payout with ID](https://curlec.com/docs/api/x/payouts/fetch-with-id.md) | Retrieves details of one payout via ID. |
| [Fetch all Payouts](https://curlec.com/docs/api/x/payouts/fetch-all.md) | Retrieves details of all the payouts. |
| [Cancel a Queued Payout](https://curlec.com/docs/api/x/payouts/cancel.md) | Cancels a payout in the `queued` state. A payout in the `processing` state cannot be cancelled. |
| [Payout Entity](https://curlec.com/docs/api/x/payouts/entity.md) | Describes the fields of the payout entity. |

## Payout Composite API

With the Composite API, you send the beneficiary inline. RazorpayX creates the Contact, the Fund account and the payout in a single call.

| API Endpoint | Description |
| - | - |
| [Create a Composite Payout to Bank Account](https://curlec.com/docs/api/x/payout-composite/create/bank-account.md) | Creates a payout to a beneficiary's bank account by IBFT. |
| [Create a Composite Payout to DuitNow](https://curlec.com/docs/api/x/payout-composite/create/duitnow.md) | Creates a payout to a beneficiary's DuitNow proxy. |
| [Payout Composite Entity](https://curlec.com/docs/api/x/payout-composite/entity.md) | Describes the fields of the composite payout entity. |

## Payout Idempotency API

| API Endpoint | Description |
| - | - |
| [Request Idempotent Payout](https://curlec.com/docs/api/x/payout-idempotency/make-request.md) | Requests for an idempotent payout. |

## Balance API

| API Endpoint | Description |
| - | - |
| [Fetch Balance](https://curlec.com/docs/api/x/account-validation/balance-fetch.md) | Retrieves the balance of your RazorpayX account in sen. |

## Payout Status Details

[Status details](https://curlec.com/docs/x/payouts/status-details.md) are sent as part of the fetch payout API response and webhook payloads. They give the reason for the current payout status. Failure and reversal reasons come in `status_details`.

### Related Information

* [Payouts](https://curlec.com/docs/x/payouts.md)
* [Fund Account APIs](https://curlec.com/docs/x/fund-accounts/api.md)
* [Subscribe to Webhooks](https://curlec.com/docs/x/apis/subscribe.md)
