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

Set Balance - Adjust Member Wallet Credits via API

Set a user's wallet balance to a specific value within a project. This endpoint allows administrators to directly set a user's balance rather than adjusting by a delta amount.

POST/v2/projects/{project_id}/balance/adjust

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

Request Body

user_idstringrequired

The user ID to set balance for.

new_balancestringrequired

The new balance value to set (e.g., '10.00').

reasonstring

Optional reason for the balance change.

Last updated: