https://b-api.longbridge.xyz/risk/v1/account_stock_margin_ratio/uploadAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Uploaded File S3 Key. First upload the CSV file to the data.porter service (prefix: credit_management), obtain the returned object-storage key, then submit it as this parameter; the template is available via the in-page "Download template" link uploade-template-new_4.csv.
Upload Dimension Type. Enum: 0 = modify stock margin ratio, 1 = modify account long-stock margin ratio (used on this page), 2 = client-group details, 3 = modify account short-stock margin ratio (used on the short-stock page).
Frontend Audit Log Metadata. Not a business field; used for backend audit-log display. The front end always sends { filename: uploaded file name, $behavior: operation description, $action: 'bulk_add', service: 'data.porter' }.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields