feat(tenpayv3): 独立化境外支付 API

This commit is contained in:
Fu Diwei
2024-05-06 20:50:58 +08:00
parent 2e19fc8aa1
commit 9b18df8f2e
850 changed files with 2016 additions and 1088 deletions

View File

@@ -0,0 +1,27 @@
{
"sp_appid": "wx82ec4jy334ner1",
"sp_mchid": "2422128905",
"name": "testname",
"shortname": "shortname",
"office_phone": "13680534111",
"contact": {
"email": "gP32/1QSaIpKlaFbWgP3hr8W3+YTtiavMRbOJJ6dATymJzxx/b4YPOTKdeRApW6Nt2ZZB9reZ1x45XhIEF/Ztb6mqfFVb6LxpJlHgDL/zpUG51551XQ3Ww+/kVCJcokiIiT1bSwEcCe6tPL2cmdsOEjlTikyrasLc1bG8vaG/i361r0vX9w56O2Mgv3OnJ4fr4xnmxNcVrJnk1f/gBSIiCUWA0163f3LM4KifQelEuz/WtroeKAzRDiI0/pOvXfwrYDK==",
"name": "Vxjsrod2RT2aGxeI5i+Z2C4arXYGXZuwE8IrRf6uYu6S5dy4Igw7kjvYWYCNfsgcdXyfjdA4KVntbgSa3zic+ERsOd5u+SNKkaFSH3SwYtpcCyaUMvICTw/6AOY/qy+He9la/gxObgi4zkxvLJmZTJVualTVJWWCIvcuDArW8Kfqp8rBl+IxDEgCojoEmqE7ymVReslGBXWiaPS1UsZx1QJyez3/ijzBa4AKch3XuPx6d3qvM+J8iMx/b94LAfpTihU/j==",
"phone": "l8JH2dAGLNJ8P5DENoMV0eW4JgIquV2ZO4conHnZp48g/eVpgvIfMj4Ge6LRVENW4eZksErJnYCQB+EOFEGR0lMhA1LexPLu0en08iM2ghkftYWAsOD4JPkvvc36SAfWal29eoZh4maO6kOGW7G4uBua6JoMsEjR6uuw5Gw5DC2eikcdkDBGk9vHSP/oxRs3Qu8a83GikhLgdpAPitXbZX/TEPG5SUg8Fx4BCMCKOfxy8uakq2/EeCtyBMjaiheUePoA=="
},
"business_category": 343,
"merchant_country_code": "344",
"merchant_type": "ENTERPRISE",
"registration_certificate_number": "519723407213085723",
"registration_certificate_date": "2022-06-03",
"settlement_bank_number": "559304578245298347923856",
"business": {
"business_type": "ONLINE",
"mcc": "5344",
"mini_program": "flowerplus"
},
"director": {
"name": "Tom",
"number": "1234567890"
}
}

View File

@@ -0,0 +1,16 @@
{
"sub_mchid": "20000100",
"name": "test mcherchan_name",
"shortname": "mcherchan_name",
"office_phone": "075586010000",
"business_category": "644",
"contact": {
"name": "Bob Zhang",
"phone": "+8613633334444",
"email": "test@test.com"
},
"principal": {
"name": "Bob",
"number": "5555-8888"
}
}

View File

