Reject Withdrawal Requests
Event
Event Slug | Description |
---|---|
crm.webhooks.requests.withdrawal.reject | Triggers when request is rejected |
Data
Key | Type | Description |
---|---|---|
id | string | request id |
type | string | request type: withdrawal |
status | string | request status: rejected |
user_id | string | request user id |
request_time | string | date and time of the request. UTC+0 |
trading_id | number | string | trading account id | WALLET |
trading_platform | string | trading platform |
trading_connection_id | string | trading platform server id |
trading_currency | string | trading acount currency |
trading_amount | string | amount deducted from user's trading account or wallet |
withdrawal_method | string | withdrawal method name |
withdrawal_currency | string | withdrawal target currency |
exchange_rate | string | withdrawal exchange rate |
converted_amount | number | converted amount after exchange rate |
withdrawal_fee | string | withdrawal fee |
withdrawal_amount | string | final withdrawal amount after adding fee |
external_order_id | string | only for integrated automatic withdrawal methods |
custom_fields | array | customized fields in the dynamic form |
custom_fields[].key | string | System unique key of the field |
custom_fields[].type | string | Type of the field |
custom_fields[].label | string | Label of the field |
custom_fields[].label.[language-code] | string | Label of the field in different languages |
custom_fields[].value | string /object /array | Value of the field |
Example
This is an example of the full JSON payload while rejected a withdrawal request
{
"source": {
"service": "requests",
"group": "crm.webhooks.groups.requests.withdrawal",
"event": "crm.webhooks.requests.withdrawal.reject"
},
"target": {
"name": "Webhook-Withdraw"
},
"version": "1.0.0",
"data": {
"id": "********",
"type": "withdrawal",
"status": "rejected",
"user_id": "********",
"request_time": "2023-08-21 03:35:26",
"trading_id": 60132,
"trading_platform": "mt4",
"trading_connection_id": "****",
"trading_currency": "USD",
"trading_amount": "100",
"withdrawal_method": "****",
"withdrawal_currency": "USD",
"converted_amount": 100,
"withdrawal_fee": "0",
"exchange_rate": 1,
"withdrawal_amount": "100.00",
"custom_fields": [
{
"key": "xobrjqmz",
"type": "text",
"label": {
"en-us": "Bank Account",
"zh-cn": "银行账户",
"zh-tw": ""
},
"value": "11"
},
{
"key": "luwvwsfc",
"type": "text",
"label": {
"en-us": "Bank Name",
"zh-cn": "银行名称",
"zh-tw": ""
},
"value": "11"
}
]
}
}