💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~[api] post:v1/classpay/order *uid#学生uid *pay_time#购买时长 *price#价格 *type#1自付 2代付 3线下 pay_type#wx微信 alipay支付宝 chinabank中国银行 give_time#赠送时长 extra_info#附加信息 pay_status=0#状态: -1家长确认中;0待付款;1已付款;2取消;3支付失败;4订单已失效 order_no#服务端生成的订单号,家长代付的时候需要传 client_ip=127.0.0.1#客户端IP地址 origin=web#来源 android/ios/web is_parent=0#是否是家长代付 0否 1是 <<< [ping++]success { "ret": 0, "msg": "ok", "data": { "id": "ch_q9Wz5KrXXj9C9aLeL4vLGGiP", "object": "charge", "created": 1502189789, "livemode": false, "paid": false, "refunded": false, "reversed": false, "app": "app_0qv9iTm5qbr5vT4K", "channel": "wx", "order_no": "1066150218978907230", "client_ip": "127.0.0.1", "amount": 11200, "amount_settle": 11200, "currency": "cny", "subject": "课堂功能", "body": "课堂功能购买2个月", "extra": { "limit_pay": "no_credit" }, "time_paid": null, "time_expire": 1502196989, "time_settle": null, "transaction_no": null, "refunds": { "object": "list", "url": "/v1/charges/ch_q9Wz5KrXXj9C9aLeL4vLGGiP/refunds", "has_more": false, "data": [] }, "amount_refunded": 0, "failure_code": null, "failure_msg": null, "metadata": {}, "credential": { "object": "credential", "wx": { "appId": "wxzrjhytbnftutyduz", "partnerId": "1275238301", "prepayId": "1101000000170808j5qvxt8anfb9co88", "nonceStr": "ea80a57117b04dd323efcc48b112f322", "timeStamp": 1502189789, "packageValue": "Sign=WXPay", "sign": "35892b66822d59f97b357d899325e8619d1a329c" } }, "description": null } } <<< [中银或家长代付]success { "ret": 0, "msg": "ok", "data": [] } <<< error { "ret": -1, "msg": "参数错误", "data": [] } ~~~