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

Approve Prop Trading Requests

Event

Event SlugDescription
crm.webhooks.requests.propTrading.approve.node.1Triggers when multi-step approval is disabled, or multi-step approval is installed and approved on the 1st node
crm.webhooks.requests.propTrading.approve.node.2Triggers when approved on the 2nd node
crm.webhooks.requests.propTrading.approve.node.3Triggers when approved on the 3rd node
crm.webhooks.requests.propTrading.approve.node.4Triggers when approved on the 4th node
crm.webhooks.requests.propTrading.approve.node.5Triggers when approved on the 5th node
crm.webhooks.requests.propTrading.approve.node.6Triggers when approved on the 6th node
crm.webhooks.requests.propTrading.approve.node.7Triggers when approved on the 7th node
crm.webhooks.requests.propTrading.approve.node.8Triggers when approved on the 8th node
crm.webhooks.requests.propTrading.approve.node.9Triggers when approved on the 9th node
crm.webhooks.requests.propTrading.approve.node.10Triggers when approved on the 10th node

Data

KeyTypeDescription
idstringrequest id
typestringrequest type: prop_trading
statusstringrequest status: approved | pending
user_idstringrequest user id
request_timestringdate and time of the request. UTC+0
package_namemapname of prop trading challenge
registration_feenumberthe registration fee of prop trading challenge
fee_typestringpayment type of registration fee: balance_deduct,new_deposit
payment_totalnumberpayment total amount
payment_feenumberpayment fee
payment_platformstringpayment platform of trading account
payment_currencystringpayment currency
payment_trading_idstringpayment trading account id or wallet id
payment_connection_idstringpayment connection of trading account
prop_trading_flowobjectshow current prop_trading stage when multi-step approval is configured
prop_trading_flow.total_stepsobjecttotal number of steps for this prop_trading
prop_trading_flow.current_stepsobjectcurrent step that has been approved

Example

This is an example of the full JSON payload while approving a withdrawal request on node 1

{
  "source": {
    "service": "requests",
    "group": "crm.webhooks.groups.requests.propTrading",
    "event": "crm.webhooks.requests.propTrading.approve.node.1"
  },
  "target": {
    "name": "参与自营交易"
  },
  "version": "1.0.0",
  "data": {
    "id": "8wozx7mr",
    "type": "prop_trading",
    "status": "pending",
    "user_id": "045dff8l",
    "request_time": "2024-07-30 08:43:43",
    "package_name": {
      "zh-cn": "全是live+不返佣",
      "zh-tw": "全是live+不返佣",
      "en-us": "全是live+不返佣",
      "ja": "全是live+不返佣"
    },
    "registration_fee": 15,
    "fee_type": "balance_deduct",
    "payment_total": 15,
    "payment_fee": 0,
    "payment_platform": "mt5",
    "payment_currency": "EUR",
    "payment_trading_id": "126795",
    "payment_connection_id": "struk0gc",
    "prop_trading_flow": {
      "total_steps": 3,
      "current_step": 1
    }
  }
}
Last Updated:: 8/26/24, 7:57 AM
Next
Reject Prop Trading Live Requests