FuturePay 收单订单查询

该接口用于根据商户订单号或平台订单号查询收单订单状态。

1.请求地址(POST)

实时 API: https://api.futurepay.global/payin/orderQuery

沙盒 API: https://api.futurepay-develop.com/payin/orderQuery


2.请求参数(JSON 格式)

参数可以 二选一传入

参数名类型必填说明
merchantReferenceString商户订单号
pspReferenceStringFuturePay 平台订单号
{
  "merchantReference": "商户订单号(可选)",
  "pspReference": "平台订单号(可选)"
}

注意: merchantReference 和 pspReference 至少需传一个

3.响应参数(JSON格式)

顶层字段

参数名类型示例值描述
codeString"0"响应码,0 表示成功
msgString"success"响应消息
serverTimeLong1747904980771服务器时间戳(毫秒)
successBooleantrue请求是否成功
dataObject见下表订单数据对象

data 字段内参数

参数名类型示例值描述
merchantReferenceString"3753595377629466860"商户订单号
pspReferenceString"1925475282161106944"FuturePay 平台订单号
resultCodeString"SUCCEED"更多结果可参考该地址订单处理结果
refusalReasonStringnull拒绝原因(如有)
amountObject见下表支付金额信息
providerReferenceString"202505221940109000001888A0234862571"支付渠道方订单号(
paymentMethodString"cards"支付方式(如 cards, alipay 等)

amount 字段内参数

参数名类型示例值描述
currencyString"USD"币种代码
valueLong1299支付金额,单位为“分”

示例:


{
  "code": "0",
  "msg": "success",
  "serverTime": 1747904980771,
  "data": {
    "merchantReference": "3753595377629466860",
    "pspReference": "1925475282161106944",
    "resultCode": "SUCCEED",
    "refusalReason": null,
    "amount": {
      "currency": "USD",
      "value": 1299
    },
    "currency": null,
    "providerReference": "202505221940109000001888A0234862571",
    "paymentMethod": "cards"
  },
  "success": true
}