https://b-api.lbkrs.com/v2/ipo/margin/editAuthorization
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
Batch ID. This field is required.
Ended At.
Start At.
Bank Ratio.
Financing pool type, same values as type on ipo_margin_new (0 financing subscription, 3 zero-cost subscription), but sent as a string here (e.g. "0").
Financing amount, submitted as a string with two decimal places.
Financing channel identifier. Options come from a backend data dictionary.
Financing ratio as a percentage, 1–99; sent as a number here and as a string on ipo_margin_new. 100 is rejected on ipo_margin_new with 100% 融资请选择 0 成本类型: (ratio must less then 100); not tested here, so keep it below 100 as well; whether type 3 (zero-cost subscription) allows 100 is unverified.
Identifier of the associated interest-rate config. Options come from a backend data dictionary.
Currency, always submitted as HKD.
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 modified 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