Twilio. Balance
(twilio v0.2.0)
Copy Markdown
API calls: retrieve.
Summary
Functions
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information
Like retrieve/1, but returns the result or raises Infusion.Runtime.Error.
Functions
@spec retrieve(keyword()) :: {:ok, Twilio.Schemas.Balance.t()} | {:error, Infusion.Runtime.Error.t()}
Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information
GET /2010-04-01/Accounts/{AccountSid}/Balance.json
{AccountSid} in the path is the :account_sid setting; pass account_sid: "..." as an option to use another.
@spec retrieve!(keyword()) :: Twilio.Schemas.Balance.t()
Like retrieve/1, but returns the result or raises Infusion.Runtime.Error.