chore(tenpayv3): 调整目录结构

This commit is contained in:
Fu Diwei
2023-04-06 18:58:56 +08:00
parent 2ece289c90
commit 65af9282cf
638 changed files with 6 additions and 198 deletions

View File

@@ -0,0 +1,14 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"customs": "SHANGHAI_ZS",
"merchant_customs_no": "123456",
"duty": 888,
"sub_order_no": "20150806125346",
"fee_type": "CNY",
"order_fee": 888,
"transport_fee": 888,
"product_fee": 888
}

View File

@@ -0,0 +1,11 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"state": "PROCESSING",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"sub_order_no": "20150806125346",
"sub_order_id": "20150806125346",
"verify_department": "UNIONPAY",
"verify_department_trade_id": "2018112288340107038204310100000"
}

View File

@@ -0,0 +1,13 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"sub_order_no": "20150806125346",
"customs": "SHANGHAI_ZS",
"merchant_customs_no": "123456",
"duty": 888,
"order_fee": 888,
"transport_fee": 888,
"product_fee": 888
}

View File

@@ -0,0 +1,12 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"state": "SUBMITTED",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"sub_order_no": "20150806125346",
"sub_order_id": "20150806125346",
"modify_time": "2015-09-01T10:00:00+08:00",
"verify_department": "UNIONPAY",
"verify_department_trade_id": "2018112288340107038204310100000"
}

View File

@@ -0,0 +1,26 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"transaction_id": "1000320306201511078440737890",
"verify_department": "UNIONPAY",
"verify_department_trade_id": "2018112288340107038204310100000",
"offset": 0,
"limit": 20,
"total_count": 1,
"data": [
{
"sub_order_no": "20150806125346",
"sub_order_id": "20150806125346",
"mch_customs_no": "1234567",
"customs": "SHANGHAI_ZS",
"fee_type": "CNY",
"order_fee": 888,
"duty": 888,
"transport_fee": 888,
"product_fee": 888,
"state": "PROCESSING",
"explanation": "支付单已存在并且为非退单状态",
"modify_time": "2015-09-01T10:00:00+08:00"
}
]
}

View File

@@ -0,0 +1,10 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"sub_order_no": "20150806125346",
"sub_order_id": "1000320306201511078440737891",
"customs": "SHANGHAI_ZS",
"merchant_customs_no": "123456"
}

View File

@@ -0,0 +1,11 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"state": "PROCESSING",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"sub_order_no": "20150806125346",
"sub_order_id": "20150806125346",
"modify_time": "2015-09-01T10:00:00+08:00",
"explanation": "支付单已存在并且为非退单状态"
}

View File

@@ -0,0 +1,12 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"sub_order_no": "20150806125346",
"customs": "SHANGHAI_ZS",
"merchant_customs_no": "123456",
"certificate_type": "IDCARD",
"certificate_id": "330821198809085211",
"certificate_name": "张三"
}

View File

@@ -0,0 +1,7 @@
{
"appid": "wxd678efh567hg6787",
"mchid": "1230000109",
"out_trade_no": "20150806125346",
"transaction_id": "1000320306201511078440737890",
"certificate_check_result": "UNchECKED"
}

View File

@@ -0,0 +1,18 @@
{
"appid": "wxcbda96de0b165486",
"description": "PAPAuto-debit支付测试",
"attach": "支付测试",
"notify_url": "https://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"out_trade_no": "1217752501201407033233368018",
"goods_tag": "WXG",
"merchant_category_code": "1011",
"contract_id": "Wx15463511252015071056489715",
"amount": {
"total": 10000,
"currency": "HKD"
},
"scene_info": {
"device_ip": "59.37.125.32",
"device_id": "013467007045764"
}
}

View File

