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,8 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"sub_mch_id": "1900000109",
"nonce_str": "4ca93f17ddf3443ceabf72f26d64fe0e",
"out_trade_no": "1415983244",
"sign": "59FF1DF214B2D279A0EA7077C54DD95D"
}

View File

@@ -0,0 +1,11 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"sub_mch_id": "1900000109",
"nonce_str": "BFK89FC6rxKCOjLX",
"sign": "72B321D92A7BFA0B2509F3D13C7B1631",
"result_code": "SUCCESS",
"result_msg": "OK"
}

View File

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

View File

@@ -0,0 +1,15 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"sub_mch_id": "10000101",
"nonce_str": "NfsMFbUFpdbEhPXP",
"sign": "B7274EB9F8925EB93100DD2085FA56C0",
"result_code": "SUCCESS",
"transaction_id": "4008450740201411110005820873",
"out_trade_no": "1415757673",
"out_refund_no": "1415701182",
"refund_id": "2008450740201411110000174436",
"refund_fee": "1"
}

View File

@@ -0,0 +1,16 @@
{
"appid": "wx2421b1c4370ec43b",
"attach": "支付测试",
"body": "JSAPI支付测试",
"mch_id": "10000100",
"sub_mch_id": "1900000109",
"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": "https://wxpay.wxutil.com/pub_v2/pay/notify.v2.php",
"openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
"out_trade_no": "1415659990",
"spbill_create_ip": "14.23.150.211",
"total_fee": "1",
"trade_type": "JSAPI",
"sign": "0CB01533B8C1EF103065174F50BCA001"
}

View File

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

View File

@@ -0,0 +1,9 @@
{
"appid": "wx2421b1c4370ec43b",
"sub_appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"sub_mch_id": "1900000109",
"nonce_str": "ec2316275641faa3aacf3cc599e8730f",
"transaction_id": "1008450740201411110005820873",
"sign": "FDD167FAA73459FD921B144BAF4F4CA2"
}

View File

@@ -0,0 +1,26 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"sub_mch_id": "1900000109",
"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",
"coupon_id_0": "10000",
"coupon_type_0": "CASH",
"coupon_fee_0": 100,
"detail": "{\"discount_detail\":[{\"goods_id\":\"iphone6s_16G\",\"goods_name\":\"iPhone6s 16G\",\"coupon_batch_id\":888,\"coupon_id\":666888,\"coupon_fee\":1000},{\"goods_id\":\"iphone6s_32G\",\"goods_name\":\"iPhone6s 32G\",\"coupon_batch_id\":999,\"coupon_id\":666999,\"coupon_fee\":1500}]}"
}

View File

@@ -0,0 +1,7 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "0b9f35f484df17a732e537c37708d1d0",
"out_trade_no": "1415757673",
"sign": "66FFB727015F450D167EF38CCC549521"
}

View File

@@ -0,0 +1,15 @@
{
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"nonce_str": "TeqClE3i0mvn3DrK",
"out_refund_no_0": "1415701182",
"out_trade_no": "1415757673",
"refund_fee_0": "1",
"refund_id_0": "2008450740201411110000174436",
"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",
"sub_mch_id": "1900000109",
"nonce_str": "4ca93f17ddf3443ceabf72f26d64fe0e",
"out_trade_no": "1415983244",
"sign": "59FF1DF214B2D279A0EA7077C54DD95D"
}

View File

@@ -0,0 +1,12 @@
{
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wx2421b1c4370ec43b",
"mch_id": "10000100",
"sub_mch_id": "1900000109",
"nonce_str": "BFK89FC6rxKCOjLX",
"sign": "72B321D92A7BFA0B2509F3D13C7B1631",
"result_code": "SUCCESS",
"result_msg": "OK",
"recall": "Y"
}