@@ -0,0 +1,28 @@
{
"sub_mchid": "20000100",
"sp_appid": "wx82ec4jy334ner1",
"sp_mchid": "2422128905",
"name": "testname",
"shortname": "shortname",
"office_phone": "13680534111",
"contact": {
"email": "gP32/1QSaIpKlaFbWgP3hr8W3+YTtiavMRbOJJ6dATymJzxx/b4YPOTKdeRApW6Nt2ZZB9reZ1x45XhIEF/Ztb6mqfFVb6LxpJlHgDL/zpUG51551XQ3Ww+/kVCJcokiIiT1bSwEcCe6tPL2cmdsOEjlTikyrasLc1bG8vaG/i361r0vX9w56O2Mgv3OnJ4fr4xnmxNcVrJnk1f/gBSIiCUWA0163f3LM4KifQelEuz/WtroeKAzRDiI0/pOvXfwrYDK==",
"name": "Vxjsrod2RT2aGxeI5i+Z2C4arXYGXZuwE8IrRf6uYu6S5dy4Igw7kjvYWYCNfsgcdXyfjdA4KVntbgSa3zic+ERsOd5u+SNKkaFSH3SwYtpcCyaUMvICTw/6AOY/qy+He9la/gxObgi4zkxvLJmZTJVualTVJWWCIvcuDArW8Kfqp8rBl+IxDEgCojoEmqE7ymVReslGBXWiaPS1UsZx1QJyez3/ijzBa4AKch3XuPx6d3qvM+J8iMx/b94LAfpTihU/j==",
"phone": "l8JH2dAGLNJ8P5DENoMV0eW4JgIquV2ZO4conHnZp48g/eVpgvIfMj4Ge6LRVENW4eZksErJnYCQB+EOFEGR0lMhA1LexPLu0en08iM2ghkftYWAsOD4JPkvvc36SAfWal29eoZh4maO6kOGW7G4uBua6JoMsEjR6uuw5Gw5DC2eikcdkDBGk9vHSP/oxRs3Qu8a83GikhLgdpAPitXbZX/TEPG5SUg8Fx4BCMCKOfxy8uakq2/EeCtyBMjaiheUePoA=="
},
"business_category": 343,
"merchant_country_code": "344",
"merchant_type": "ENTERPRISE",
"registration_certificate_number": "519723407213085723",
"registration_certificate_date": "2022-06-03",
"settlement_bank_number": "559304578245298347923856",
"business": {
"business_type": "ONLINE",
"mcc": "5344",
"mini_program": "flowerplus"
},
"director": {
"name": "Tom",
"number": "1234567890"
}
}

View File

