https://b-api.longbridge.xyz/v2/billing/exchange_contractAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Trading date associated with this request. Use the date format defined by the API. This field is required.
Counter ID associated with this request.
Direction of this business operation. This field is required.
Specifies Trade Currency. This field is required.
Specifies A/C No.. This field is required.
Specifies Settlement Channel. This field is required.
Specifies Settlement Sub Position.
Specifies Trade Stage.
Specifies Order Source.
Custodian ID associated with this request.
Specifies Expected Equity Settlement Date.
Specifies Expected Balance Settlement Date.
Specifies Settlement Currency.
Specifies Trade to Settlement Exchange Rate.
Specifies OTCR Flag.
Specifies Open/Close. This field is required.
Allowed values:
OPEN- OpenCLOSE- Close
OPEN · OpenCLOSE · Close
Specifies Position. This field is required.
Allowed values:
LONG- LongSHORT- Short
LONG · LongSHORT · Short
Identifies the business scenario to which this request applies.
Used when the instrument type is BOND.
Each item contains order_seq (front-office order number) / quantity / amount / per_value (par value per share) / ibond_interest (accrued interest) / price.
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