-
-
Save xdstack/7a5a32ef61f8a6635f0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##兑换接口API | |
###话费兑换 | |
请求地址:/charge/exchangePhonebill | |
输入参数: | |
appKey | |
timestamp 时间戳(北京时间,毫秒为单位),5分钟过期 | |
phone 手机号 | |
quantity 话费金额(元) | |
bizId 开发者订单号 | |
sign 签名 | |
响应: | |
{success:true,orderNum:"2014xxx",status:"create"} | |
或者: | |
{success:false,errorMessage:"创建订单失败"} | |
###支付宝提现 | |
请求地址: /charge/exchangeAlipay | |
输入参数: | |
appKey | |
timestamp 时间戳(北京时间,毫秒为单位),5分钟过期 | |
alipay 支付宝账号 | |
realname 支付宝账号所有者的真实姓名,url中需要进行utf-8编码 | |
bizId 开发者订单号 | |
quantity 充值金额(元) | |
sign 签名 | |
响应: | |
{success:true,orderNum:"2014xxx",status:"create" } | |
或者: | |
{success:false,errorMessage:"创建订单失败"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment