feat(tenpayv2): 新增部分接口

This commit is contained in:
RHQYZ
2022-01-25 13:24:49 +08:00
committed by GitHub
parent 122cd5186c
commit 6458d08381
234 changed files with 11734 additions and 891 deletions

View File

@@ -0,0 +1,11 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "GOp3TRyMXzbMlkun",
"sign": "D6C76CB785F07992CDE05494BB7DF7FD",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "1415757673",
"total_fee": "1",
"consume_fee": "0",
"fee_type": "CNY"
}

View File

@@ -0,0 +1,14 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "GOp3TRyMXzbMlkun",
"sign": "D6C76CB785F07992CDE05494BB7DF7FD",
"result_code": "SUCCESS",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "1415757673",
"total_fee": "1",
"consume_fee": "0",
"fee_type": "CNY"
}

View File

@@ -0,0 +1,17 @@
{
"deposit": "Y",
"appid": "wx2421b1c4370ec43b",
"attach": "订单额外描述",
"face_code": " b713b5d2-666c-48b6-8c37-f15acf5a7069",
"openid": " oHkLxtxS5pkpxVbVeVuqpPQviw5o ",
"body": "押金人脸支付测试",
"device_info": "1000",
"mch_id": "10000100",
"sub_mch_id": "10000101",
"nonce_str": "8aaee146b1dee7cec9100add9b96cbe2",
"out_trade_no": "1415757673",
"spbill_create_ip": "14.17.22.52",
"total_fee": "1",
"sign_type": " HMAC-SHA256",
"sign": "C29DB7DB1FD4136B84AE35604756362C"
}

View File

@@ -0,0 +1,21 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"device_info": "1000",
"nonce_str": "GOp3TRyMXzbMlkun",
"sign": "D6C76CB785F07992CDE05494BB7DF7FD",
"result_code": "SUCCESS",
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0",
"is_subscribe": "Y",
"trade_type": "MICROPAY",
"bank_type": "CCB_DEBIT",
"total_fee": "1",
"coupon_fee": "0",
"fee_type": "CNY",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "1415757673",
"attach": "订单额外描述",
"time_end": "20141111170043"
}

View File

@@ -0,0 +1,16 @@
{
"deposit": "Y",
"appid": "wx2421b1c4370ec43b",
"attach": "订单额外描述",
"auth_code": "120269300684844649",
"body": "支付测试",
"device_info": "1000",
"mch_id": "10000100",
"sub_mch_id": "10000101",
"nonce_str": "8aaee146b1dee7cec9100add9b96cbe2",
"out_trade_no": "1415757673",
"spbill_create_ip": "14.17.22.52",
"total_fee": "1",
"sign_type": " HMAC-SHA256",
"sign": "C29DB7DB1FD4136B84AE35604756362C"
}

View File

@@ -0,0 +1,21 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"device_info": "1000",
"nonce_str": "GOp3TRyMXzbMlkun",
"sign": "D6C76CB785F07992CDE05494BB7DF7FD",
"result_code": "SUCCESS",
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0",
"is_subscribe": "Y",
"trade_type": "MICROPAY",
"bank_type": "CCB_DEBIT",
"total_fee": "1",
"coupon_fee": "0",
"fee_type": "CNY",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "1415757673",
"attach": "订单额外描述",
"time_end": "20141111170043"
}

View File

@@ -0,0 +1,13 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "6cefdb308e1e2e8aabd48cf79e546a02",
"sub_mch_id": "1415701182",
"out_refund_no": "1415701182",
"out_trade_no": "1415757673",
"refund_fee": "1",
"total_fee": "1",
"transaction_id": "4006252001201705123297353072",
"sign": "FE56DD4AA85C0EECA82C35595A69E153",
"sign_type": " HMAC-SHA256"
}

View File