@@ -0,0 +1,45 @@
{
"amount": {
"currency": "HKD",
"payer_currency": "CNY",
"payer_total": 8,
"total": 10
},
"appid": "wx7bc98d929da735fe",
"attach": "testruoyu",
"bank_type": "CFT",
"mchid": "132012662",
"merchant_category_code": "0",
"out_trade_no": "autotest_20210608201410_9263565",
"payer": {
"openid": "of8YZ6A_ySrPYzjX7joXo_h2CI44"
},
"promotion_detail": [
{
"promotion_id": "109519",
"name": "单品惠-6",
"scope": "SINGLE",
"type": "COUPON",
"amount": 5,
"currency": "HKD",
"activity_id": "931386",
"wxpay_contribute_amount": 100,
"merchant_contribute_amount": 100,
"other_contribute_amount": 5,
"goods_detail": [
{
"goods_id": "124512",
"goods_remark": "1001",
"discount_amount": 100,
"quantity": 1,
"price": 528800
}
]
}
],
"success_time": "2021-12-09T10:56:27+08:00",
"trade_state": "SUCCESS",
"trade_state_desc": "支付成功",
"trade_type": "AUTH",
"transaction_id": "4200001136202112092809736426"
}

View File

@@ -0,0 +1,14 @@
{
"mchid": "10000100",
"appid": " wx426b3015555b46be ",
"contract_id": "203",
"plan_id": 66,
"openid": " oHZx6uMbIG46UXQ3SKxVYEgw1LZs ",
"out_contract_code": " 1005 ",
"user_display_name": " test ",
"state": "TERMINATED",
"signed_time": "2015-07-01T10:00:00+08:00",
"terminated_time": "2015-09-01T10:00:00+08:00",
"termination_mode": "USER",
"termination_note": " delete ...."
}

View File

@@ -0,0 +1,14 @@
{
"mchid": "10000100",
"appid": " wx426b3015555b46be ",
"contract_id": "203",
"plan_id": 66,
"openid": " oHZx6uMbIG46UXQ3SKxVYEgw1LZs ",
"out_contract_code": " 1005 ",
"user_display_name": " test ",
"state": "TERMINATED",
"signed_time": "2015-07-01T10:00:00+08:00",
"terminated_time": "2015-09-01T10:00:00+08:00",
"termination_mode": "USER",
"termination_note": " delete ...."
}

View File

@@ -0,0 +1,10 @@
{
"appid": "wxcbda96de0b165486",
"expired_time": "2021-11-20T13:29:35+08:00",
"openid": "ouFhd5X9s9WteC3eWRjXV3lea123",
"out_contract_code": "100001256",
"plan_id": 123,
"success_notify_url": "https://yoursite.com",
"user_client_ip": "119.145.83.6",
"user_display_name": "张三"
}

View File

@@ -0,0 +1,3 @@
{
"session_id": "201710180325670965"
}

View File

@@ -0,0 +1,11 @@
{
"appid": "wxcbda96de0b165486",
"expired_time": "2021-11-20T13:29:35+08:00",
"out_contract_code": "100001256",
"plan_id": 123,
"return_appid": "wxcbda96de0b165486",
"return_url": "https://yoursite.com",
"success_notify_url": "https://yoursite.com",
"user_client_ip": "119.145.83.6",
"user_display_name": "张三"
}

View File

@@ -0,0 +1,3 @@
{
"sign_url": "https://apihk.mch.weixin.qq.com/global/papay/contracts/login?os_session_id=2021120910391616228#wechat_redirect"
}

View File

@@ -0,0 +1,10 @@
{
"appid": "wxcbda96de0b165486",
"expired_time": "2021-11-20T13:29:35+08:00",
"openid": "ouFhd5X9s9WteC3eWRjXV3lea123",
"out_contract_code": "100001256",
"plan_id": 123,
"return_url": "https://yoursite.com",
"success_notify_url": "https://yoursite.com",
"user_display_name": "张三"
}

View File

@@ -0,0 +1,3 @@
{
"sign_url": "https://apihk.mch.weixin.qq.com/global/papay/contracts/login?os_session_id=2021120910391616228#wechat_redirect"
}

View File

