Get wallet balance
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/billing/wallet \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/billing/wallet"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/billing/wallet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Account
Get wallet balance
Current wallet balance and paginated transaction history
GET
/
billing
/
wallet
Get wallet balance
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/billing/wallet \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/billing/wallet"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/billing/wallet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Returns your Agentic OS wallet balance plus a page of transactions. Calls,
messages and campaigns all draw down this balance, so poll it to avoid runs
stopping mid-flight.
For balances held at your telephony providers instead, see
Get provider balances.
Query parameters
string
Return the balance converted to this currency
integer
default:"1"
1-based page number for the transaction list
integer
default:"10"
Transactions per page
curl https://prod-platform-core-api.20x.business/api/v1/billing/wallet \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
requests.get(
"https://prod-platform-core-api.20x.business/api/v1/billing/wallet",
headers={"Authorization": f"Bearer {API_KEY}"},
)
await fetch("https://prod-platform-core-api.20x.business/api/v1/billing/wallet", {
headers: { Authorization: `Bearer ${API_KEY}` },
});
Reading the balance works with an API key, but moving money does not.
Recharging the wallet, changing billing currency and debiting for purchases are
dashboard-only and reject API keys with
403.
