POST/v1/alipay/preorder
amount
string
required
充值金额,单位元,精确到分,如10.02。
返回结果
请求内容
官方:
{
	"code": 0,
	"data": {
		"money": null,
		"order_id": 63,
		"qr_code_url": "https://openapi.alipay.com/gateway.do?format=json&timestamp=2021-11-27+12%3A52%3A15&charset=utf-8&app_id=2021001171610026&sign=EspHZoIk36W82x6z%2F9QXYnkEiK2%2BIacSfgPxQuVaw028%2FhVU7xNA4zQmZ%2FcSx7zJPiciw%2BzvJ2DSUT%2F5QUNmnzzCroJhkiWt7Y4kbveS3bV6Lw5ftqwddLHTjod%2FdFIKJSNxKJWOJ3FQ%2BZKPdIZJVrg0gehTRglwxGM1SzEuEpEix0CQPXX3uO4RQSR4WlQThK17C7N5sJMxh1Co8KarG9CYHwrPOmE5w3uZ59Tb5FT4ARe0eMFIwnVo70CHTx80Cc98%2BMJbGQYuqNOqa5SliIKWfbDKFIKo%2FGrBIZ83Cwb9lLq4I3UAFQooOTE5e67q2RrlnUEiD4Oq5irF9f3bKw%3D%3D&version=1.0&notify_url=http%3A%2F%2F192.168.0.31%3A88%2Falipay%2Fnotify&sign_type=RSA2&method=alipay.trade.page.pay&biz_content=%7B%22out_trade_no%22%3A%22pc2021112712521593177474%22%2C%22product_code%22%3A%22FAST_INSTANT_TRADE_PAY%22%2C%22qr_pay_mode%22%3A4%2C%22qrcode_width%22%3A200%2C%22subject%22%3A%22cdn+4.0%E8%B4%A6%E5%8F%B7%E5%85%85%E5%80%BC%22%2C%22total_amount%22%3A38.0%7D"
	},
	"msg": "订单创建成功"
}

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

请登录后发表评论

    暂无评论内容