Skip to main content
GET
/
agency
/
billing
/
balance
/
source
/
{sourceId}
Get source balance
curl --request GET \
  --url https://api.closebot.com/agency/billing/balance/source/{sourceId} \
  --header 'X-CB-KEY: <api-key>'
{
  "balance": 123,
  "currency": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

sourceId
string
required

The source ID.

Response

Success

balance
integer<int64>

Balance in smallest unit of currency (cents in USD).

currency
string | null