#!/usr/bin/python # encoding:utf-8 import requests, hashlib # 3、查询流量订单详情 data = {} data["appkey"] = "your_appkey_here" data["orderno"] = "221605250929585085725" #订单号 data["outorderno"] = "77888855888" #商家订单号,和订单号任选其一 url = "https://api.jisuapi.com/flowrecharge/orderdetail" response = requests.get(url,params=data) jsonarr = response.json() if jsonarr["status"] != 0: print(jsonarr["msg"]) exit() result = jsonarr["result"] print(result["total"],result["pagesize"],result["pagenum"],) print(result["orderno"],result["outorderno"],) print(result["account"],result["num"],) print(result["status"],result["rechargestatus"],) print(result["amount"],result["totalfee"],) print(result["addtime"],result["name"],) print(result["areaid"],result["company"],)
© 2015-2025 杭州极速互联科技有限公司 版权所有 浙ICP备17047587号-4 浙公网安备33010502005096 增值电信业务经营许可证:浙B2-20190875