首图支付网关
  1. 对外提供支付相关接口
首图支付网关
  • 对外提供支付相关接口
    • POS机扫码支付后通知接口
      POST
    • 根据工作台编码查询商户号接口
      POST
    • 根据馆藏地编码查询商户号接口
      POST
    • OpenAPI-支付统一下单接口(测试)
      POST
    • OpenAPI-查询支付订单接口(测试)
      POST
    • OpenAPI-支付统一下单接口(正式)
      POST
    • 支付统一下单接口
      POST
    • 查询支付订单接口
      POST
    • 支付记录分页列表查询接口
      POST
    • 支付通知回调
      POST
  • 对外提供退款相关接口
    • OpenAPI-退款接口(测试)
      POST
    • OpenAPI-查询退款订单接口(测试)
      POST
    • 退款接口
      POST
    • 查询退款订单接口
      POST
    • 退款记录分页查询接口
      POST
    • 退款通知回调
      POST
  • 对外提供发票相关接口
    • 读者发票抬头管理
      • 增加
      • 根据id删除
      • 修改
      • 查询读者的发票抬头
    • 开票相关接口
      • 申请开票接口
      • 查询开票状态
      • 再次发送电子发票到邮箱
  1. 对外提供支付相关接口

支付统一下单接口

开发中
POST
/jiafulai/paymentgateway/api/pay/unifiedOrder

请求参数

Body 参数application/json

示例
{
    "appId": "90060",
    "mchOrderNo": "20160427210604000490",
    "channelCode": "ICBC_AGGREGATE_PAY",
    "amount": "5000",
    "subject": "ALeph费用支付",
    "body": "ALeph费用支付",
    "notifyUrl": "https://www.xxxx.com/notify.htm",
    "returnUrl": "https://www.xxx.com/return.htm",
    "channelExtra": "{\"openid\": \"o6BcIwvSiRpfS8e_UyfQNrYuk2LI\"}",
    "extJsonb": {"readerCardNo" : "读者证号","readerName": "读者姓名","libCode": "分馆编码","department":"部门编码","feeType":"BORROW_FEE","operator":"馆员1"},
    "payDetail": [
        {
            "businessId": "40",
            "feeName": "逾期费支付",
            "feeDesc": "逾期费支付",
            "feeType": "逾期费",
            "feeAmount": 3000,
            "extJsonb": {"title":"财务手册","barCode":"1111122"}
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/jiafulai/paymentgateway/api/pay/unifiedOrder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appId": "90060",
    "mchOrderNo": "20160427210604000490",
    "channelCode": "ICBC_AGGREGATE_PAY",
    "amount": "5000",
    "subject": "ALeph费用支付",
    "body": "ALeph费用支付",
    "notifyUrl": "https://www.xxxx.com/notify.htm",
    "returnUrl": "https://www.xxx.com/return.htm",
    "channelExtra": "{\"openid\": \"o6BcIwvSiRpfS8e_UyfQNrYuk2LI\"}",
    "extJsonb": {"readerCardNo" : "读者证号","readerName": "读者姓名","libCode": "分馆编码","department":"部门编码","feeType":"BORROW_FEE","operator":"馆员1"},
    "payDetail": [
        {
            "businessId": "40",
            "feeName": "逾期费支付",
            "feeDesc": "逾期费支付",
            "feeType": "逾期费",
            "feeAmount": 3000,
            "extJsonb": {"title":"财务手册","barCode":"1111122"}
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "string",
    "msg": "string",
    "data": {
        "channelOrderNo": "string",
        "mchOrderNo": "string",
        "expiredTime": "string",
        "payState": "string",
        "payDataType": "string",
        "payData": "string",
        "errCode": "string",
        "errMsg": "string"
    }
}
修改于 2025-04-21 02:36:52
上一页
OpenAPI-支付统一下单接口(正式)
下一页
查询支付订单接口
Built with