provider Api20100401Balance GET /2010-04-01/Accounts/{AccountSid}/Balance.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Balance.json
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information
AccountSid path required
The unique SID identifier of the Account.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

fetchbalance
GET/2010-04-01/Accounts/{AccountSid}/Balance.json
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information

Parameters

required

The unique SID identifier of the Account.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.fetchbalance()