@@ -0,0 +1,10 @@
{
"appid": "wxcbda96de0b165486",
"expired_time": "2021-11-20T13:29:35+08:00",
"openid": "ouFhd5X9s9WteC3eWRjXV3lea123",
"out_contract_code": "100001256",
"plan_id": 123,
"success_notify_url": "https://yoursite.com",
"user_client_ip": "119.145.83.6",
"user_display_name": "张三"
}

View File

@@ -0,0 +1,8 @@
{
"appid": "wxcbda96de0b165486",
"expired_time": "2021-11-20T13:29:35+08:00",
"out_contract_code": "100001256",
"plan_id": 123,
"success_notify_url": "https://yoursite.com",
"user_display_name": "张三"
}

View File

@@ -0,0 +1,3 @@
{
"sign_url": "https://apihk.mch.weixin.qq.com/global/papay/contracts/login?os_session_id=2021120910391616228#wechat_redirect"
}

View File

@@ -0,0 +1,4 @@
{
"appid": "wxcbda96de0b165486",
"termination_note": "Cause of termination"
}

View File

@@ -0,0 +1,12 @@
{
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"transaction_id": "1008450740201411110005820873",
"out_refund_no": "R20150806125346",
"amount": {
"refund": 50,
"total": 100,
"currency": "HKD"
},
"reason": "商品已售完"
}

View File

@@ -0,0 +1,25 @@
{
"id": "2008450740201411110000174436",
"out_refund_no": "R20150806125346",
"create_time": "2018-06-08T10:34:56+08:00",
"amount": {
"refund": 50,
"currency": "CNY",
"payer_refund": 49,
"payer_currency": "HKD",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 8000000
}
},
"promotion_detail": [
{
"promotion_id": "109519",
"scope": "GLOBAL",
"type": "COUPON",
"amount": 1,
"refund_amount": 1,
"currency": "HKD"
}
]
}

View File

@@ -0,0 +1,32 @@
{
"id": "2008450740201411110000174436",
"out_refund_no": "R20150806125346",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "20150806125346",
"amount": {
"refund": 50,
"currency": "CNY",
"payer_refund": 49,
"payer_currency": "HKD",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 8000000
}
},
"promotion_detail": [
{
"promotion_id": "109519",
"scope": "GLOBAL",
"type": "COUPON",
"amount": 1,
"refund_amount": 1,
"currency": "HKD"
}
],
"channel": "ORIGINAL",
"status": "SUCCESS",
"recv_account": "招商银行信用卡0403",
"fund_source": "REFUND_SOURCE_REchARGE_FUNDS",
"success_time": "2018-06-08T10:34:56+08:00",
"create_time": "2018-06-08T10:34:56+08:00"
}

View File

@@ -0,0 +1,32 @@
{
"id": "2008450740201411110000174436",
"out_refund_no": "R20150806125346",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "20150806125346",
"amount": {
"refund": 50,
"currency": "CNY",
"payer_refund": 49,
"payer_currency": "HKD",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 8000000
}
},
"promotion_detail": [
{
"promotion_id": "109519",
"scope": "GLOBAL",
"type": "COUPON",
"amount": 1,
"refund_amount": 1,
"currency": "HKD"
}
],
"channel": "ORIGINAL",
"status": "SUCCESS",
"recv_account": "招商银行信用卡0403",
"fund_source": "REFUND_SOURCE_REchARGE_FUNDS",
"success_time": "2018-06-08T10:34:56+08:00",
"create_time": "2018-06-08T10:34:56+08:00"
}

View File

@@ -0,0 +1,43 @@
{
"id": "1008450740201411110005820873",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"amount": {
"total": 528800,
"currency": "HKD",
"payer_total": 518799,
"payer_currency": "HKD"
},
"total_num": 1,
"current_total_num": 1,
"data": [
{
"id": "2008450740201411110000174436",
"out_refund_no": "R20150806125346",
"channel": "ORIGINAL",
"amount": {
"refund": 50,
"currency": "CNY",
"payer_refund": 49,
"payer_currency": "HKD",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 8000000
}
},
"status": "SUCCESS",
"recv_account": "招商银行信用卡0403",
"fund_source": "REFUND_SOURCE_REchARGE_FUNDS",
"success_time": "2018-06-08T10:34:56+08:00",
"create_time": "2018-06-08T10:34:56+08:00",
"refund_detail": {
"promotion_id": "109519",
"scope": "GLOBAL",
"type": "COUPON",
"amount": 1,
"refund_amount": 1,
"currency": "HKD"
}
}
]
}

