订单详情

当出现交互超时、异常时,可通过订单查询接口查询预授权、预授权完成、支付、预授权撤销、退款交易。

查询API

POST BASE_URL/api

Headers

NameTypeDescription

content-type

String

application/x-www-form-urlencoded

Request Body

NameTypeDescription

version*

String

max=5

调用的接口版本,固定为:1.0

merchantNo*

String

max=16

商户号,由USEEPAY 分配

transactionId

String

max=64

商户订单号。transactionId 和 reference 二选一

transactionType*

String

max=18

交易类型:query

reference

String

string max=32

USEEPAY 订单号

notifyUrl

String

max=512

USEEPAY 回调商户地址

reserved

String

max=256

预留字段,响应报文会原样返回

signType*

String

max=4

商户生成签名字符串所使用的签名算法类型,目前支持:RSA MD5

sign*

String

max=256 商户请求参数的签名串

{
    "echoParam": "echoParam",
    "reserved": "reserved",
    "resultCode": "succeed", el
    "sign": "2f98c029cc6b33d5a13525fd9b7aa0c6",
    "errorCode": "0000",
    "signType": "MD5",
    "merchantNo": "500000000007381",
    "errorMsg": "Approved or completed successfully",
    "transactionInfo": "{\"transactionType\":\"sale\",\"reference\":\"1012110141401650864\",\"amount\":\"2000\",\"originalTransactionId\":\"\",\"resultCode\":\"succeed\",\"errorCode\":\"0000\",\"currency\":\"USD\",\"transactionId\":\"202110140201428\",\"errorMsg\":\"Approved or completed successfully\"}"
}

Response

返回结果说明

参数说明是否必须

merchantNo

max=16 商户编号,由 USEEPAY 分配

true

resultCode

max=32

本次查询的业务结果(详见 业务结果码)

true

errorCode

max=4

本次查询的错误码

false

errorMsg

max=256

本次查询的错误码消息描述

false

交易信息。resultCode=xxxx 的时候有返回

reserved

max=256

预留字段,值同请求报文

false

echoParam

max=256 回声参数,响应报文会原样返回

false

sign

max=256

商户请求参数的签名串

true

transactionInfo

参数描述是否必须

transactionId

max=64商户订单号

true

originalTransactionId

max=64 原始商户订单号

reference

max=32

USEEPAY 订单号

false

transactionType

max=64 pay; authorization; refund; capture;authorizationVoid;

true

amount

max=12

交易金额,单位为对应币种的最小货币单位(详见 ISO 4217)

false

currency

max=3

3 位 ISO 大写字母货币代码(详见 ISO 4217)

false

resultCode

max=32

业务结果(详见 业务结果码)

true

errorCode

max=4

错误码(详见 错误码 errorCode)

false

errorMsg

max=256

错误码消息描述

false

Last updated