@@ -0,0 +1,14 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "NfsMFbUFpdbEhPXP",
"sign": "B7274EB9F8925EB93100DD2085FA56C0",
"result_code": "SUCCESS",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "1415757673",
"refund_id": "2008450740201411110000174436",
"refund_fee": "1",
"coupon_refund_fee": "0"
}

View File

@@ -0,0 +1,16 @@
{
"appid": "wx2421b1c4370ec43b",
"attach": "支付测试",
"body": "JSAPI支付测试",
"mch_id": "10000100",
"detail": "{ \"goods_detail\":[ { \"goods_id\":\"iphone6s_16G\", \"wxpay_goods_id\":\"1001\", \"goods_name\":\"iPhone6s 16G\", \"quantity\":1, \"price\":528800, \"goods_category\":\"123456\", \"body\":\"苹果手机\" }, { \"goods_id\":\"iphone6s_32G\", \"wxpay_goods_id\":\"1002\", \"goods_name\":\"iPhone6s 32G\", \"quantity\":1, \"price\":608800, \"goods_category\":\"123789\", \"body\":\"苹果手机\" } ] }",
"nonce_str": "1add1a30ac87aa2db72f57a2375d8fec",
"notify_url": "http://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
"out_trade_no": "1415659990",
"fee_type": "CNY",
"spbill_create_ip": "14.23.150.211",
"total_fee": "1",
"trade_type": "JSAPI",
"sign": "0CB01533B8C1EF103065174F50BCA001"
}

View File

@@ -0,0 +1,11 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "IITRi8Iabbblz1Jc",
"sign": "7921E432F65EB8ED0CE9755F0E86D72F",
"result_code": "SUCCESS",
"prepay_id": "wx201411101639507cbf6ffd8b0779950874",
"trade_type": "JSAPI"
}

View File

@@ -0,0 +1,8 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "ec2316275641faa3aacf3cc599e8730f",
"transaction_id": "1008450740201411110005820873",
"sign_type": " HMAC-SHA256",
"sign": "FDD167FAA73459FD921B144BAF4F4CA2"
}

View File

@@ -0,0 +1,21 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"device_info": "1000",
"nonce_str": "TN55wO9Pba5yENl8",
"sign": "BDF0099C15FF7BC6B1585FBB110AB635",
"result_code": "SUCCESS",
"openid": "oUpF8uN95-Ptaags6E_roPHg7AG0",
"is_subscribe": "Y",
"trade_type": "MICROPAY",
"bank_type": "CCB_DEBIT",
"total_fee": "1",
"fee_type": "CNY",
"transaction_id": "1008450740201411110005820873",
"out_trade_no": "1415757673",
"attach": "订单额外描述",
"time_end": "20141111170043",
"trade_state": "SUCCESS"
}

View File

@@ -0,0 +1,8 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "0b9f35f484df17a732e537c37708d1d0",
"sub_mch_id": "1900000109",
"sign": "66FFB727015F450D167EF38CCC549521",
"sign_type": " HMAC-SHA256"
}

View File

@@ -0,0 +1,15 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "TeqClE3i0mvn3DrK",
"out_refund_no_0": "1415701182",
"out_trade_no": "1415757673",
"refund_count": "1",
"refund_fee_0": "1",
"refund_status_0": "PROCESSING",
"result_code": "SUCCESS",
"return_code": "SUCCESS",
"return_msg": "OK",
"sign": "1F2841558E233C33ABA71A961D27561C",
"transaction_id": "1008450740201411110005820873"
}

View File

@@ -0,0 +1,8 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "b7ffb16a7150cf08639db472c5f5bdae",
"out_trade_no": "1415717424",
"sign_type": " HMAC-SHA256",
"sign": "9B2EA16C05A5CEF8E53B14D53932D012"
}

View File

@@ -0,0 +1,9 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "o5bAKF3o2ypC8hwa",
"sign": "6F5080EDDD196FFCDE53F786BBB93899",
"result_code": "SUCCESS"
}