View File

@@ -0,0 +1,40 @@
{
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"merchant_category_code": "1011",
"payer": {
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
},
"notify_url": "https://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"trade_type": "APP",
"amount": {
"total": 10000,
"currency": "HKD"
},
"attach": "Payment test",
"description": "In-APP Pay test",
"goods_tag": "",
"detail": {
"cost_price": 10000,
"receipt_id": "1234",
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"wxpay_goods_id": "1001",
"goods_name": "iPhone6s 16G",
"quantity": 1,
"price": 528800
}
]
},
"scene_info": {
"payer_client_ip": "14.23.150.211",
"device_ip": "59.37.125.32",
"device_id": "013467007045764",
"operator_id": "P001",
"store_info": {
"id": "SZTX001"
}
}
}

View File

@@ -0,0 +1,3 @@
{
"prepay_id": "wx201411101639507cbf6ffd8b0779950874"
}

View File

@@ -0,0 +1,39 @@
{
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"merchant_category_code": "1011",
"payer": {
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
},
"notify_url": "https://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"trade_type": "JSAPI",
"amount": {
"total": 10000,
"currency": "HKD"
},
"attach": "Payment test",
"description": "Miniprogramm Pay test",
"detail": {
"cost_price": 10000,
"receipt_id": "1234",
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"wxpay_goods_id": "1001",
"goods_name": "iPhone6s 16G",
"quantity": 1,
"price": 528800
}
]
},
"scene_info": {
"payer_client_ip": "14.23.150.211",
"device_ip": "59.37.125.32",
"device_id": "013467007045764",
"operator_id": "P001",
"store_info": {
"id": "SZTX001"
}
}
}

View File

@@ -0,0 +1,3 @@
{
"prepay_id": "wx201411101639507cbf6ffd8b0779950874"
}

View File

@@ -0,0 +1,40 @@
{
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"merchant_category_code": "1011",
"payer": {
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
},
"notify_url": "https://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"trade_type": "APP",
"amount": {
"total": 10000,
"currency": "HKD"
},
"attach": "支付测试",
"description": "APP支付测试",
"goods_tag": "",
"detail": {
"cost_price": 10000,
"receipt_id": "1234",
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"wxpay_goods_id": "1001",
"goods_name": "iPhone6s 16G",
"quantity": 1,
"price": 528800
}
]
},
"scene_info": {
"payer_client_ip": "14.23.150.211",
"device_ip": "59.37.125.32",
"device_id": "013467007045764",
"operator_id": "P001",
"store_info": {
"id": "SZTX001"
}
}
}

View File

@@ -0,0 +1,3 @@
{
"mweb_url": " https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx2016121516420242444321ca0631331346&package=1405458241"
}

View File

@@ -0,0 +1,42 @@
{
"appid": "wxdace645e0bc2c424",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"merchant_category_code": "4111",
"payer": {
"auth_code": "134650720866361395"
},
"trade_type": "MICROPAY",
"amount": {
"total": 1,
"currency": "HKD"
},
"attach": "Payment Test",
"description": "Image Store - Tencent Building in Shenzhen - QQ Doll",
"goods_tag": "1234",
"limit_pay": "no_credit",
"detail": {
"cost_price": 1,
"receipt_id": "1234",
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"wxpay_goods_id": "3405",
"goods_name": "iPhone6s 16G",
"quantity": 1,
"price": 1
}
]
},
"scene_info": {
"payer_client_ip": "14.23.150.211",
"device_ip": "59.37.125.32",
"device_id": "013467007045764",
"operator_id": "P001",
"store_info": {
"id": "SZTX001",
"name": "Tencent Building Branch",
"address": "Nanshan District, Shenzhen, Guangdong"
}
}
}

View File

