> For the complete documentation index, see [llms.txt](https://payu-docs.gitbook.io/payouts-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://payu-docs.gitbook.io/payouts-integration/settings/disable-queued-payout.md).

# Disable queued Payout

Transactions goes into queue if merchant is not having enough balance in his account process. By Setting this flag you can mark the transaction failed if balance enough balance is not available.

{% tabs %}
{% tab title="Production" %}
<https://www.payumoney.com//payout/setQueueTxnFlag>
{% endtab %}

{% tab title="Testing" %}
<https://test.payumoney.com//payout/setQueueTxnFlag>
{% endtab %}
{% endtabs %}

## **Request Header Params**

| **Key**          | **Description**                                   | **Data type** | **Mandatory** | **possible Values**    |
| ---------------- | ------------------------------------------------- | ------------- | ------------- | ---------------------- |
| Authorization    | Access token generated earlier.                   | String        | Yes           | Bearer {access\_token} |
| payoutMerchantId | This is the merchant id provided while onboarding | String        | Yes           |                        |

{% hint style="info" %}
**payountMerchantId is different from payumoney merchant id, please check payouts dashboard or call customer support if you don’t know your payoutsMerchantID**
{% endhint %}

## &#x20;**Request Params**

| **Key**          | **Description**          | **Data type** | **Mandatory** | **possible Values** |
| ---------------- | ------------------------ | ------------- | ------------- | ------------------- |
| queueTxn         | Queue transaction or not | Boolean       | Yes           | True/false          |
| configMerchantId | PayoutMerchantId         | Long          | No            |                     |

## **Example**

**Sample Request :**

```
curl -X POST \
  https://test.payumoney.com//payout/setQueueTxnFlag \
  -H 'authorization: bearer 567ac8efa500eeae6957cbed8956573d7a04928a9e774627f41a95bf8f282fc5' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/x-www-form-urlencoded' \
  -H 'payoutmerchantid: 1111123' \
  -d 'queueTxn=false&configMerchantId=1111120'
```

**Response :**

{% tabs %}
{% tab title="Success" %}

```
{
    "status": 0,
    "msg": "success",
    "code": null,
    "data": {
        "id": 219,
        "merchantId": null,
        "entityId": 1111120,
        "entityType": "merchant_id",
        "configKey": "queue_transaction_insufficient_balance",
        "configValue": "0",
        "groupName": null,
        "isActive": true,
        "addedOn": "2020-08-06T06:36:25.327+0000",
        "updatedOn": "2020-08-06T06:36:25.327+0000"
    }
}
```

{% endtab %}

{% tab title="Failure" %}

```
{
 "status": 1,
 "msg": "Invalid value",
 "code": null,
 "data": null
 }
```

{% endtab %}
{% endtabs %}

&#x20;
