You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
微信/支付宝 In-App支付
- {domain}/micropay/v3/prepay
- vendor: alipay, wechatpay
- 微信支付App内支付需要提供微信开放平台应用appid,通过在微信平台注册应用获得这个appid
- 拿到 payInfo字符串之后,用于APP SDK拉起支付界面
Request
{
"amount": "12",
"currency": "USD",
"description": "a93b44fbc3080dfc331b56f22c9269ba",
"ipnUrl": "https://t.seapig.co/callback",
"merchantNo": "202333",
"note": "a93b44fbc3080dfc331b56f22c9269ba",
"reference": "a93b44fbc3080dfc331b56f22c9269ba",
"settleCurrency": "USD",
"storeNo": "301854",
"terminal": "APP",
"vendor": "alipay",
"verifySign": "84993ab3b8bc1d95debcd0d8b1ef2154"
}
Response
{
"result":
{
"payInfo": "_input_charset=\"UTF-8\"¤cy=\"USD\"&forex_biz=\"FP\"&it_b_pay=\"120m\"¬ify_url=\"http://cn2/appIpnCallbackNotify/2333/1854/302633699590287547/alipay-transaction-notify\"&out_trade_no=\"302633699590287547\"&partner=\"2088621891278974\"&payment_type=\"1\"&product_code=\"NEW_WAP_OVERSEAS_SELLER\"&secondary_merchant_id=\"202333\"&secondary_merchant_industry=\"5812\"&secondary_merchant_name=\"Yuansfer Sandbox\"&seller_id=\"2088621891278974\"&service=\"mobile.securitypay.pay\"&subject=\"yuansfer sandbox\"&total_fee=\"12.00\"&sign=\"Un5zyY4iGgfvHd%2FJnGl0nfrlt2NV6EVI74vJLZEFUBUs5B5TBVnVeGylWDCU1czVY2hgN2PMpCfFzgIVCgryftiFuuABHVBgLEJPVkF9GLEssWd%2BBxkhm%2B6BCdHNfVji%2FwVAYdvVOeuHMz8P%2Ft5d8O1ZY80iL4PDxXaJOZ1Agro%3D\"&sign_type=\"RSA\""
},
"ret_msg": " prepay success",
"ret_code": "000100"
}