mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(tenpayv3): 独立化境外支付 API
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"openid": "oWmnN4xxxxxxxxxxe92NHIGf1xd8",
|
||||
"code": "478515832665",
|
||||
"mchid": "1230000109",
|
||||
"auth_type": "REGISTERED_MODE "
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"mchid": "1234567890",
|
||||
"merchant_name": "万象天地",
|
||||
"shop_name": "重庆烤鱼(万象天地店)",
|
||||
"shop_number": "50001",
|
||||
"openid": "swe23be954ffots3jrvjweslfmde",
|
||||
"appid": "wx2c23be954ff1624f",
|
||||
"refund_time": "2018-05-23T12:13:50+08:00",
|
||||
"pay_amount": 100,
|
||||
"refund_amount": 100,
|
||||
"transaction_id": "42000001217201407033233368018",
|
||||
"refund_id": "1217752501201407033233368999"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"mchid": "1230000109",
|
||||
"merchant_name": "腾讯广场",
|
||||
"shop_name": "微信支付",
|
||||
"shop_number": "123456",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"openid": "oUpF8uMuAJ2pxb1Q9zNjWUHsd",
|
||||
"amount": 200,
|
||||
"time_end": "2020-05-20T13:29:35+08:00",
|
||||
"transaction_id": "1234567890",
|
||||
"code": "478515832665",
|
||||
"auth_type": "REGISTERED_MODE"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"combine_appid": "wxd678efh567hg6787",
|
||||
"combine_out_trade_no": "20150806125346",
|
||||
"combine_mchid": "1900000109",
|
||||
"scene_info": {
|
||||
"device_id": "POS1:1"
|
||||
},
|
||||
"sub_orders": [
|
||||
{
|
||||
"mchid": "1900000109",
|
||||
"trade_type": "JSAPI",
|
||||
"trade_state": "SUCCESS",
|
||||
"bank_type": "CMC",
|
||||
"attach": "深圳分店",
|
||||
"amount": {
|
||||
"total_amount": 10,
|
||||
"currency": "CNY",
|
||||
"payer_amount": 10,
|
||||
"payer_currency": "CNY"
|
||||
},
|
||||
"success_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"transaction_id": "1009660380201506130728806387",
|
||||
"out_trade_no": "20150806125346"
|
||||
}
|
||||
],
|
||||
"combine_payer_info": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"card_id": "233bcbf407e87789b8e471f251774f95",
|
||||
"card_template_id": "87789b2f25177433bcbf407e8e471f95",
|
||||
"openid": "oUpF8uMuAJ2pxb1Q9zNjWeS6o",
|
||||
"out_card_code": "6e8369071cd942c0476613f9d1ce9ca3",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mchid": "1230000109",
|
||||
"time_range": {
|
||||
"begin_time": "2020-05-20T13:29:35.120+08:00",
|
||||
"end_time": "2020-05-21T13:29:35.120+08:00"
|
||||
},
|
||||
"state": "ONGOING",
|
||||
"create_time": "2020-05-20T13:29:35.120+08:00",
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"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": "特价商品"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"sharer_openid": "oUpF8uMuAJ2pxb1Q9zNjWUHsd"
|
||||
}
|
||||
@@ -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,14 @@
|
||||
{
|
||||
"event_type": "EVENT_TYPE_BUSICOUPON_SEND",
|
||||
"coupon_code": "1227944959000000911017",
|
||||
"stock_id": "1286950000000039",
|
||||
"send_time": "2019-12-17T10:35:53+08:00",
|
||||
"openid": "odXnH1CJjeQoWTld48db-pnxs-Wg",
|
||||
"unionid": "oOuyajgxj0oVwjocSoQm6mp7PGKw",
|
||||
"send_channel": "BUSICOUPON_SEND_CHANNEL_PAYGIFT",
|
||||
"send_merchant": "98568888",
|
||||
"attach_info": {
|
||||
"transaction_id": "4200000462220200226114599",
|
||||
"act_code": "540358695"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"stock_creator_mchid": "9800064",
|
||||
"stock_id": "9865888",
|
||||
"coupon_id": "98674556",
|
||||
"singleitem_discount_off": {
|
||||
"single_price_max": 100
|
||||
},
|
||||
"discount_to": {
|
||||
"cut_to_price": 100,
|
||||
"max_price": 10
|
||||
},
|
||||
"coupon_name": "微信支付代金券",
|
||||
"status": "EXPIRED",
|
||||
"description": "微信支付营销",
|
||||
"create_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"coupon_type": "CUT_TO",
|
||||
"no_cash": true,
|
||||
"available_begin_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"available_end_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"singleitem": true,
|
||||
"normal_coupon_information": {
|
||||
"coupon_amount": 100,
|
||||
"transaction_minimum": 100
|
||||
},
|
||||
"consume_information": {
|
||||
"consume_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"consume_mchid": "9856081",
|
||||
"transaction_id": "2345234523",
|
||||
"goods_detail": [
|
||||
{
|
||||
"goods_id": "a_goods1",
|
||||
"quantity": 7,
|
||||
"price": 1,
|
||||
"discount_amount": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"event_type": "MEMBER_CARD_ACTIVATE",
|
||||
"event_time": "2019-12-17T10:35:53+08:00",
|
||||
"openid": "obLatjnx9gnqzS4myYGmLZ7LgLBA",
|
||||
"unionid": "obLatjvNtj7wO79ewoQBVIUEArg0",
|
||||
"card_id": "paCkC00igoi8VmVpDvapnUhkN99w",
|
||||
"code": "289560490049",
|
||||
"outer_str": "sz_store_001"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"complaint_id": "200201820200101080076610000",
|
||||
"action_type": "CREATE_COMPLAINT"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"mchid": "1900000109",
|
||||
"fapiao_apply_id": "4200000444201910177461284488",
|
||||
"apply_time": "2020-07-01T12:00:00+08:00",
|
||||
"fapiao_information": [
|
||||
{
|
||||
"fapiao_id": "20200701123456",
|
||||
"fapiao_status": "ISSUED",
|
||||
"card_status": "INSERTED"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mchid": "1230000109",
|
||||
"out_request_no": "1234323JKHDFE1243252",
|
||||
"service_id": "500001",
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"user_service_status": "USER_OPEN_SERVICE",
|
||||
"openorclose_time": "20180225112233"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mchid": "1230000109",
|
||||
"out_order_no": "1234323JKHDFE1243252",
|
||||
"service_id": "500001",
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"state": "DOING",
|
||||
"state_description": "USER_CONFIRM",
|
||||
"total_amount": "40000",
|
||||
"service_introduction": "嗨客餐厅用餐",
|
||||
"post_payments": [
|
||||
{
|
||||
"name": "服务费",
|
||||
"amount": 40000,
|
||||
"description": "每分钟1元"
|
||||
}
|
||||
],
|
||||
"post_discounts": [
|
||||
{
|
||||
"name": "满20减1元",
|
||||
"amount": 1,
|
||||
"description": "不与其他优惠叠加"
|
||||
}
|
||||
],
|
||||
"risk_fund": {
|
||||
"name": "ESTIMATE_ORDER_COST",
|
||||
"amount": 10000,
|
||||
"description": "就餐的预估费用"
|
||||
},
|
||||
"time_range": {
|
||||
"start_time": "20091225091010",
|
||||
"end_time": "20091225091210"
|
||||
},
|
||||
"location": {
|
||||
"start_location": "嗨客时尚主题展餐厅",
|
||||
"end_location": "嗨客时尚主题展餐厅"
|
||||
},
|
||||
"attach": "attach",
|
||||
"order_id": "165461131"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"mchid": "1900000100",
|
||||
"transaction_id": "1008450740201411110005820873",
|
||||
"out_trade_no": "20150806125346",
|
||||
"refund_id": "50200207182018070300011301001",
|
||||
"out_refund_no": "7752501201407033233368018",
|
||||
"refund_status": "SUCCESS",
|
||||
"success_time": "2018-06-08T10:34:56+08:00",
|
||||
"user_received_account": "招商银行信用卡0403",
|
||||
"amount": {
|
||||
"total": 999,
|
||||
"refund": 999,
|
||||
"payer_total": 999,
|
||||
"payer_refund": 999
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"transaction_id": "1217752501201407033233368018",
|
||||
"amount": {
|
||||
"payer_total": 100,
|
||||
"total": 100,
|
||||
"currency": "CNY",
|
||||
"payer_currency": "CNY"
|
||||
},
|
||||
"mchid": "1230000109",
|
||||
"trade_state": "SUCCESS",
|
||||
"bank_type": "CMC",
|
||||
"promotion_detail": [
|
||||
{
|
||||
"amount": 100,
|
||||
"wechatpay_contribute": 0,
|
||||
"coupon_id": "109519",
|
||||
"scope": "GLOBAL",
|
||||
"merchant_contribute": 0,
|
||||
"name": "单品惠-6",
|
||||
"other_contribute": 0,
|
||||
"currency": "CNY",
|
||||
"stock_id": "931386",
|
||||
"goods_detail": [
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
},
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"amount": 100,
|
||||
"wechatpay_contribute": 0,
|
||||
"coupon_id": "109519",
|
||||
"scope": "GLOBAL",
|
||||
"merchant_contribute": 0,
|
||||
"name": "单品惠-6",
|
||||
"other_contribute": 0,
|
||||
"currency": "CNY",
|
||||
"stock_id": "931386",
|
||||
"goods_detail": [
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
},
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"success_time": "2018-06-08T10:34:56+08:00",
|
||||
"payer": {
|
||||
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"out_trade_no": "1217752501201407033233368018",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"trade_state_desc": "支付成功",
|
||||
"trade_type": "MICROPAY",
|
||||
"attach": "自定义数据",
|
||||
"scene_info": {
|
||||
"device_id": "013467007045764"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"out_batch_no": "bfatestnotify000033",
|
||||
"batch_id": "131000007026709999520922023081519403795655",
|
||||
"batch_status": "FINISHED",
|
||||
"total_num": 2,
|
||||
"total_amount": 200,
|
||||
"close_reason": "批次关闭原因",
|
||||
"mchid": "2483775951",
|
||||
"update_time": "2023-08-15T20:33:22+08:00"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"out_batch_no": "bfatestnotify000033",
|
||||
"batch_id": "131000007026709999520922023081519403795655",
|
||||
"batch_status": "FINISHED",
|
||||
"total_num": 2,
|
||||
"total_amount": 200,
|
||||
"success_amount": 100,
|
||||
"success_num": 1,
|
||||
"fail_amount": 100,
|
||||
"fail_num": 1,
|
||||
"mchid": "2483775951",
|
||||
"update_time": "2023-08-15T20:33:22+08:00"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"mchid": "1900001109",
|
||||
"out_bill_no": "plfk2020042013",
|
||||
"transfer_bill_no": "1330000071100999991182020050700019480001",
|
||||
"state": "ACCEPTED",
|
||||
"transfer_amount": 400000,
|
||||
"fail_reason": "PAYEE_ACCOUNT_ABNORMAL",
|
||||
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
|
||||
"create_time": "2015-05-20T13:29:35.120+08:00",
|
||||
"update_time": "2015-05-20T13:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"appid": "wxcbda96de0b165486",
|
||||
"sp_mchid": "10000098",
|
||||
"sp_openid": "onqOjjmM1tad-3ROpncN-yUfa6ua",
|
||||
"sub_mchid": "1900000109",
|
||||
"contract_id": "aAfixCs13LsdKPpfZfDkk2189ssXjfx",
|
||||
"bind_state": "DELETED",
|
||||
"plate_number": "浙ASB945"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"sp_mchid": "10000100",
|
||||
"parking_id": "5K8264ILTKCH16CQ250",
|
||||
"out_parking_no": "1212313",
|
||||
"plate_number": "粤B888888",
|
||||
"plate_color": "BLUE",
|
||||
"start_time": "2017-08-26T10:43:39+08:00",
|
||||
"parking_name": "欢乐海岸停车场",
|
||||
"free_duration": 3600,
|
||||
"parking_state": "NORMAL",
|
||||
"state_update_time": "2015-05-20T13:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"appid": "wx2421b1c4370ec43b",
|
||||
"sp_mchid": "10000100",
|
||||
"sub_appid": "wxd678efh567hg6797",
|
||||
"sub_mchid": "10000109",
|
||||
"out_trade_no": "20150806125346",
|
||||
"trade_state": "SUCCESS",
|
||||
"trade_state_description": "扣款成功",
|
||||
"bank_type": "BPA",
|
||||
"attach": "支付测试",
|
||||
"success_time": "2017-08-26T10:43:39+08:00",
|
||||
"create_time": "2017-08-26T10:43:39+08:00",
|
||||
"user_repaid": "Y",
|
||||
"description": "停车场扣费",
|
||||
"trade_scene": "PARKING",
|
||||
"payer": {
|
||||
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0"
|
||||
},
|
||||
"amount": {
|
||||
"total": 528800,
|
||||
"discount_total": 1,
|
||||
"payer_total": 518799,
|
||||
"currency": "CNY"
|
||||
},
|
||||
"parking_info": {
|
||||
"parking_id": "5K8264ILTKCH16CQ250",
|
||||
"plate_number": "粤B88888",
|
||||
"plate_color": "BLUE",
|
||||
"start_time": "2017-08-26T10:43:39+08:00",
|
||||
"end_time": "2017-08-26T10:43:39+08:00",
|
||||
"parking_name": "欢乐海岸停车场",
|
||||
"charging_duration": 3600,
|
||||
"device_id": "12321"
|
||||
},
|
||||
"promotion_detail": [
|
||||
{
|
||||
"coupon_id": "109519",
|
||||
"name": "单品惠-6",
|
||||
"scope": "SINGLE",
|
||||
"type": "DISCOUNT",
|
||||
"amount": 1,
|
||||
"stock_id": "931386",
|
||||
"wechatpay_contribute": 1,
|
||||
"merchant_contribute": 0,
|
||||
"other_contribute": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"sub_mchid": "1900009231",
|
||||
"company_name": "财付通支付科技有限公司",
|
||||
"record_id": "200201820200101080076610000",
|
||||
"punish_plan": "关闭支付权限",
|
||||
"punish_time": "2015-05-20T13:29:35+08:00",
|
||||
"punish_description": "利用特殊行业违规经营,加重处罚",
|
||||
"risk_type": "ONE_YUAN_PURCHASES",
|
||||
"risk_description": "涉嫌一元购"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mch_id": "1230000109",
|
||||
"sub_appid": "wxd678efh567hg6786",
|
||||
"sub_mch_id": "1230000109",
|
||||
"service_id": "500001",
|
||||
"sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"user_service_status": "USER_CLOSE_SERVICE",
|
||||
"openorclose_time": "20180225112233",
|
||||
"authorization_code": "4534323JKHDFE1243252"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"service_id": "500001",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mchid": "1230000109",
|
||||
"sub_appid": "wxd678efh567hg6999",
|
||||
"sub_mchid": "1900000109",
|
||||
"out_order_no": "1234323JKHDFE1243252",
|
||||
"sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"state": "DOING",
|
||||
"state_description": "USER_CONFIRM",
|
||||
"service_introduction": "嗨客餐厅用餐",
|
||||
"total_amount": "40000",
|
||||
"post_payments": [
|
||||
{
|
||||
"name": "服务费",
|
||||
"amount": 40000,
|
||||
"description": "每分钟1元"
|
||||
}
|
||||
],
|
||||
"post_discounts": [
|
||||
{
|
||||
"name": "满20减1元",
|
||||
"amount": 1,
|
||||
"description": "不与其他优惠叠加"
|
||||
}
|
||||
],
|
||||
"risk_fund": {
|
||||
"name": "预估订单费用",
|
||||
"amount": 10000,
|
||||
"description": "就餐的预估费用"
|
||||
},
|
||||
"time_range": {
|
||||
"start_time": "20091225091010",
|
||||
"start_time_remark": "xxx",
|
||||
"end_time": "20091225091210",
|
||||
"end_time_remark": "xxx"
|
||||
},
|
||||
"location": {
|
||||
"start_location": "嗨客时尚主题展餐厅",
|
||||
"end_location": "嗨客时尚主题展餐厅"
|
||||
},
|
||||
"attach": "attach",
|
||||
"order_id": "165461131",
|
||||
"need_collection": true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"mchid": "1230000109",
|
||||
"out_contract_code": "wxwtdk20200910100000",
|
||||
"plan_id": 12535,
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"openid": "o-MYE42l80oelYMDE34nYD456Xoy",
|
||||
"contract_termination_mode": "MCH_API_TERMINATE",
|
||||
"operate_time": "2020-05-20T13:29:35.120+08:00"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mch_id": "1230000109",
|
||||
"sub_appid": "wxd678efh567hg6786",
|
||||
"sub_mch_id": "1230000109",
|
||||
"service_id": "500001",
|
||||
"sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"user_service_status": "USER_CLOSE_SERVICE",
|
||||
"openorclose_time": "20180225112233",
|
||||
"authorization_code": "4534323JKHDFE1243252"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"service_id": "500001",
|
||||
"appid": "wxd678efh567hg6787",
|
||||
"mchid": "1230000109",
|
||||
"sub_appid": "wxd678efh567hg6999",
|
||||
"sub_mchid": "1900000109",
|
||||
"out_order_no": "1234323JKHDFE1243252",
|
||||
"sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"state": "DONE",
|
||||
"service_introduction": "嗨客餐厅用餐",
|
||||
"total_amount": "40000",
|
||||
"post_payments": [
|
||||
{
|
||||
"name": "服务费",
|
||||
"amount": 40000,
|
||||
"description": "每分钟1元"
|
||||
}
|
||||
],
|
||||
"post_discounts": [
|
||||
{
|
||||
"name": "满20减1元",
|
||||
"amount": 1,
|
||||
"description": "不与其他优惠叠加"
|
||||
}
|
||||
],
|
||||
"risk_fund": {
|
||||
"name": "预估订单费用",
|
||||
"amount": 10000,
|
||||
"description": "就餐的预估费用"
|
||||
},
|
||||
"time_range": {
|
||||
"start_time": "20091225091010",
|
||||
"start_time_remark": "xxx",
|
||||
"end_time": "20091225091210",
|
||||
"end_time_remark": "xxx"
|
||||
},
|
||||
"location": {
|
||||
"start_location": "嗨客时尚主题展餐厅",
|
||||
"end_location": "嗨客时尚主题展餐厅"
|
||||
},
|
||||
"attach": "attach",
|
||||
"order_id": "165461131",
|
||||
"need_collection": true,
|
||||
"collection": {
|
||||
"state": "",
|
||||
"total_amount": 40000,
|
||||
"paying_amount": 40000,
|
||||
"paid_amount": 0,
|
||||
"details": [
|
||||
{
|
||||
"seq": 1,
|
||||
"amount": 10000,
|
||||
"paid_type": "MCH",
|
||||
"paid_time": "20091225091210",
|
||||
"transaction_id": "15646546545165651651"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"sp_mchid": "1900000100",
|
||||
"sub_mchid": "1900000109",
|
||||
"transaction_id": "1008450740201411110005820873",
|
||||
"out_trade_no": "20150806125346",
|
||||
"refund_id": "50200207182018070300011301001",
|
||||
"out_refund_no": "7752501201407033233368018",
|
||||
"refund_status": "SUCCESS",
|
||||
"success_time": "2018-06-08T10:34:56+08:00",
|
||||
"user_received_account": "招商银行信用卡0403",
|
||||
"amount": {
|
||||
"total": 999,
|
||||
"refund": 999,
|
||||
"payer_total": 999,
|
||||
"payer_refund": 999
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"sp_appid": "wx8888888888888888",
|
||||
"sp_mchid": "1230000109",
|
||||
"sub_appid": "wxd678efh567hg6999",
|
||||
"sub_mchid": "1900000109",
|
||||
"out_trade_no": "1217752501201407033233368018",
|
||||
"trade_state_desc": "支付成功",
|
||||
"trade_type": "MICROPAY",
|
||||
"attach": "自定义数据",
|
||||
"transaction_id": "1217752501201407033233368018",
|
||||
"trade_state": "SUCCESS",
|
||||
"bank_type": "CMC",
|
||||
"success_time": "2018-06-08T10:34:56+08:00",
|
||||
"amount": {
|
||||
"payer_total": 100,
|
||||
"total": 100,
|
||||
"currency": "CNY",
|
||||
"payer_currency": "CNY"
|
||||
},
|
||||
"promotion_detail": [
|
||||
{
|
||||
"amount": 100,
|
||||
"wechatpay_contribute": 0,
|
||||
"coupon_id": "109519",
|
||||
"scope": "GLOBAL",
|
||||
"merchant_contribute": 0,
|
||||
"name": "单品惠-6",
|
||||
"other_contribute": 0,
|
||||
"currency": "CNY",
|
||||
"stock_id": "931386",
|
||||
"goods_detail": [
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
},
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"amount": 100,
|
||||
"wechatpay_contribute": 0,
|
||||
"coupon_id": "109519",
|
||||
"scope": "GLOBAL",
|
||||
"merchant_contribute": 0,
|
||||
"name": "单品惠-6",
|
||||
"other_contribute": 0,
|
||||
"currency": "CNY",
|
||||
"stock_id": "931386",
|
||||
"goods_detail": [
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
},
|
||||
{
|
||||
"goods_remark": "商品备注信息",
|
||||
"quantity": 1,
|
||||
"discount_amount": 1,
|
||||
"goods_id": "M1006",
|
||||
"unit_price": 100
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"payer": {
|
||||
"sp_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
|
||||
"sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
|
||||
},
|
||||
"scene_info": {
|
||||
"device_id": "013467007045764"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user