cloud-xmarkCancel adjustment balance

Cancel external system credit limit adjustment

When "External System Credit Limit Adjustment", if the request times out or the external system returns an error message, TradeBoss platform will send this request to the external system in order to maintain data consistency.

Cancel external system credit limit adjustment

post

When "External System Credit Limit Adjustment", if the request times out or the external system returns an error message, TradeBoss platform will send this request to the external system in order to maintain data consistency.

Header parameters
tracestringRequired

Global Link Identifier.

Example: {{mockTrace}}
companyIdintegerRequired

Company Id,User's company ID

Example: {{companyId}}
timestampnumberOptional

Request initiation timestamp, accurate to the millisecond, 13 digits.

Body
thirdServerCodestringRequired

Third-party system customer unique identifier

userNamestring · max: 48Required

TradeBoss user identity unique identifier

currencystring · max: 16Required

Account currency code, standard ISO 3-character currency unit

bizTypeintegerRequired

Business type, 1-market price opening; 2-market price closing; 10-limit price pre-embedded order; 11-stop loss pre-embedded order; 12-limit price opening

amountstringRequired

Amount, can only be positive

amountDigitsintegerRequired

Amount decimal places

orderIdinteger · longOptional

Order ID

requestUniqueNostring · max: 48Required

Request unique number, multiple requests need to maintain business idempotence.

reverseRequestUniqueNostringRequired

This number corresponds to the request_unique_no when the "third-party system transfer" was requested earlier. The third-party system needs to check whether this number has been processed. If it is correctly processed, it needs to return the correct amount to the customer. If a request is received but not processed correctly, return code=US_0000001. If no request with this number is received, return code=US_0000002.

requestTimeinteger · longRequired

Request initiation timestamp accurate up to milliseconds and in a format of 13 digits.

ipstringRequired

User IP address

cancelRemarkstring · max: 200Required

Cancellation reason

metadatastring · max: 200Optional

Remarks information in JSON format

Responses
chevron-right
200

成功

application/json
bizCodestringOptional

Module identification code, the service module that ultimately processes the current request, can be empty.

codestringOptional

The status return code, code=0, indicates that the current request operation is successful. Other codes indicate operation failure.

msgstringOptional

Status Description.

tminteger · int64Optional

Processing Time (Milliseconds)

tracestringOptional

Global link identifier, consistent with the trace in the request header for easy problem locating.

msgParamsstringOptional

Return the placeholder parameter string in the status description, with multiple parameters separated by commas, used to process variable information in the status description and provide a user-friendly interactive experience.

dataobjectOptional

Response Body

okbooleanOptional

The operation was successful if true, and failed if false.

failbooleanOptional

The operation was successful if false, and failed if true.

post
/cancel-external-system-credit-limit-adjustment
200

成功

Last updated