API Reference
中文

CheckingCenter(Order)

Checking Center (Order) API is used to actively push the feedback results (decline or accept), which are made by your manual review team on the TD portal, to the API address you subscribed to, so that your business system can receive the results and carry out further operation procedures, such as canceling the orders, etc.

API Format

Base URL

Checking Center API address you configured on the TD portal.

API

URLRequest MethodsContent-TypeOutput FormatCharacter Set
api-base-url?timestamp=xxx&partner_code=xxx&access_key=xxx&sign=xxxPOSTapplication/jsonJSONUTF-8
Authentication
ParameterTypeDescriptionRequired/OptionalNotes
timestampStringCurrent Timestamprequiredmillisecond
partner_codeStringPartner Coderequiredassigned by TD
access_keyStringAccess Keyrequiredassigned by TD
signStringSignrequired
How the 'sign' is generated?

sign = HmacSHA1(partner_code+timestamp+access_key,access_secret)

In which, 'access_secret' is assigned by TD.

headers
Parameter NameValueRequired/OptionalNotes
Content-Typeapplication/jsonrequired
xxxxxxconditionally requiredthe customized field you configured on TD portal

Push Request Parameter

ParameterTypeDescriptionRequired/OptionalNotes
typeStringID Typerequiredenumeration: order_id
idStringID Valuerequired
resultStringResultrequiredenumeration:
decline
accept
operatorStringOperatorrequiredname of the operator, and can be replaced by the operator's account or email.
timeLongTimerequiredmillisecond
reasonStringReasons or Notesoptional

Push Request Example

{
  "type": "order_id",
  "id": "1648777165770866F82AC7F326307055",
  "result": "accept",
  "operator": "Pierre-zb",
  "time": "1673402388579",
  "reason": "lorem tags"
}

Response Parameter

Parameters that your business system needs to respond to after receiving a push request

ParameterTypeDescriptionRequired/OptionalNotes
codeIntegerAPI Status Coderequired
messageStringStatus Messagerequiredspecific abnormal reasons will be provided when the API is abnormal

API Status Code

codeDescription
200Success

Response Example

{
  "code": 200,
  "message": ""
}