mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-18 14:16:22 +08:00
feat(tenpayv3): 独立化境外支付 API
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=E-bFy6HgY_ffEOQutOpiFXX-SHI3EWhUQtPKAUd1iDGBGUA6Bfbzmcc-CWdJE23-",
|
||||
"hash_type": "SHA1",
|
||||
"hash_value": "8257296d67cd621531ddb3f6d3ed10d3ea45dd09"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"download_bill_count": 1,
|
||||
"download_bill_list": [
|
||||
{
|
||||
"bill_sequence": 1,
|
||||
"download_url": "https://api.mch.weixin.qq.com/v3/bill/downloadurl?token=xxx",
|
||||
"encrypt_key": "a0YK7p+9XaKzE9N4qtFfG/9za1oqKlLXXJWBkH+kX84onAs2Ol/E1fk+6S+FuBXczGDRU8I8D+6PfbwKYBGm0wANUTqHOSezzfbieIo2t51UIId7sP9SoN38W2+IcYDviIsu59KSdyiL3TY2xqZNT8UDcnMWzTNZdSv+CLsSgblB6OKGN9JONTadOFGfv1OKkTp86Li+X7S9bG62wsa572/5Rm4MmDCiKwY4bX2EynWQHBEOExD5URxT6/MX3F1D3BNYrE4fUu1F03k25xVlXnZDjksy6Rf3SCgadR+Cepc6mdfF9b2gTxNsJFMEdYXbqL0W1WQZ3UqSPQCguK6uLA==",
|
||||
"hash_type": "SHA1",
|
||||
"hash_value": "79bb0f45fc4c42234a918000b2668d689e2bde04",
|
||||
"nonce": "a8607ef79034c49c"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"download_url": "https://api.mch.weixin.qq.com/v3/billdownload/file?token=E-bFy6HgY_ffEOQutOpiFXX-SHI3EWhUQtPKAUd1iDGBGUA6Bfbzmcc-CWdJE23-",
|
||||
"hash_type": "SHA1",
|
||||
"hash_value": "8257296d67cd621531ddb3f6d3ed10d3ea45dd09"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"openid": "oWmnN4xxxxxxxxxxe92NHIGf1xd8",
|
||||
"authorize_state": "AUTHORIZED",
|
||||
"authorize_time": "2020-05-20T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"points_commit_status": "PENDING"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"appid": "wx931386123456789e",
|
||||
"brandid": 1000,
|
||||
"openid": "oUpF8uMuAJOM2pxb1Q",
|
||||
"plate_number": "粤B888888",
|
||||
"state": "IN",
|
||||
"sub_mchid": "1900000109",
|
||||
"time": "2022-06-01T10:43:39+08:00"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"sub_mchid": "1234567890",
|
||||
"transaction_id": "4200000533202000000000000000",
|
||||
"appid": "wx8828b70xxxxxxx8",
|
||||
"openid": "otPAN5xxxxxxxxrOEG6lUv_pzacc",
|
||||
"earn_points": true,
|
||||
"increased_points": 100,
|
||||
"points_update_time": "2020-05-20T13:29:35.120+08:00",
|
||||
"no_points_remarks": "促销商品不参与积分活动",
|
||||
"total_points": 888888
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"city_name": "北京市",
|
||||
"city_code": 10
|
||||
}
|
||||
],
|
||||
"total_count": "10"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"province_name": "广东省",
|
||||
"province_code": 22
|
||||
}
|
||||
],
|
||||
"total_count": "10"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"total_count": "10",
|
||||
"data": [
|
||||
{
|
||||
"bank_branch_name": "中国工商银行上海市周浦支行",
|
||||
"bank_branch_id": "102290072311"
|
||||
}
|
||||
],
|
||||
"offset": "0",
|
||||
"account_bank": "招商银行其他银行",
|
||||
"account_bank_code": 1001,
|
||||
"bank_alias": "工商银行深圳前海微众银行",
|
||||
"bank_alias_code": "1000006247"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"total_count": "10",
|
||||
"data": [
|
||||
{
|
||||
"bank_alias": "工商银行深圳前海微众银行",
|
||||
"bank_alias_code": "1000006247",
|
||||
"account_bank": "招商银行其他银行",
|
||||
"account_bank_code": 1001,
|
||||
"need_bank_branch": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"total_count": "10",
|
||||
"data": [
|
||||
{
|
||||
"bank_alias": "工商银行深圳前海微众银行",
|
||||
"bank_alias_code": "1000006247",
|
||||
"account_bank": "招商银行其他银行",
|
||||
"account_bank_code": 1001,
|
||||
"need_bank_branch": true
|
||||
}
|
||||
],
|
||||
"offset": "0"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"sp_mchid": "1900009231",
|
||||
"sub_mchid": "1900000100",
|
||||
"sp_appid": "wxab8acb865bb1637e",
|
||||
"order_entry": "/index/order",
|
||||
"sub_appid": "wx8888888888888888",
|
||||
"out_shop_no": "32432",
|
||||
"openid": "oHkLxt8uweSK05Xb8zGY3KzmUBn8",
|
||||
"sub_openid": "oHkLxt8uweSK05Xb8zGY3KzmUBn8",
|
||||
"login_token": "071oYFSN19sCH31AyNSN15QDSN1oYFSA",
|
||||
"total_amount": 1000,
|
||||
"discount_amount": 100,
|
||||
"user_amount": 900,
|
||||
"status": "CREATE_DEAL",
|
||||
"action_time": "2018-06-08T10:34:56+08:00",
|
||||
"pay_time": "2018-06-08T10:34:56+08:00",
|
||||
"transaction_id": "1009660380201506130728806387",
|
||||
"out_trade_no": "20150806125346",
|
||||
"out_order_no": "20150806125346",
|
||||
"dish_list": [
|
||||
{
|
||||
"out_dish_no": "1",
|
||||
"name": "小鸡炖蘑菇",
|
||||
"price": 6000,
|
||||
"unit": "BY_SHARE",
|
||||
"count": 1,
|
||||
"discount": 100,
|
||||
"type": "FAST_FOOD",
|
||||
"priority": 1,
|
||||
"properties": {
|
||||
"taste": "辣",
|
||||
"cuisine": "炒",
|
||||
"main_material": "猪肝",
|
||||
"ingredients": "青椒 | 辣椒 | 葱 | 八角 ",
|
||||
"others": "有机 | 农家"
|
||||
}
|
||||
}
|
||||
],
|
||||
"people_count": 1
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"serial_no": "5157F09EFDC096DE15EBE81A47057A7232F1B8E1",
|
||||
"effective_time": "2018-06-08T10:34:56+08:00",
|
||||
"expire_time": "2018-12-08T10:34:56+08:00",
|
||||
"encrypt_certificate": {
|
||||
"algorithm": "AEAD_AES_256_GCM",
|
||||
"nonce": "61f9c719728a",
|
||||
"associated_data": "certificate",
|
||||
"ciphertext": "sRvt… "
|
||||
}
|
||||
},
|
||||
{
|
||||
"serial_no": "50062CE505775F070CAB06E697F1BBD1AD4F4D87",
|
||||
"effective_time": "2018-12-07T10:34:56+08:00",
|
||||
"expire_time": "2020-12-07T10:34:56+08:00",
|
||||
"encrypt_certificate": {
|
||||
"algorithm": "AEAD_AES_256_GCM",
|
||||
"nonce": "35f9c719727b",
|
||||
"associated_data": "certificate",
|
||||
"ciphertext": "aBvt… "
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1900000109",
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1230000109"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"combine_out_trade_no": "20150806125346",
|
||||
"combine_mchid": "1900000109",
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"scene_info": {
|
||||
"device_id": "POS1:123",
|
||||
"payer_client_ip": "14.17.22.32"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1900000109",
|
||||
"attach": "深圳分店",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1230000109",
|
||||
"description": "腾讯充值中心-QQ会员充值"
|
||||
}
|
||||
],
|
||||
"combine_payer_info": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"time_start": "2019-12-31T15:59:59+08:00",
|
||||
"time_expire": "2019-12-31T16:59:59+08:00",
|
||||
"notify_url": "https://yourapp.com/notify"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"prepay_id": "wx201410272009395522657a690389285100"
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"combine_out_trade_no": "20150806125346",
|
||||
"combine_mchid": "1900000109",
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"scene_info": {
|
||||
"device_id": "013467007045764",
|
||||
"payer_client_ip": "14.23.150.211",
|
||||
"h5_info": {
|
||||
"app_name": "王者荣耀",
|
||||
"app_url": "https://pay.qq.com",
|
||||
"bundle_id": "com.tencent.wzryiOS",
|
||||
"package_name": "com.tencent.tmgp.sgame",
|
||||
"type": "iOS"
|
||||
}
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1230000109",
|
||||
"attach": "深圳分店",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1900000109",
|
||||
"description": "腾讯充值中心-QQ会员充值",
|
||||
"settle_info": {
|
||||
"profit_sharing": true,
|
||||
"subsidy_amount": 10
|
||||
}
|
||||
}
|
||||
],
|
||||
"time_start": "2019-12-31T15:59:59+08:00",
|
||||
"time_expire": "2019-12-31T16:59:59+08:00",
|
||||
"notify_url": "https://yourapp.com/notify"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"h5_url": "https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx2016121516420242444321ca0631331346&package=1405458241"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"combine_out_trade_no": "20150806125346",
|
||||
"combine_mchid": "1900000109",
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"scene_info": {
|
||||
"device_id": "POS1:123",
|
||||
"payer_client_ip": "14.17.22.32"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1900000109",
|
||||
"attach": "深圳分店",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1230000109",
|
||||
"description": "腾讯充值中心-QQ会员充值"
|
||||
}
|
||||
],
|
||||
"combine_payer_info": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"time_start": "2019-12-31T15:59:59+08:00",
|
||||
"time_expire": "2019-12-31T16:59:59+08:00",
|
||||
"notify_url": "https://yourapp.com/notify"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"prepay_id": "wx201410272009395522657a690389285100"
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"combine_out_trade_no": "20150806125346",
|
||||
"combine_mchid": "1900000109",
|
||||
"scene_info": {
|
||||
"device_id": "POS1:1",
|
||||
"payer_client_ip": "14.17.22.32"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1230000109",
|
||||
"attach": "深圳分店",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1900000109",
|
||||
"description": "腾讯充值中心-QQ会员充值",
|
||||
"settle_info": {
|
||||
"profit_sharing": false,
|
||||
"subsidy_amount": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"mchid": "1230000109",
|
||||
"attach": "深圳分店",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1900000109",
|
||||
"description": "腾讯充值中心-QQ会员充值",
|
||||
"settle_info": {
|
||||
"profit_sharing": false,
|
||||
"subsidy_amount": 10
|
||||
}
|
||||
}
|
||||
],
|
||||
"time_start": "2000-01-23T04:56:07.000+00:00",
|
||||
"time_expire": "2000-01-23T04:56:07.000+00:00",
|
||||
"notify_url": "https://yourapp.com/notify"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"code_url": "weixin://pay.weixin.qq.com/bizpayurl/up?pr=NwY5Mz9&groupid=00"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"combine_mchid": "1230000109",
|
||||
"combine_payer_info": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1900000109",
|
||||
"trade_type": "JSAPI",
|
||||
"trade_state": "SUCCESS",
|
||||
"bank_type": "CMC",
|
||||
"attach": "深圳分店",
|
||||
"success_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"payer_amount": 10,
|
||||
"currency": "CNY",
|
||||
"payer_currency": "CNY"
|
||||
},
|
||||
"transaction_id": "1009660380201506130728806387",
|
||||
"out_trade_no": "20150806125346",
|
||||
"sub_mchid": "1230000109"
|
||||
}
|
||||
],
|
||||
"scene_info": {
|
||||
"device_id": "POS1:1"
|
||||
},
|
||||
"combine_out_trade_no": "1217752501201407033233368018"
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"unfinished_reason": "DUE_TO_QUIT",
|
||||
"mchid": "1230000109",
|
||||
"create_time": "2015-05-20T13:29:35.12+08:00",
|
||||
"openid": "oUpF8uMuAJ2pxb1Q9zNjWeS6o",
|
||||
"pay_information": {
|
||||
"transaction_id": "1009660380201506130728806387",
|
||||
"pay_state": "PAYING",
|
||||
"pay_amount": 100,
|
||||
"pay_time": "2015-05-20T13:29:35.12+08:00"
|
||||
},
|
||||
"sharer_openid": "oUpF8uMuAJ2pxb1Q9zNjWUHsd",
|
||||
"card_id": "233bcbf407e87789b8e471f251774f95",
|
||||
"card_template_id": "87789b2f25177433bcbf407e8e471f95",
|
||||
"out_card_code": "6e8369071cd942c0476613f9d1ce9ca3",
|
||||
"time_range": {
|
||||
"end_time": "2015-05-20T13:29:35.12+08:00",
|
||||
"begin_time": "2015-05-20T13:29:35.12+08:00"
|
||||
},
|
||||
"total_amount": 1000,
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"objectives": [
|
||||
{
|
||||
"unit": "次",
|
||||
"name": "一周购买三次商品",
|
||||
"count": 1,
|
||||
"description": "特价商品",
|
||||
"objective_completion_records": [
|
||||
{
|
||||
"completion_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"objective_completion_serial_no": "578354545",
|
||||
"description": "购买商品/取消购买商品",
|
||||
"completion_count": 1,
|
||||
"remark": "特价商品",
|
||||
"completion_type": "INCREASE",
|
||||
"objective_id": "123456"
|
||||
},
|
||||
{
|
||||
"completion_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"objective_completion_serial_no": "578354545",
|
||||
"description": "购买商品/取消购买商品",
|
||||
"completion_count": 1,
|
||||
"remark": "特价商品",
|
||||
"completion_type": "INCREASE",
|
||||
"objective_id": "123456"
|
||||
}
|
||||
],
|
||||
"objective_id": "123456"
|
||||
},
|
||||
{
|
||||
"unit": "次",
|
||||
"name": "一周购买三次商品",
|
||||
"count": 1,
|
||||
"description": "特价商品",
|
||||
"objective_completion_records": [
|
||||
{
|
||||
"completion_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"objective_completion_serial_no": "578354545",
|
||||
"description": "购买商品/取消购买商品",
|
||||
"completion_count": 1,
|
||||
"remark": "特价商品",
|
||||
"completion_type": "INCREASE",
|
||||
"objective_id": "123456"
|
||||
},
|
||||
{
|
||||
"completion_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"objective_completion_serial_no": "578354545",
|
||||
"description": "购买商品/取消购买商品",
|
||||
"completion_count": 1,
|
||||
"remark": "特价商品",
|
||||
"completion_type": "INCREASE",
|
||||
"objective_id": "123456"
|
||||
}
|
||||
],
|
||||
"objective_id": "123456"
|
||||
}
|
||||
],
|
||||
"state": "ONGOING",
|
||||
"rewards": [
|
||||
{
|
||||
"unit": "个",
|
||||
"amount": 100,
|
||||
"count_type": "COUNT_LIMIT",
|
||||
"name": "八折优惠",
|
||||
"count": 1,
|
||||
"description": "特价商品优惠",
|
||||
"reward_id": "123456",
|
||||
"reward_usage_records": [
|
||||
{
|
||||
"usage_count": 100,
|
||||
"amount": 1,
|
||||
"usage_type": "INCREASE",
|
||||
"usage_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"reward_usage_serial_no": "578354",
|
||||
"description": "购买商品",
|
||||
"reward_id": "123456",
|
||||
"remark": "特价商品"
|
||||
},
|
||||
{
|
||||
"usage_count": 100,
|
||||
"amount": 1,
|
||||
"usage_type": "INCREASE",
|
||||
"usage_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"reward_usage_serial_no": "578354",
|
||||
"description": "购买商品",
|
||||
"reward_id": "123456",
|
||||
"remark": "特价商品"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"unit": "个",
|
||||
"amount": 100,
|
||||
"count_type": "COUNT_LIMIT",
|
||||
"name": "八折优惠",
|
||||
"count": 1,
|
||||
"description": "特价商品优惠",
|
||||
"reward_id": "123456",
|
||||
"reward_usage_records": [
|
||||
{
|
||||
"usage_count": 100,
|
||||
"amount": 1,
|
||||
"usage_type": "INCREASE",
|
||||
"usage_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"reward_usage_serial_no": "578354",
|
||||
"description": "购买商品",
|
||||
"reward_id": "123456",
|
||||
"remark": "特价商品"
|
||||
},
|
||||
{
|
||||
"usage_count": 100,
|
||||
"amount": 1,
|
||||
"usage_type": "INCREASE",
|
||||
"usage_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"reward_usage_serial_no": "578354",
|
||||
"description": "购买商品",
|
||||
"reward_id": "123456",
|
||||
"remark": "特价商品"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"out_card_code": "6e8369071cd942c0476613f9d1ce9ca3",
|
||||
"card_template_id": "87789b2f25177433bcbf407e8e471f95",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"notify_url": "https://api.test.com"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"prepare_card_token": "zyx53Nkey8o4bHpxTQvd8m7e92nG5mG2"
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"card_template_id": "87789b2f25177433bcbf407e8e471f95",
|
||||
"reward_usage_records": [
|
||||
{
|
||||
"usage_count": 100,
|
||||
"amount": 1,
|
||||
"usage_type": "INCREASE",
|
||||
"usage_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"reward_usage_serial_no": "578354",
|
||||
"description": "购买商品",
|
||||
"reward_id": "123456",
|
||||
"remark": "特价商品"
|
||||
}
|
||||
],
|
||||
"objective_completion_records": [
|
||||
{
|
||||
"completion_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"objective_completion_serial_no": "578354545",
|
||||
"description": "购买商品/取消购买商品",
|
||||
"completion_count": 1,
|
||||
"remark": "特价商品",
|
||||
"completion_type": "INCREASE",
|
||||
"objective_id": "123456"
|
||||
},
|
||||
{
|
||||
"completion_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"objective_completion_serial_no": "578354545",
|
||||
"description": "购买商品/取消购买商品",
|
||||
"completion_count": 1,
|
||||
"remark": "特价商品",
|
||||
"completion_type": "INCREASE",
|
||||
"objective_id": "123456"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"appid": "wxaaaa1a123b456c7d"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"openid": "xac1234554567676"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sub_mchid": "1234567890",
|
||||
"operation_type": "OPEN"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"sub_mchid": "1234567890"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sub_mchid": "1234567890",
|
||||
"operation_type": "OPEN"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"sub_mchid": "1234567890"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"sub_mchid": "1900000109"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sub_mchid": "1900000109",
|
||||
"advertising_industry_filters": ["SOFTWARE", "SECURITY", "LOVE_MARRIAGE"]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sub_mchid": "1900000109",
|
||||
"advertising_industry_filters": ["SOFTWARE", "SECURITY", "LOVE_MARRIAGE"]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"out_order_no": "6e8369071cd942c0476613f9d1ce9ca3",
|
||||
"openid": "实例值",
|
||||
"notify_url": "https://api.test.com",
|
||||
"service_id": "实例值"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"order_id": "1234323JKHDFE1243252",
|
||||
"out_order_no": "6e8369071cd942c0476613f9d1ce9ca3",
|
||||
"openid": "2323dfsdf342342",
|
||||
"max_claim_count": 3,
|
||||
"claimed_count": 1,
|
||||
"order_receive_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"order_begin_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"order_end_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"order_receive_state": "RECEIVING"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"order_id": "1234323JKHDFE1243252",
|
||||
"out_order_no": "6e8369071cd942c0476613f9d1ce9ca3",
|
||||
"openid": "2323dfsdf342342",
|
||||
"max_claim_count": 3,
|
||||
"claimed_count": 1,
|
||||
"order_receive_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"order_begin_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"order_end_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"order_receive_state": "RECEIVING"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"qualified_user": true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"coupon_list": [
|
||||
{
|
||||
"coupon_id": "11004999626",
|
||||
"stock_id": 16474341
|
||||
}
|
||||
],
|
||||
"open_id": "obLatjrR8kUDlj4-nofQsPAJAAFI"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"expires_time": "2015-05-20T13:29:35+08:00",
|
||||
"token": "16824f40-aec1-11e8-a69c-f7a44da04f19"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"donate_count": 25000,
|
||||
"consume_count": 1250
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"bank_type": "ICBC_DEBIT",
|
||||
"filename": "active_user.csv",
|
||||
"sha256": "addca90a6a290b9642dbaccffdf01e8c22aa348940b2e96754169ba08c19e5db"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"bank_type": "ICBC_DEBIT",
|
||||
"create_time": "2020-05-20T13:29:35+08:00",
|
||||
"fail_count": 20,
|
||||
"filename": "active_user.csv",
|
||||
"package_id": "8473295",
|
||||
"status": "PROCESSING",
|
||||
"success_count": 1000,
|
||||
"success_user_count": 1000,
|
||||
"task_id": "101",
|
||||
"update_time": "2020-05-20T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"mchid": "10000098",
|
||||
"notify_url": "https://pay.weixin.qq.com"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"mchid": "10000098",
|
||||
"notify_url": "https://pay.weixin.qq.com"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"update_time": "2019-05-20T13:29:35+08:00",
|
||||
"notify_url": "https://pay.weixin.qq.com",
|
||||
"mchid": "10000098"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"coupon_code": "sxxe34343434",
|
||||
"out_trade_no": "MCH_102233445",
|
||||
"stock_id": "100088",
|
||||
"out_request_no": "1002600620019090123143254435"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"wechatpay_associate_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"coupon_code": "sxxe34343434",
|
||||
"stock_id": "1234567891",
|
||||
"return_request_no": "1002600620019090123143254436"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"wechatpay_return_time": "2020-05-20T13:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"coupon_code": "sxxe34343434",
|
||||
"stock_id": "1234567891",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_reason": "此券使用时间设置错误"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"wechatpay_deactivate_time": "2020-05-20T13:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"coupon_code": "213dsadfsa",
|
||||
"out_trade_no": "treads8a9f980",
|
||||
"stock_id": "100088",
|
||||
"out_request_no": "fdsafdsafdsa231321"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"wechatpay_disassociate_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"send_time": "2019-12-31T13:29:35.120+08:00",
|
||||
"openid": "obLatjhnqgy2syxrXVM3MJirbkdI",
|
||||
"appid": "wxc0b84a53ed8e8d29",
|
||||
"out_request_no": "oTYhjfdsahnssddj_0136"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"card_code": "198555211279"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"coupon_code": "sxxe34343434",
|
||||
"stock_id": "100088",
|
||||
"appid": "wx1234567889999",
|
||||
"use_time": "2015-05-20T13:29:35+08:00",
|
||||
"use_request_no": "1002600620019090123143254435",
|
||||
"openid": "xsd3434454567676"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"stock_id": "100088",
|
||||
"openid": "dsadas34345454545",
|
||||
"wechatpay_use_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"stock_name": "8月1日活动券",
|
||||
"belong_merchant": "10000098",
|
||||
"comment": "活动使用",
|
||||
"goods_name": "填写代金券可适用的商品或服务",
|
||||
"stock_type": "NORMAL",
|
||||
"coupon_use_rule": {
|
||||
"coupon_available_time": {
|
||||
"available_begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_day_after_receive": 3,
|
||||
"wait_days_after_receive": 7,
|
||||
"available_week": {
|
||||
"week_day": [1, 2],
|
||||
"available_day_time": [
|
||||
{
|
||||
"begin_time": 3600,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregulary_avaliable_time": [
|
||||
{
|
||||
"begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"end_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fixed_normal_coupon": {
|
||||
"discount_amount": 5,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"use_method": "OFF_LINE",
|
||||
"mini_programs_appid": "wx23232232323",
|
||||
"mini_programs_path": "/path/index/index"
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_coupons": 100,
|
||||
"max_coupons_per_user": 5,
|
||||
"max_coupons_by_day": 100,
|
||||
"natural_person_limit": false,
|
||||
"prevent_api_abuse": false,
|
||||
"transferable": false,
|
||||
"shareable": false
|
||||
},
|
||||
"out_request_no": "100002322019090134234sfdf",
|
||||
"custom_entrance": {
|
||||
"mini_programs_info": {
|
||||
"mini_programs_appid": "wx234545656765876",
|
||||
"mini_programs_path": "/path/index/index",
|
||||
"entrance_words": "欢迎选购",
|
||||
"guiding_words": "获取更多优惠"
|
||||
},
|
||||
"appid": "wx324345hgfhfghfg",
|
||||
"hall_id": "233455656",
|
||||
"store_id": "233554655"
|
||||
},
|
||||
"display_pattern_info": {
|
||||
"description": "xxx门店可用",
|
||||
"merchant_logo_url": "https://xxx",
|
||||
"merchant_name": "微信支付",
|
||||
"background_color": "Color020",
|
||||
"coupon_image_url": "https://qpic.cn/xxx",
|
||||
"finder_info": {
|
||||
"finder_id": "sph6Rngt2T4RlUf",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/xxx",
|
||||
"finder_video_id": "export/UzFfAgtgekIEAQAAAAAAb4MgnPInmAAAAAstQy6ubaLX4KHWvLEZgBPEwIEgVnk9HIP-zNPgMJofG6tpdGPJNg_ojtEjoT94"
|
||||
}
|
||||
},
|
||||
"coupon_code_mode": "WECHATPAY_MODE"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"stock_id": "98065001",
|
||||
"create_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"stock_name": "8月1日活动券",
|
||||
"belong_merchant": "10000022",
|
||||
"comment": "xxx店使用",
|
||||
"goods_name": "xxx商品使用",
|
||||
"stock_type": "NORMAL",
|
||||
"coupon_use_rule": {
|
||||
"coupon_available_time": {
|
||||
"available_begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_day_after_receive": 3,
|
||||
"available_week": {
|
||||
"week_day": ["1", "2"],
|
||||
"available_day_time": [
|
||||
{
|
||||
"begin_time": 3600,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregulary_avaliable_time": [
|
||||
{
|
||||
"begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"end_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fixed_normal_coupon": {
|
||||
"discount_amount": 5,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"use_method": "OFF_LINE",
|
||||
"mini_programs_appid": "wx23232232323",
|
||||
"mini_programs_path": "/path/index/index"
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_amount": 100000,
|
||||
"max_coupons": 100,
|
||||
"max_coupons_per_user": 5,
|
||||
"max_amount_by_day": 1000,
|
||||
"max_coupons_by_day": 100,
|
||||
"natural_person_limit": false,
|
||||
"prevent_api_abuse": false,
|
||||
"transferable": false,
|
||||
"shareable": false
|
||||
},
|
||||
"custom_entrance": {
|
||||
"mini_programs_info": {
|
||||
"mini_programs_appid": "wx234545656765876",
|
||||
"mini_programs_path": "/path/index/index",
|
||||
"entrance_words": "欢迎选购",
|
||||
"guiding_words": "获取更多优惠"
|
||||
},
|
||||
"appid": "wx324345hgfhfghfg",
|
||||
"hall_id": "233455656",
|
||||
"store_id": "233554655"
|
||||
},
|
||||
"display_pattern_info": {
|
||||
"description": "xxx门店可用",
|
||||
"merchant_logo_url": "https://xxx",
|
||||
"merchant_name": "微信支付",
|
||||
"background_color": "Color020",
|
||||
"coupon_image_url": "https://qpic.cn/xxx",
|
||||
"finder_info": {
|
||||
"finder_id": "sph6Rngt2T4RlUf",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/xxx",
|
||||
"finder_video_id": "export/UzFfAgtgekIEAQAAAAAAb4MgnPInmAAAAAstQy6ubaLX4KHWvLEZgBPEwIEgVnk9HIP-zNPgMJofG6tpdGPJNg_ojtEjoT94"
|
||||
}
|
||||
},
|
||||
"stock_state": "RUNNING",
|
||||
"coupon_code_mode": "MERCHANT_UPLOAD",
|
||||
"stock_id": "1212",
|
||||
"coupon_code_count": {
|
||||
"total_count": 100,
|
||||
"available_count": 50
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"stock_id": "128888000000001",
|
||||
"coupon_code": "ABCD12345678",
|
||||
"transaction_id": "4200000913202101152566792388",
|
||||
"payer_merchant": "1900000001",
|
||||
"payee_merchant": "1900000002",
|
||||
"amount": 100,
|
||||
"description": "20210115DESCRIPTION",
|
||||
"out_subsidy_no": "subsidy-abcd-12345678"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"subsidy_receipt_id": "1120200119165100000000000001",
|
||||
"stock_id": "128888000000001",
|
||||
"coupon_code": "ABCD12345678",
|
||||
"transaction_id": "4200000913202101152566792388",
|
||||
"payer_merchant": "1900000001",
|
||||
"payee_merchant": "1900000002",
|
||||
"amount": 100,
|
||||
"description": "20210115DESCRIPTION",
|
||||
"status": "SUCCESS",
|
||||
"success_time": "2021-01-20T10:29:35.120+08:00",
|
||||
"out_subsidy_no": "subsidy-abcd-12345678",
|
||||
"create_time": "2021-01-20T10:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"stock_id": "128888000000001",
|
||||
"coupon_code": "ABCD12345678",
|
||||
"transaction_id": "4200000913202101152566792388",
|
||||
"refund_id": "50100506732021010105138718375",
|
||||
"payer_merchant": "1900000001",
|
||||
"payee_merchant": "1900000002",
|
||||
"amount": 100,
|
||||
"description": "20210115DESCRIPTION",
|
||||
"out_subsidy_return_no": "subsidy-abcd-12345678"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"subsidy_return_receipt_id": "2120200119165100000000000001",
|
||||
"stock_id": "128888000000001",
|
||||
"coupon_code": "ABCD12345678",
|
||||
"transaction_id": "4200000913202101152566792388",
|
||||
"refund_id": "50100506732021010105138718375",
|
||||
"payer_merchant": "1900000001",
|
||||
"payee_merchant": "1900000002",
|
||||
"amount": 100,
|
||||
"description": "20210115DESCRIPTION",
|
||||
"status": "SUCCESS",
|
||||
"return_done_time": "2021-01-20T10:29:35.120+08:00",
|
||||
"subsidy_receipt_id": "1120200119165100000000000001",
|
||||
"out_subsidy_return_no": "subsidy-abcd-12345678",
|
||||
"return_create_time": "2021-01-20T10:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"subsidy_receipt_id": "1120200119165100000000000001",
|
||||
"stock_id": "128888000000001",
|
||||
"coupon_code": "ABCD12345678",
|
||||
"transaction_id": "4200000913202101152566792388",
|
||||
"payer_merchant": "1900000001",
|
||||
"payee_merchant": "1900000002",
|
||||
"amount": 100,
|
||||
"description": "20210115DESCRIPTION",
|
||||
"status": "SUCCESS",
|
||||
"success_time": "2021-01-20T10:29:35.120+08:00",
|
||||
"out_subsidy_no": "subsidy-abcd-12345678",
|
||||
"create_time": "2021-01-20T10:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"pay_receipt_list": [
|
||||
{
|
||||
"subsidy_receipt_id": "1120200119165100000000000001",
|
||||
"stock_id": "128888000000001",
|
||||
"coupon_code": "ABCD12345678",
|
||||
"transaction_id": "4200000913202101152566792388",
|
||||
"payer_merchant": "1900000001",
|
||||
"payee_merchant": "1900000002",
|
||||
"amount": 100,
|
||||
"description": "20210115DESCRIPTION",
|
||||
"status": "SUCCESS",
|
||||
"success_time": "2021-01-20T10:29:35.120+08:00",
|
||||
"out_subsidy_no": "subsidy-abcd-12345678",
|
||||
"create_time": "2021-01-20T10:29:35.120+08:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"target_max_coupons": 3000,
|
||||
"current_max_coupons": 500,
|
||||
"modify_budget_request_no": "1002600620019090123143254436"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"max_coupons": 300,
|
||||
"max_coupons_by_day": 100
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"custom_entrance": {
|
||||
"mini_programs_info": {
|
||||
"mini_programs_appid": "wx234545656765876",
|
||||
"mini_programs_path": "/path/index/index",
|
||||
"entrance_words": "欢迎选购",
|
||||
"guiding_words": "获取更多优惠"
|
||||
},
|
||||
"appid": "wx324345hgfhfghfg",
|
||||
"hall_id": "233455656",
|
||||
"code_display_mode": "BARCODE"
|
||||
},
|
||||
"comment": "活动使用",
|
||||
"goods_name": "xxx商品使用",
|
||||
"out_request_no": "6122352020010133287985742",
|
||||
"display_pattern_info": {
|
||||
"description": "xxx门店可用",
|
||||
"background_color": "xxxxx",
|
||||
"coupon_image_url": "图片cdn地址"
|
||||
},
|
||||
"coupon_use_rule": {
|
||||
"use_method": "OFF_LINE",
|
||||
"mini_programs_appid": "wx23232232323",
|
||||
"mini_programs_path": "/path/index/index"
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"prevent_api_abuse": false
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx23232232323"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"coupon_code_list": ["ABC9588200", "ABC9588201"],
|
||||
"upload_request_no": "100002322019090134234sfdf"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"stock_id": "98065001",
|
||||
"total_count": 500,
|
||||
"success_count": 20,
|
||||
"success_codes": ["MMAA12345"],
|
||||
"success_time": "2015-05-20T13:29:35+08:00",
|
||||
"fail_count": 10,
|
||||
"fail_codes": [
|
||||
{
|
||||
"coupon_code": "ABCD23456",
|
||||
"code": "LENGTH_LIMIT",
|
||||
"message": "长度超过最大值32位"
|
||||
}
|
||||
],
|
||||
"exist_codes": ["ABCD2345"],
|
||||
"duplicate_codes": ["AACC2345"]
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"belong_merchant": "100000222",
|
||||
"stock_name": "商家券",
|
||||
"comment": "xxx可用",
|
||||
"goods_name": "xxx商品可用",
|
||||
"stock_type": "NORMAL",
|
||||
"transferable": false,
|
||||
"shareable": false,
|
||||
"coupon_state": "SENDED",
|
||||
"display_pattern_info": {
|
||||
"description": "xxx门店可用",
|
||||
"merchant_logo_url": "https://xxx",
|
||||
"merchant_name": "微信支付",
|
||||
"background_color": "Color020",
|
||||
"coupon_image_url": "https://qpic.cn/xxx"
|
||||
},
|
||||
"coupon_use_rule": {
|
||||
"coupon_available_time": {
|
||||
"available_begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_day_after_receive": 3,
|
||||
"available_week": {
|
||||
"week_day": ["1", "2"],
|
||||
"available_day_time": [
|
||||
{
|
||||
"begin_time": 3600,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregulary_avaliable_time": [
|
||||
{
|
||||
"begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"end_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fixed_normal_coupon": {
|
||||
"discount_amount": 5,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"use_method": "OFF_LINE",
|
||||
"mini_programs_appid": "wx23232232323",
|
||||
"mini_programs_path": "/path/index/index"
|
||||
},
|
||||
"custom_entrance": {
|
||||
"mini_programs_info": {
|
||||
"mini_programs_appid": "wx234545656765876",
|
||||
"mini_programs_path": "/path/index/index",
|
||||
"entrance_words": "欢迎选购",
|
||||
"guiding_words": "获取更多优惠"
|
||||
},
|
||||
"appid": "wx324345hgfhfghfg",
|
||||
"hall_id": "233455656",
|
||||
"store_id": "233554655"
|
||||
},
|
||||
"coupon_code": "123446565767",
|
||||
"stock_id": "1002323",
|
||||
"available_start_time": "2019-12-30T13:29:35+08:00",
|
||||
"expire_time": "2019-12-31T13:29:35+08:00",
|
||||
"receive_time": "2019-12-30T13:29:35+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"use_request_no": "MCHSEND202003101234",
|
||||
"use_time": "2019-12-30T13:29:35+08:00"
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"belong_merchant": "100000222",
|
||||
"stock_name": "商家券",
|
||||
"comment": "xxx可用",
|
||||
"goods_name": "xxx商品可用",
|
||||
"stock_type": "NORMAL",
|
||||
"transferable": false,
|
||||
"shareable": false,
|
||||
"coupon_state": "SENDED",
|
||||
"display_pattern_info": {
|
||||
"merchant_logo_url": "https://xxx",
|
||||
"merchant_name": "微信支付",
|
||||
"background_color": "Color020",
|
||||
"coupon_image_url": "https://qpic.cn/xxx"
|
||||
},
|
||||
"coupon_use_rule": {
|
||||
"coupon_available_time": {
|
||||
"available_begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35+08:00",
|
||||
"available_day_after_receive": 3,
|
||||
"available_week": {
|
||||
"week_day": ["1", "2"],
|
||||
"available_day_time": [
|
||||
{
|
||||
"begin_time": 3600,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregulary_avaliable_time": [
|
||||
{
|
||||
"begin_time": "2015-05-20T13:29:35+08:00",
|
||||
"end_time": "2015-05-20T13:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fixed_normal_coupon": {
|
||||
"discount_amount": 5,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"use_method": "OFF_LINE",
|
||||
"mini_programs_appid": "wx23232232323",
|
||||
"mini_programs_path": "/path/index/index"
|
||||
},
|
||||
"custom_entrance": {
|
||||
"mini_programs_info": {
|
||||
"mini_programs_appid": "wx234545656765876",
|
||||
"mini_programs_path": "/path/index/index",
|
||||
"entrance_words": "欢迎选购",
|
||||
"guiding_words": "获取更多优惠"
|
||||
},
|
||||
"appid": "wx324345hgfhfghfg",
|
||||
"hall_id": "233455656",
|
||||
"store_id": "233554655"
|
||||
},
|
||||
"coupon_code": "123446565767",
|
||||
"stock_id": "1002323",
|
||||
"available_start_time": "2019-12-30T13:29:35+08:00",
|
||||
"expire_time": "2019-12-31T13:29:35+08:00",
|
||||
"receive_time": "2019-12-30T13:29:35+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"use_request_no": "MCHSEND202003101234",
|
||||
"use_time": "2019-12-30T13:29:35+08:00"
|
||||
}
|
||||
],
|
||||
"total_count": 100,
|
||||
"limit": 10,
|
||||
"offset": 1
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"mchid": "9856888",
|
||||
"notify_url": "https://pay.weixin.qq.com"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"update_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"notify_url": "api.weixin.qq.com"
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"stock_name": "微信支付代金券批次",
|
||||
"comment": "零售批次",
|
||||
"belong_merchant": "98568865",
|
||||
"available_begin_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"stock_use_rule": {
|
||||
"max_coupons": 100,
|
||||
"max_amount": 5000,
|
||||
"max_amount_by_day": 400,
|
||||
"max_coupons_per_user": 3,
|
||||
"natural_person_limit": false,
|
||||
"prevent_api_abuse": false
|
||||
},
|
||||
"pattern_info": {
|
||||
"description": "微信支付营销代金券",
|
||||
"merchant_logo": "https://qpic.cn/xxx",
|
||||
"merchant_name": "微信支付",
|
||||
"background_color": "COLOR020",
|
||||
"coupon_image": "https://qpic.cn/xxx"
|
||||
},
|
||||
"coupon_use_rule": {
|
||||
"fixed_normal_coupon": {
|
||||
"coupon_amount": 50,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"goods_tag": ["123321", "123322"],
|
||||
"trade_type": ["OTHER", "APPPAY"],
|
||||
"combine_use": false,
|
||||
"available_items": ["123321", "123322"],
|
||||
"available_merchants": ["9856000", "9856001"]
|
||||
},
|
||||
"no_cash": false,
|
||||
"stock_type": "NORMAL",
|
||||
"out_request_no": "89560002019101000121"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"stock_id": "98065001",
|
||||
"create_time": "2015-05-20T13:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"stock_id": "9836588",
|
||||
"stock_creator_mchid": "123456",
|
||||
"stock_name": "微信支付批次",
|
||||
"status": "paused",
|
||||
"create_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"description": "微信支付营销",
|
||||
"stock_use_rule": {
|
||||
"max_coupons": 100,
|
||||
"max_amount": 5000,
|
||||
"max_amount_by_day": 400,
|
||||
"max_coupons_per_user": 3,
|
||||
"trade_type": ["OTHER", "APPPAY"]
|
||||
},
|
||||
"available_begin_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"distributed_coupons": 100,
|
||||
"no_cash": true,
|
||||
"cut_to_message": {
|
||||
"single_price_max": 100,
|
||||
"cut_to_price": 5000
|
||||
},
|
||||
"singleitem": true,
|
||||
"stock_type": "NORMAL"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"hash_type": "SHA1",
|
||||
"hash_value": "8ae0eb442c408d2e90d669d6f4ad6b7e6e049d6f",
|
||||
"url": "download://example.csv"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"hash_type": "SHA1",
|
||||
"hash_value": "8ae0eb442c408d2e90d669d6f4ad6b7e6e049d6f",
|
||||
"url": "download://example.csv"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"stock_creator_mchid": "8956000"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"start_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"stock_id": "8965000"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"stock_id": "9865000",
|
||||
"total_count": "200",
|
||||
"offset": "10",
|
||||
"limit": "10"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"data": ["2480248941"],
|
||||
"limit": 5,
|
||||
"offset": 0,
|
||||
"stock_id": "15019035",
|
||||
"total_count": 1
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"total_count": 10,
|
||||
"data": [
|
||||
{
|
||||
"stock_id": "9836588",
|
||||
"stock_creator_mchid": "123456",
|
||||
"stock_name": "微信支付批次",
|
||||
"status": "paused",
|
||||
"create_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"description": "微信支付营销",
|
||||
"stock_use_rule": {
|
||||
"max_coupons": 100,
|
||||
"max_amount": 5000,
|
||||
"max_amount_by_day": 400,
|
||||
"fixed_normal_coupon": {
|
||||
"coupon_amount": 100,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"max_coupons_per_user": 3,
|
||||
"trade_type": ["OTHER", "APPPAY"]
|
||||
},
|
||||
"available_begin_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"distributed_coupons": 100,
|
||||
"no_cash": true,
|
||||
"singleitem": true,
|
||||
"stock_type": "NORMAL"
|
||||
}
|
||||
],
|
||||
"limit": 8,
|
||||
"offset": 1
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"stock_creator_mchid": "8956000"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"start_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"stock_id": "8965000"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"stock_creator_mchid": "8956000"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user