根据单据号查询已导出的支付单

业务说明

1.根据单据号查询已导出的支付单

接口地址

/api/openapi/paymenttransaction/result/query/{formCode}

请求方式

POST

响应参数

参数说明

参数名称 参数值 是否必须 示例 备注
data object[] Y 支付结果,详见下方表格

data参数说明

参数名称 参数值 是否必须 示例 备注
paymentNo string Y 支付流水,不能重复
status string Y 支付成功PAY_SUCCESS;支付失败PAY_ERROR;支付中PAYING;待支付UNPAID;支付退回REFUND
paidTime long N 支付时间, 到毫秒的时间戳; 支付成功时必填
payerAccountNumber string N 支付账号; 支付成功时必填
paymentSystemNumber string N 支付平台的支付流水号
errorMsg string N 失败信息; 支付失败时必填
employeeId string N 员工工号
splitSourcePaymentNo string N 拆分来源的流水号
payableAmount number N 支付单金额
payableAmountCurrency string N 支付单金额币种

响应示例

{
  "code": "ACK",
  "message": "",
  "data": [
    {
      "paymentNo": "AFB2004141GCZ7NY8",
      "status": "PAY_SUCCESS",
      "paidTime": 1586853573000,
      "payerAccountNumber": "18762811421",
      "paymentSystemNumber": "34563456",
      "out_pay_no": "",
      "errorMsg": "",
      "splitSourcePaymentNo": "2410161Z2M7K74",
      "payableAmount": 1.000000,
      "payableAmountCurrency": "CNY",
      "employeeId": null
    },
    {
      "paymentNo": "FPO2004111FWHXKOW",
      "status": "PAY_SUCCESS",
      "paidTime": 1572506924000,
      "payerAccountNumber": "6222620170012948175",
      "paymentSystemNumber": "34563456",
      "errorMsg": "xxxx",
      "out_pay_no": "",
      "splitSourcePaymentNo": "2410161Z2M7K74",
      "payableAmount": 2.000000,
      "payableAmountCurrency": "CNY",
      "employeeId": null
    }
  ],
  "success": true
}
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2024-11-20 10:52:00

results matching ""

    No results matching ""

    results matching ""

      No results matching ""