Account and billing

Balance and usage

Check your credit totals and active subscription through the API, and resolve mismatches with the dashboard.

Use GET /me to read the credits and the subscription that the API currently records for your account. The request costs no credits.

The command below uses the CSCHEAP_API_KEY environment variable from your first request.

Read your account

curl 'https://api.cs.cheap/me' \
  --header "Authorization: Bearer $CSCHEAP_API_KEY"
FieldMeaning
data.credit.totalGranted credits
data.credit.usedConsumed credits
data.credit.remainingmax(0, total - used)
data.subscriptionThe currently active period, or null when none is active

For every field, see the GET /me reference.

What the snapshot covers

The response is the current account snapshot of the API. Newly purchased credits, key changes, and profile changes reach it asynchronously.

The wallet balance in the dashboard, credit grants, and API usage are different records. They do not have to update at exactly the same moment.

Resolve a mismatch

  1. Confirm that you compare the same account.
  2. Check that the order is fulfilled and that the subscription dates are active.
  3. Wait for synchronization, then read the account again.

Do not add wallet dollars to credit counts. Concurrent requests can make the estimate in a single response differ from a later account read.

The API does not currently provide a request-by-request access log. For a persistent issue, keep the request ID, the UTC time, and the order reference, then see billing troubleshooting.