Discussions

Ask a Question
Back to all

API credit does not match the web UI

Hello,

I'm running the https://api.topview.ai/user/credit/detail API call to receive the API credits and it outputs, that I have 10 credits:

ma/starcraft$ curl -s https://api.topview.ai/user/credit/detail   -H "Topview-Uid: $TOPVIEW_UID"   -H "Authorization: Bearer $TOPVIEW_API_KEY"   | jq .
{
  "code": "200",
  "message": "Success",
  "result": {
    "uid": "***",
    "remainCredit": 10.00,
    "expiredTime": null
  }
}

Meanwhile in the web UI I have 293 credits.

Any idea what is wrong?

Thank you, Tony