client/docs/wallet/alipay.md

1.9 KiB
Raw Blame History

Alipay

/wallet.Alipay/WapPay

支付宝wap支付

Request

{
    user_identification: "", // type<string>, 用户唯一标识
    amount: "0", // type<int64>, 充值金额,单位:分
    description: "", // type<string>, 商品描述
    notify_url: "", // type<string>, 支付回调URL公网域名须为HTTPS
    quit_url: "", // type<string>, 退出支付时用户返回的URL
}

Reply

{
    pay_url: "", // type<string>, 支付链接
}

/wallet.Alipay/PagePay

支付宝电脑网站支付

Request

{
    user_identification: "", // type<string>, 用户唯一标识
    amount: "0", // type<int64>, 充值金额,单位:分
    description: "", // type<string>, 商品描述
    notify_url: "", // type<string>, 支付回调URL公网域名须为HTTPS
    return_url: "", // type<string>, 支付成功时返回的URL
}

Reply

{
    pay_url: "", // type<string>, 支付链接
}

/wallet.Alipay/AppPay

支付宝APP支付

Request

{
    user_identification: "", // type<string>, 用户唯一标识
    amount: "0", // type<int64>, 充值金额,单位:分
    description: "", // type<string>, 商品描述
    notify_url: "", // type<string>, 支付回调URL公网域名须为HTTPS
}

Reply

{
    pay_param: "", // type<string>, 调起支付的参数
}

/wallet.Alipay/Transfer

支付宝转账到个人支付宝账户

Request

{
    user_identification: "", // type<string>, 用户唯一标识
    amount: "0", // type<int64>, 提现金额,单位:分
    fee: "0", // type<int64>, 提现手续费,单位:分
    description: "", // type<string>, 商品描述
}

Reply

{}