NAME
Twilio::Rest::Api::V2010::Account::Balance - The Balance resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $balance = $client->balance->fetch;
DESCRIPTION
Account balance
This file holds BalanceList and BalanceInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
BalanceList
Returned by $client->balance. See also Twilio::ListResource.
fetch
my $balance = $client->balance->fetch;
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information. Returns a BalanceInstance.
BalanceInstance
See also Twilio::InstanceResource.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- balance
-
The balance of the Account, in units specified by the unit parameter. Balance changes may not be reflected immediately. Child accounts do not contain balance information
- currency
-
The units of currency for the account balance
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.