CRM Open API DocumentationCRM Open API Documentation
REST API
Webhooks
PSP Open API
External Exchange Rates
REST API
Webhooks
PSP Open API
External Exchange Rates
  • Webhook Introduction
  • Securing your Webhooks
  • Events - Approval

    • Withdrawal

      • Approve Withdrawal Requests
      • Reject Withdrawal Requests
    • Prop Trading

      • Approve Prop Trading Requests
      • Reject Prop Trading Live Requests
    • Prop Trading Live

      • Approve Prop Trading Live Requests
      • Reject Prop Trading Live Requests

Reject Withdrawal Requests

Event

Event SlugDescription
crm.webhooks.requests.withdrawal.rejectTriggers when request is rejected

Data

KeyTypeDescription
idstringrequest id
typestringrequest type: withdrawal
statusstringrequest status: rejected
user_idstringrequest user id
request_timestringdate and time of the request. UTC+0
trading_idnumber | stringtrading account id | WALLET
trading_platformstringtrading platform
trading_connection_idstringtrading platform server id
trading_currencystringtrading acount currency
trading_amountstringamount deducted from user's trading account or wallet
withdrawal_methodstringwithdrawal method name
withdrawal_currencystringwithdrawal target currency
exchange_ratestringwithdrawal exchange rate
converted_amountnumberconverted amount after exchange rate
withdrawal_feestringwithdrawal fee
withdrawal_amountstringfinal withdrawal amount after adding fee
external_order_idstringonly for integrated automatic withdrawal methods
custom_fieldsarraycustomized fields in the dynamic form
custom_fields[].keystringSystem unique key of the field
custom_fields[].typestringType of the field
custom_fields[].labelstringLabel of the field
custom_fields[].label.[language-code]stringLabel of the field in different languages
custom_fields[].valuestring/object/arrayValue 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"
      }
    ]
  }
}
Last Updated:: 8/26/24, 7:57 AM
Prev
Approve Withdrawal Requests