POST
https://b-api.longbridge.xyz/risk/v1/trade_credit_switch_v2Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Trade Credit Switch. Enum: On=enabled, Off=disabled. The front-end antd Switch component's boolean value is converted to this string before submission.
Front Payload. A non-core business field; type is fixed as data_diff, and the data array records the before/after display values of the toggle for the risk-control approval ticket.
Audit Frontend Resource. A non-core business field recording the switch's original value (On/Off) before toggling.
Responses
HTTP 200No confirmable field definitions are available for the response yet.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields