YPay
  1. 软件版
YPay
  • 支付对接
    • 彩虹易支付
      • 页面跳转支付
      • API接口支付
    • 查询单个订单
      POST
  • 挂机软件
    • 软件版
      • 验签
        POST
      • 心跳
        POST
      • 检测订单
        POST
      • 回调通知
        POST
    • 店员版
      • 验证签名
      • 订单回调
  • 用户接口
    • 获取用户余额
      POST
  1. 软件版

回调通知

POST
/api/Software/PCNotify
责任人:未设置

请求参数

Query 参数
id
string 
ID 编号
必需
示例值:
1000
key
string 
通讯秘钥
必需
示例值:
LtCN0yqi7B
type
string 
通道类型
必需
示例值:
wxpay
channel_id
string 
通道ID
必需
示例值:
1
money
string 
订单金额
必需
示例值:
100
Header 参数
server
string 
必需
示例值:
1

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://prod-cn.your-api-server.com/api/Software/PCNotify?id=1000&key=LtCN0yqi7B&type=wxpay&channel_id=1&money=100' \
--header 'server: 1'

返回响应

⚪1成功
application/json
Body
code
integer 
必需
msg
string 
必需
示例
{
    "code": 1,
    "msg": "回调成功"
}
上一页
检测订单
下一页
验证签名
Built with