跳到主要内容

转账结果查询

请求地址

[POST] /v1/mid-open-api/transfer/query
需要验证签名

接口描述

通过转账申请的订单号查询转账结果

请求头

ParameterTypeRequiredDescription
AuthorizationstringMaccess_token
Content-TypestringMapplication/json

请求参数

ParameterTypeRequiredDescription
client_idstring(64)M客户ID
partner_order_idstring(64)C客户订单号 , 与平台订单号二选一
order_idstring(64)C平台订单ID , 与客户订单号二选一

返回响应

ParameterTypeRequiredDescription
partner_order_idstring(64)M客户订单号
order_idstring(64)M平台订单号
statusstring(64)M状态,见下方说明
finish_timelongC完成时间,状态为终态时有值
fail_reasonstringC失败原因,状态为失败时有值

返回示例

    {
"success": true,
"code": 200,
"message": "SUCCESS",
"data": {
"status": "FAILED",
"partner_order_id": "tedd1d46f421e5",
"order_id": "OT2308220001859190",
"finish_time": 1692688663000,
"fail_reason": "trade fail"
}
}

错误码

错误码描述解决方案
900000system error系统错误,请联系PingPong技术人员核查
900002illegal param参数有误,请根据提示更正信息
900004order not exist订单不存在,请核对后再发起

status状态值

状态值描述
PROCESSING处理中
SUCCESS成功
FAILED失败