client/docs/wallet/alipay.md

94 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2025-09-14 18:09:41 +08:00
# Alipay
- [/wallet.Alipay/WapPay](#walletalipaywappay)
- [/wallet.Alipay/PagePay](#walletalipaypagepay)
- [/wallet.Alipay/AppPay](#walletalipayapppay)
- [/wallet.Alipay/Transfer](#walletalipaytransfer)
## /wallet.Alipay/WapPay
支付宝wap支付
### Request
```javascript
{
user_identification: "", // type<string>, 用户唯一标识
amount: "0", // type<int64>, 充值金额,单位:分
description: "", // type<string>, 商品描述
notify_url: "", // type<string>, 支付回调URL公网域名须为HTTPS
quit_url: "", // type<string>, 退出支付时用户返回的URL
}
```
### Reply
```javascript
{
pay_url: "", // type<string>, 支付链接
}
```
## /wallet.Alipay/PagePay
支付宝电脑网站支付
### Request
```javascript
{
user_identification: "", // type<string>, 用户唯一标识
amount: "0", // type<int64>, 充值金额,单位:分
description: "", // type<string>, 商品描述
notify_url: "", // type<string>, 支付回调URL公网域名须为HTTPS
return_url: "", // type<string>, 支付成功时返回的URL
}
```
### Reply
```javascript
{
pay_url: "", // type<string>, 支付链接
}
```
## /wallet.Alipay/AppPay
支付宝APP支付
### Request
```javascript
{
user_identification: "", // type<string>, 用户唯一标识
amount: "0", // type<int64>, 充值金额,单位:分
description: "", // type<string>, 商品描述
notify_url: "", // type<string>, 支付回调URL公网域名须为HTTPS
}
```
### Reply
```javascript
{
pay_param: "", // type<string>, 调起支付的参数
}
```
## /wallet.Alipay/Transfer
支付宝转账到个人支付宝账户
### Request
```javascript
{
user_identification: "", // type<string>, 用户唯一标识
amount: "0", // type<int64>, 提现金额,单位:分
fee: "0", // type<int64>, 提现手续费,单位:分
description: "", // type<string>, 商品描述
}
```
### Reply
```javascript
{}
```