https://b-api.lbkrs.com/clearing/custodiansAuthorization
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
Specifies Action In. This field is required.
Allowed values: 1 Add, 2 Delete, 3 Edit
1- Add
2- Delete
3- Edit
Custodian ID associated with this request.
Whether this is the main service provider.
Allowed values: 1 Yes (main service provider), 0 No
1- Yes (main service provider)
0- No
Specifies Custodian Type.
Allowed values: 1 Agent/custodian, 2 Agent, 3 Custodian
1- Agent custodian.
2- Agent.
3- Custodian
settle_type. Values come from a backend data dictionary (maintained dynamically), not a fixed enum; use the options the service actually returns.
Specifies Stamp Duty File No..
trading_account_type. Values come from a backend data dictionary (maintained dynamically), not a fixed enum; use the options the service actually returns.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureHTTP 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