查询交易信息
POST
queryTradeAcquiringInfo
请求参数
Body 参数application/json
userId
string
用户ID
tradeId
string
支付ID
示例
{
"userId": "string",
"tradeId": "string"
}
返回响应
🟢200成功
application/json
Body
tradeId
string
支付ID
userId
string
用户ID
merTradeNo
string
商户订单号(唯一编号)
customerEmail
string
客户邮箱
amount
number
交易金额
currency
string
国际标准货币三位代码
>= 3 字符<= 3 字符
示例值:
CNY
fee
number
手续费
feeCurrency
string
手续费币种,国际标准货币三位代码
>= 3 字符<= 3 字符
示例值:
CNY
settlementAmount
number
结算金额
settlementCurrency
string
结算币种,国际标准货币三位代码
>= 3 字符<= 3 字符
示例值:
CNY
settlementFinishTime
string
结算完成时间
示例值:
yyyy-MM-dd HH:mm:ss
paymentMethod
enum<string>
支付方式
枚 举值:
000200030004000500060007000800090010001700180103010401100115011601170118012001220123012401260127012801290130013101320133013401410142014301440145014601470148015101520153015401550158015901600161
refundInfoList
array [object {7}]
退款信息
refundId
string
退款ID
refundAmount
number
退款金额
fee
number
退款手续费
feeCurrency
string
手续费币种,国际标准货币三位代码
>= 3 字符<= 3 字符
示例值:
CNY
refundReason
string
退款原因
status
enum<string>
状态
枚举值:
PROCESSINGSUCCESSFAILED
createTime
string
创建时间
示例值:
yyyy-MM-dd HH:mm:ss
status
enum<string>
状态
枚举值:
WAIT_PAYPAYINGCANCELPAY_SUCCESSPAY_FAILEDSETTLEMENT_PROCESSINGSETTLEMENT_SUCCESSSETTLEMENT_FAILED EXPIRED
createTime
string
创建时间
示例值:
yyyy-MM-dd HH:mm:ss
示例
{
"tradeId": "string",
"userId": "string",
"merTradeNo": "string",
"customerEmail": "string",
"amount": 0,
"currency": "CNY",
"fee": 0,
"feeCurrency": "CNY",
"settlementAmount": 0,
"settlementCurrency": "CNY",
"settlementFinishTime": "yyyy-MM-dd HH:mm:ss",
"paymentMethod": "0002",
"refundInfoList": [
{
"refundId": "string",
"refundAmount": 0,
"fee": 0,
"feeCurrency": "CNY",
"refundReason": "string",
"status": "PROCESSING",
"createTime": "yyyy-MM-dd HH:mm:ss"
}
],
"status": "WAIT_PAY",
"createTime": "yyyy-MM-dd HH:mm:ss"
}
修改于 2025-01-07 02:56:14