https://b-api.longbridge.xyz/atm/create_modify_brokers_v2Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Rival Broker Record ID. Passed only when editing an existing record; omitted when creating.
Market. Dropdown value from select. The field is disabled and cannot be changed when
editing.
Allowed values:
us- US Marketcn- CN Markethk- HK Marketsg- SG Market
uscnhksg
Channel Broker (English). Specifies Channel Broker (English). This field is required.
Channel Broker (Simplified Chinese). Specifies Channel Broker (Simplified Chinese). This field is required.
Channel Broker (Traditional Chinese). Specifies Channel Broker (Traditional Chinese). This field is required.
Broker App Name (English). Specifies Broker App Name (English). This field is required.
Broker App Name (Simplified Chinese). Specifies Broker App Name (Simplified Chinese). This field is required.
Broker App Name (Traditional Chinese). Specifies Broker App Name (Traditional Chinese). This field is required.
Stock Number Limited. Specifies Stock Number Limited. This field is required.
Code. Specifies Code. This field is required.
Contact. Specifies Contact. This field is required.
Any Attachment. A radio field whose value comes from the keys of ref atm_brokers_attachment (e.g. 1=has attachment / 0=no attachment; the exact enum is determined by the ref). When it is 1, website is optional and contact_phone/contact_email are required; for other values, the opposite applies.
Allowed values:
1- Yes0- No
10
Contact Phone. Required when is_has_attachment indicates an attachment is present; must match the regex ^[A-Za-z0-9,.-+\s]+$.
Contact Email. Required when is_has_attachment indicates there is an attachment; must be in email format.
Template Key for Transfer Email. Specifies Template Key for Transfer Email. This field is required.
Broker Logo. Specifies Broker Logo.
Display Name of Our Broker. A radio field.
Allowed values:
1- Name Of Counter Company0- Name Of Channel Broker
10
Website Address. Required when is_has_attachment indicates no attachment.
Priority. Processing priority. Interpret the value and sort order according to the allowed-value definitions. This field is required.
State. 1 = Enable, 2 = Disable; defaults to 1.
Allowed values:
1- Enable2- Disable
12
Attachment File List. Array of file keys returned after uploading files for review_urls.
Audit Context. Auto-appended by the client for audit-log display; not a business field.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields