此页内容

余额查询

captchaRun

105字小于1分钟

2024-05-21

请求方式: GET

路径: /v2/users/self/wallet

请求样例

GET https://api.captcha.run/v2/users/self/wallet

Authorization: Bearer 00000000-0000-0000-0000-000000000000 // 你的 Token

返回样例

{
  "cumulativeRecharge": "13029.9977500000000381216", // 累计充值
  "share": "312.23755", // 分成
  "balance": "1127.2473499999999617784", // 余额
  "credit": "10000" // 信用额度
}

示例代码

CURL

curl -H "Authorization: Bearer 你的TOKEN" https://api.captcha.run/v2/users/self/wallet

Python

import requests

headers = {
    'Authorization': 'Bearer 你的TOKEN',
}

response = requests.get('https://api.captcha.run/v2/users/self/wallet', headers=headers)
print(response.json())