https://b-api.lbkrs.com/v2/ipo/margin/newAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.
Request body application/json
Channel. This field is required.
Counter ID. This field is required. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.
Amount.
Currency. This field is required.
Ended At.
Start At.
Type. Financing pool type.
Allowed values: 0 Financing subscription, 3 Zero-cost subscription. Sent as an integer here, as a string on ipo_margin_edit; the enum also lists 1 and 2, which the console does not label, so do not use them.
0123
Financing ratio as a percentage, 1–99; sent as a string here (e.g. "90") and as a number on ipo_margin_edit. 100 is rejected with 100% 融资请选择 0 成本类型: (ratio must less then 100); whether type 3 (zero-cost subscription) allows 100 has not been verified.
Bank Ratio.
Identifier of the associated interest-rate config. Options come from a backend data dictionary.
Financing base type, sent only in certain scenarios. Options come from a backend data dictionary.
Warning threshold amount, submitted as a string with two decimal places.
Minimum cash requirement, submitted as a string with two decimal places.
Subscription quantity rules; each item has min_qty and max_qty (lower and upper bound). Must not be empty.
Child attributes
Lower quantity bound.
Upper quantity bound.
Client group. ALL means all clients (confirmed on TEST); other values are not documented.
Localized remark object with zh_cn, zh_hk, and en.
Caller-provided audit context object.
Responses
HTTP 200The request was processed successfully. data.id is the ID of the new financing batch.codemessagedatadataobjectdata structureFinancing Batch ID.
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