用户充值&绑定卡User top up & bind card
POST
/card/bind
接口描述
应用场景Application scenarios 绑卡&充值Bind card & top up
请求参数
application/x-www-form-urlencoded参数名
类型
描述
必填
token
String
身份标识 Identification
必填
phone
String
手机号 Phone Number
可选
cardNum
String
卡号 card number
必填
recharge
Double
充值金额(该参数为0则单纯绑定用户与卡) Top up amount (If the parameter is ‘0’, it simply binds the user and the card) 卡号与充值金额同时传值则进行绑卡并充值 Card number and the top up amount are return the value at the same time, need binding card and top up
必填
userId
Integer
phone与userId必须传一个值 ,如果同时传值,以userId为准 return a value, if return the value at the same time, subject to ‘userld’.
可选
tradeNo
String
此参数不为空时将生成充值订单 When this parameter is not empty, top up order will be generated
必填