mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 17:48:12 +08:00
feat(tenpayv3): 新增教育续费通相关接口
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"appid": "wx8888888888888888",
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q",
|
||||
"plan_id": "101164396123311331",
|
||||
"contract_information": {
|
||||
"contract_id": "wx998877665544wx",
|
||||
"contract_status": "ADD",
|
||||
"create_time": "2020-03-26T10:43:39+08:00"
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"appid": "wx8888888888888888",
|
||||
"body": "新东方-语文课程",
|
||||
"attach": "自定义数据",
|
||||
"out_trade_no": "121775250124070332",
|
||||
"goods_tag": "test",
|
||||
"notify_url": "https://www.weixin.qq.com/wxpay/pay",
|
||||
"contract_id": "wx998877665544wx",
|
||||
"trade_scene": "EDUCATION_PERIOD",
|
||||
"amount": {
|
||||
"total": 888,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"device_information": {
|
||||
"device_id": "12343232",
|
||||
"device_ip": "123.12.12.123"
|
||||
}
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"appid": "wx8888888888888888",
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q",
|
||||
"plan_id": "101164396123311331",
|
||||
"contract_information": {
|
||||
"contract_id": "wx998877665544wx",
|
||||
"contract_status": "ADD",
|
||||
"create_time": "2020-03-26T10:43:39+08:00"
|
||||
}
|
||||
}
|
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"appid": "wx8888888888888888",
|
||||
"out_trade_no": "201407033233368018",
|
||||
"transaction_id": "25012014070332333018",
|
||||
"attach": "自定义数据",
|
||||
"bank_type": "CMC",
|
||||
"success_time": "2020-03-26T10:43:39+08:00",
|
||||
"trade_state": "SUCCESS",
|
||||
"trade_state_description": "支付成功",
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q"
|
||||
},
|
||||
"amount": {
|
||||
"total": 888,
|
||||
"payer_total": 888,
|
||||
"discount_total": 100,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"device_information": {
|
||||
"device_id": "12343232",
|
||||
"device_ip": "123.12.12.123"
|
||||
},
|
||||
"promotion_detail": [
|
||||
{
|
||||
"coupon_id": "109519",
|
||||
"name": "单品惠-6",
|
||||
"scope": "GLOBALSINGLE",
|
||||
"type": "DISCOUNTCOUPON",
|
||||
"amount": 5,
|
||||
"stock_id": "931386",
|
||||
"wechatpay_contribute": 0,
|
||||
"merchant_contribute": 0,
|
||||
"other_contribute": 0
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"out_trade_no": "201407033233368018",
|
||||
"transaction_id": "25012014070332333018",
|
||||
"attach": "自定义数据",
|
||||
"bank_type": "CMC",
|
||||
"success_time": "2020-03-26T10:43:39+08:00",
|
||||
"trade_state": "SUCCESS",
|
||||
"trade_state_description": "支付成功",
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q"
|
||||
},
|
||||
"amount": {
|
||||
"total": 888,
|
||||
"payer_total": 888,
|
||||
"discount_total": 100,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"device_information": {
|
||||
"device_id": "12343232",
|
||||
"device_ip": "123.12.12.123"
|
||||
},
|
||||
"promotion_detail": [
|
||||
{
|
||||
"coupon_id": "109519",
|
||||
"name": "单品惠-6",
|
||||
"scope": "GLOBALSINGLE",
|
||||
"type": "DISCOUNTCOUPON",
|
||||
"amount": 5,
|
||||
"stock_id": "931386",
|
||||
"wechatpay_contribute": 0,
|
||||
"merchant_contribute": 0,
|
||||
"other_contribute": 0
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"appid": "wx8888888888888888",
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q",
|
||||
"plan_id": "101164396123311331",
|
||||
"user_id": "20200330tony",
|
||||
"period_start_date": "2020-03-19",
|
||||
"trade_scene": "EDUCATION_PERIOD"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"presign_token": "0044de6c799739c2e8534b"
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"appid": "wx8888888888888888",
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q",
|
||||
"plan_id": "101164396123311331",
|
||||
"contract_information": {
|
||||
"contract_id": "wx998877665544wx",
|
||||
"contract_status": "ADD",
|
||||
"create_time": "2020-03-26T10:43:39+08:00"
|
||||
}
|
||||
}
|
||||
],
|
||||
"total_count": 30,
|
||||
"offset": 0,
|
||||
"limit": 20
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"appid": "wx8888888888888888"
|
||||
}
|
Reference in New Issue
Block a user