https://b-api.longbridge.xyz/corporate_action/refund_by_viewAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Corporate-action announcement ID identifying the corporate action to refund.
Sub-position view ID. Use a view identifier returned by the sub-position view list (tax refund) endpoint.
Refund group list. Each item corresponds to a group under the selected view, giving its refund amount and the sub-position accounts it covers.
Child attributes
Group ID.
Group name, a caller-provided display name for the group. Optional; omission does not affect refund processing.
Refund amount for the group, passed as a numeric string.
Sub-position accounts covered by the group, as a list of sub-position account identifiers (counterpart_account).
Caller-provided audit context recording information such as the securities and announcement codes involved in this operation. No audit information is attached when omitted.
Responses
HTTP 200The request was processed successfully. The business result is in data; its exact fields follow the actual API response.codemessagedatadataobjectdata structureResult of initiating the refund; the exact fields follow the actual API response.
No 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