NAME

Twilio::Rest::Marketplace::V1::InstalledAddOn::InstalledAddOnUsage - The InstalledAddOnUsage resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $installed_add_on_usage = $client->marketplace->v1->installed_add_ons($installed_add_on_sid)->usage->create(\%body);

DESCRIPTION

This file holds InstalledAddOnUsageList and InstalledAddOnUsageInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

InstalledAddOnUsageList

Returned by $client->marketplace->v1->installed_add_ons($installed_add_on_sid)->usage. See also Twilio::ListResource.

create

my $installed_add_on_usage = $client->marketplace->v1->installed_add_ons($installed_add_on_sid)->usage->create(\%body);

Allows Twilio Marketplace publishers to manually report customer usage on No-code Partner Listings that they own. Returns a InstalledAddOnUsageInstance.

%body is sent as JSON. It takes the names Twilio's API documentation uses.

Its fields are:

billable_items

Required. No description in the specification.

total_submitted

Total amount in local currency that was billed in this request. Aggregates all billable_items that were successfully submitted.

InstalledAddOnUsageInstance

See also Twilio::InstanceResource.

Its fields are:

billable_items

No description in the specification.

total_submitted

Total amount in local currency that was billed in this request. Aggregates all billable_items that were successfully submitted.

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.