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.
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
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 :
{
"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"
}
}
Last updated
Was this helpful?