POST/v1/wxpay/preorder
amount
string
required
充值金额,单位元,精确到分,如10.02。
返回结果
请求内容
微信官方:
{
    "code": 0,
    "data": {
        "code_url": "weixin://wxpay/bizpayurl?pr=aBVhAOrzz",
        "money": null,
        "order_id": 61
    },
    "msg": "订单创建成功"
}


易支付:
{
	"code": 0,
	"data": {
		"money": "38",
		"name": "cdn 4.0余额充值",
		"notify_url": "http://192.168.0.31:88/cccyun/notify",
		"out_trade_no": "cyUuXvFquxMqFDtkacJS6GKUNqCwEBra",
		"pid": "1003",
		"return_url": "http://192.168.0.31:88/src/views/account/balance/return.html",
		"sign": "c309b8ae3ed0629c2f83d11aefabb2c3",
		"sign_type": "MD5",
		"sitename": "cdn 4.0",
		"type": "wxpay",
		"url": "https://payapi.bysat.com//submit.php"
	},
	"msg": "订单创建成功"
}
© 版权声明
评论 抢沙发

请登录后发表评论

    暂无评论内容