Account object lets you perform actions on your Plivo account. You can retrieve and update account details using this API.
API Endpoint
The Account Object
Attributes
Account type. Values:
standard for paid accounts, developer for free trial.Postal address of the account, displayed on invoices.
Auth ID of the account.
Whether automatic recharge is enabled when credits fall below threshold.
Billing mode. Values:
prepaid or postpaid.Account credits in USD.
City of the account holder.
Name of the account holder.
URI of the account resource.
State or region of the account.
Time zone used in the Plivo dashboard. See IANA Time Zone Database.
Example Object
Retrieve Account Details
Retrieves the details of your account.Arguments
No arguments required.
Example
Response
Update Account Details
Updates theAccount object. Parameters not provided remain unchanged.
Arguments
Postal address of the account, displayed on invoices.
Name of the account holder.
City of the account holder.
State or region of the account.
Time zone for the Plivo dashboard. See IANA Time Zone Database.