Dashboard
APIGet Balance API - Wallet Credits | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Examples
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Get Balance - Check Member Wallet Credits via API

Check how much credit a member has in their wallet. BotSubscription allows users to maintain a balance that can be applied toward future subscriptions, and this endpoint lets you query that amount along with the configured currency.

GET/v2/projects/{project_id}/balance

Authorization

Bearer API KeyRequired

API key access: Unrestricted project API key required. Restricted keys cannot call this endpoint.

Wallet top-up is currently unsupported for project API keys because its request contract cannot select the required recipient. Support requires a backend contract decision.

Path Parameters

project_idstringrequired

The unique identifier of the project.

Query Parameters

user_idstringrequired

The explicit user ID whose balance to query.

Last updated: