feat(tenpayv3): 新增服务商教育续费通相关接口

This commit is contained in:
Fu Diwei
2024-05-15 15:35:17 +08:00
parent cb827a05e4
commit 31ba9c30ae
17 changed files with 249 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
{
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888",
"body": "新东方-语文课程",
"attach": "自定义数据",
"out_trade_no": "121775250124070332",

View File

@@ -1,6 +1,10 @@
{
"sp_mchid": "1230000109",
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888",
"openid": "oUpF8uMuAJOM2pxb1Q",
"sub_openid": "oUpF8uMuAJOM2pxb1Q",
"plan_id": "101164396123311331",
"contract_information": {
"contract_id": "wx998877665544wx",

View File

@@ -1,5 +1,8 @@
{
"sp_mchid": "1230000109",
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888",
"out_trade_no": "201407033233368018",
"transaction_id": "25012014070332333018",
"attach": "自定义数据",
@@ -8,7 +11,8 @@
"trade_state": "SUCCESS",
"trade_state_description": "支付成功",
"payer": {
"openid": "oUpF8uMuAJOM2pxb1Q"
"openid": "oUpF8uMuAJOM2pxb1Q",
"sub_openid": "oUpF8uMuAJOM2pxb1Q"
},
"amount": {
"total": 888,
@@ -24,8 +28,8 @@
{
"coupon_id": "109519",
"name": "单品惠-6",
"scope": "GLOBALSINGLE",
"type": "DISCOUNTCOUPON",
"scope": "GLOBAL",
"type": "DISCOUNT",
"amount": 5,
"stock_id": "931386",
"wechatpay_contribute": 0,

View File

@@ -1,4 +1,8 @@
{
"sp_mchid": "1230000109",
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888",
"out_trade_no": "201407033233368018",
"transaction_id": "25012014070332333018",
"attach": "自定义数据",
@@ -7,7 +11,8 @@
"trade_state": "SUCCESS",
"trade_state_description": "支付成功",
"payer": {
"openid": "oUpF8uMuAJOM2pxb1Q"
"openid": "oUpF8uMuAJOM2pxb1Q",
"sub_openid": "oUpF8uMuAJOM2pxb1Q"
},
"amount": {
"total": 888,
@@ -23,8 +28,8 @@
{
"coupon_id": "109519",
"name": "单品惠-6",
"scope": "GLOBALSINGLE",
"type": "DISCOUNTCOUPON",
"scope": "GLOBAL",
"type": "DISCOUNT",
"amount": 5,
"stock_id": "931386",
"wechatpay_contribute": 0,

View File

@@ -1,6 +1,9 @@
{
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888",
"openid": "oUpF8uMuAJOM2pxb1Q",
"sub_openid": "oUpF8uMuAJOM2pxb2W",
"plan_id": "101164396123311331",
"user_id": "20200330tony",
"period_start_date": "2020-03-19",

View File

@@ -1,8 +1,12 @@
{
"data": [
{
"sp_mchid": "1230000109",
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888",
"openid": "oUpF8uMuAJOM2pxb1Q",
"sub_openid": "oUpF8uMuAJOM2pxb1Q",
"plan_id": "101164396123311331",
"contract_information": {
"contract_id": "wx998877665544wx",
@@ -12,6 +16,6 @@
}
],
"total_count": 30,
"offset": 0,
"offset": 1,
"limit": 20
}

View File

@@ -1,3 +1,5 @@
{
"appid": "wx8888888888888888"
"appid": "wx8888888888888888",
"sub_mchid": "1900000109",
"sub_appid": "wx8888888888888888"
}