@@ -0,0 +1,20 @@
{
"sp_appid": "wxcbda96de0b165486",
"sub_mchid": "10000097",
"sub_appid": "wxcbda96de0b165484",
"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,48 @@
{
"amount": {
"currency": "HKD",
"payer_currency": "CNY",
"payer_total": 8,
"total": 10
},
"sp_appid": "wx7bc98d929da735fe",
"sub_appid": "wxcbda96de0b165484",
"attach": "testruoyu",
"bank_type": "CFT",
"sp_mchid": "132012662",
"sub_mchid": "10000097",
"merchant_category_code": "0",
"out_trade_no": "autotest_20210608201410_9263565",
"payer": {
"sp_openid": "of8YZ6A_ySrPYzjX7joXo_h2CI44",
"sub_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"
},
"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,15 @@
{
"sp_mchid": "10000100",
"sub_mchid": " 1900000109",
"sp_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": "EXPIRED",
"termination_note": " delete .... "
}

View File

@@ -0,0 +1,15 @@
{
"sp_mchid": "10000100",
"sub_mchid": " 1900000109",
"sp_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": "EXPIRED",
"termination_note": " delete .... "
}

View File

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

View File

@@ -0,0 +1,13 @@
{
"expired_time": "2021-11-20T13:29:35+08:00",
"out_contract_code": "100001256",
"plan_id": 123,
"return_appid": "wxcbda96de0b165486",
"return_url": "https://yoursite.com",
"sp_appid": "wxcbda96de0b165486",
"sub_appid": "wxcbda96de0b165484",
"sub_mchid": "10000097",
"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,12 @@
{
"expired_time": "2021-11-20T13:29:35+08:00",
"openid": "ouFhd5X9s9WteC3eWRjXV3lea123",
"out_contract_code": "100001256",
"plan_id": 123,
"return_url": "https://yoursite.com",
"sp_appid": "wxcbda96de0b165486",
"sub_appid": "wxcbda96de0b165484",
"sub_mchid": "10000097",
"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,12 @@
{
"expired_time": "2021-11-20T13:29:35+08:00",
"openid": "ouFhd5X9s9WteC3eWRjXV3lea123",
"out_contract_code": "100001256",
"plan_id": 123,
"return_url": "https://yoursite.com",
"sp_appid": "wxcbda96de0b165486",
"sub_appid": "wxcbda96de0b165484",
"sub_mchid": "10000097",
"success_notify_url": "https://yoursite.com",
"user_display_name": "张三"
}

View File

@@ -0,0 +1,10 @@
{
"expired_time": "2021-11-20T13:29:35+08:00",
"out_contract_code": "100001256",
"plan_id": 123,
"sp_appid": "wxcbda96de0b165486",
"sub_appid": "wxcbda96de0b165484",
"sub_mchid": "10000097",
"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,6 @@
{
"sp_appid": "wxcbda96de0b165486",
"sub_mchid": "10000097",
"sub_appid": "wxcbda96de0b165484",
"termination_note": "Cause of termination"
}

View File

@@ -0,0 +1,15 @@
{
"sp_appid": "wx2421b1c4370ec43b",
"sub_appid": "1900000109",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"transaction_id": "1008450740201411110005820873",
"out_refund_no": "R20150806125346",
"amount": {
"refund": 50,
"total": 100,
"currency": "HKD"
},
"reason": "商品已售完",
"source": "REFUND_SOURCE_UNSETTLED_FUNDS"
}

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,44 @@
{
"id": "1008450740201411110005820873",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"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,42 @@
{
"sp_appid": "wx2421b1c4370ec43b",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"sub_appid": "wx352671b037b437ec",
"out_trade_no": "20150806125346",
"merchant_category_code": "1011",
"payer": {
"sp_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,41 @@
{
"sp_appid": "wx2421b1c4370ec43b",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"sub_appid": "wx352671b037b437ec",
"out_trade_no": "20150806125346",
"merchant_category_code": "1011",
"payer": {
"sub_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,41 @@
{
"sp_appid": "wx2421b1c4370ec43b",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"out_trade_no": "20150806125346",
"merchant_category_code": "1011",
"payer": {
"sp_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,43 @@
{
"sp_appid": "wxdace645e0bc2c424",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"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,50 @@
{
"id": "1008450740201411110005820873",
"sp_appid": "wx2421b1c4370ec43b",
"sub_appid": "",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"out_trade_no": "20171014125314",
"payer": {
"sp_openid": "oUpF8uN95-Ptaags6E_roPHg7AG0",
"sub_openid": ""
},
"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,38 @@
{
"sp_appid": "wxdace645e0bc2c424",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"out_trade_no": "YX201710140020Z",
"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,48 @@
{
"id": "4200000000002104083200000488",
"sp_appid": "wx2421b1c4370ec43b",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"out_trade_no": "20150806125346",
"payer": {
"sp_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,48 @@
{
"id": "4200000000002104083200000488",
"sp_appid": "wx2421b1c4370ec43b",
"sp_mchid": "10000100",
"sub_mchid": "20000100",
"out_trade_no": "20150806125346",
"payer": {
"sp_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,39 @@
{
"data": [
{
"amount": {
"settled": 123,
"fee": 123,
"pay": 123,
"currency": "HKD",
"net": 123,
"unsettle": 123,
"refund": 123
},
"settlement_date": "20091225",
"batch_id": "20091225003",
"wallet_region": "CHINA_HONGKONG",
"trade_start_date": "20091225",
"trade_end_date": "20091225"
},
{
"amount": {
"settled": 123,
"fee": 123,
"pay": 123,
"currency": "HKD",
"net": 123,
"unsettle": 123,
"refund": 123
},
"settlement_date": "20091225",
"batch_id": "20091225003",
"wallet_region": "CHINA_HONGKONG",
"trade_start_date": "20091225",
"trade_end_date": "20091225"
}
],
"offset": 1,
"total_count": 1234,
"limit": 20
}