@@ -0,0 +1,47 @@
{
"id": "1008450740201411110005820873",
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "20171014125314",
"payer": {
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0"
},
"amount": {
"total": 528800,
"currency": "HKD",
"payer_total": 518799,
"payer_currency": "CNY",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 80000000
}
},
"trade_type": "MICROPAY",
"trade_state": "SUCCESS",
"trade_state_desc": "Payment successful",
"bank_type": "CCB_DEBIT",
"attach": "Payment test",
"success_time": "2018-06-08T10:34:56+08:00",
"promotion_detail": [
{
"promotion_id": "109519",
"name": "Single-item discount-6",
"scope": "SINGLE",
"type": "DISCOUNT",
"amount": 1,
"currency": "CNY",
"activity_id": "931386",
"wechatpay_contribute_amount": 1,
"merchant_contribute_amount": 0,
"other_contribute_amount": 0,
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"goods_remark": "Product remarks",
"quantity": 1,
"price": 528800
}
]
}
]
}

View File

@@ -0,0 +1,37 @@
{
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "YX202111100020Z",
"merchant_category_code": "4111",
"notify_url": "https://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"trade_type": "NATIVE",
"amount": {
"total": 10,
"currency": "HKD"
},
"attach": "QR code test",
"description": "QR code test",
"goods_tag": "001",
"detail": {
"cost_price": 10000,
"receipt_id": "1234",
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"wxpay_goods_id": "1001",
"goods_name": "iPhone6s 16G",
"quantity": 1,
"price": 10
}
]
},
"scene_info": {
"payer_client_ip": "14.23.150.211",
"device_ip": "59.37.125.32",
"device_id": "013467007045764",
"operator_id": "P001",
"store_info": {
"id": "SZTX001"
}
}
}

View File

@@ -0,0 +1,3 @@
{
"code_url": "weixin://wxpay/s/An4baqw"
}

View File

@@ -0,0 +1,47 @@
{
"id": "4200000000002104083200000488",
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"payer": {
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0"
},
"amount": {
"total": 528800,
"currency": "HKD",
"payer_total": 518799,
"payer_currency": "CNY",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 8000000
}
},
"trade_type": "APP",
"trade_state": "SUCCESS",
"trade_state_desc": "支付成功",
"bank_type": "CCB_DEBIT",
"attach": "支付测试",
"success_time": "2018-06-08T10:34:56+08:00",
"promotion_detail": [
{
"promotion_id": "109519",
"name": "单品惠-6",
"scope": "SINGLE",
"type": "DISCOUNT",
"amount": 1,
"currency": "HKD",
"activity_id": "931386",
"wechatpay_contribute_amount": 1,
"merchant_contribute_amount": 0,
"other_contribute_amount": 0,
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"goods_remark": "商品备注",
"quantity": 1,
"price": 528800
}
]
}
]
}

View File

@@ -0,0 +1,47 @@
{
"id": "4200000000002104083200000488",
"appid": "wx2421b1c4370ec43b",
"mchid": "10000100",
"out_trade_no": "20150806125346",
"payer": {
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0"
},
"amount": {
"total": 528800,
"currency": "HKD",
"payer_total": 518799,
"payer_currency": "CNY",
"exchange_rate": {
"type": "SETTLEMENT_RATE",
"rate": 8000000
}
},
"trade_type": "APP",
"trade_state": "SUCCESS",
"trade_state_desc": "支付成功",
"bank_type": "CCB_DEBIT",
"attach": "支付测试",
"success_time": "2018-06-08T10:34:56+08:00",
"promotion_detail": [
{
"promotion_id": "109519",
"name": "单品惠-6",
"scope": "SINGLE",
"type": "DISCOUNT",
"amount": 1,
"currency": "HKD",
"activity_id": "931386",
"wechatpay_contribute_amount": 1,
"merchant_contribute_amount": 0,
"other_contribute_amount": 0,
"goods_detail": [
{
"goods_id": "iphone6s_16G",
"goods_remark": "商品备注",
"quantity": 1,
"price": 528800
}
]
}
]
}