List subscription add-ons
GET
https://api.tamio.com/v2/subscriptions/addons/list/{uuid}
Returns a paginated list of add-ons attached to a subscription.
Path Parameters
uuid
string*
UUID of the subscription.
Query Parameters
page
integer*
Page number.
per_page
integer*
Add-ons per page.
Responses
200
Paginated list of add-ons
Paginated list of add-ons
status
integer
total_results
integer
Total number of add-ons for this subscription.
addons
array of Addon
id
string
Unique identifier of the add-on.
object
string
Object type identifier.
description
string
Add-on name/description.
amount
integer
Price in smallest currency unit (e.g. cents).
currency
string
ISO currency code (lowercase).
duration
string
Billing duration type. once for one-time, limited for fixed number of payments, recurring for ongoing.
oncelimitedrecurring
type
string
Add-on type identifier.
subscription_id
string
UUID of the parent subscription.
payment_count
integer
Number of payments processed for this add-on.
number_of_payments
integer
Total payments expected. Only set for limited duration add-ons, null otherwise.
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
1002 | Subscription not found |
status
integer
error
string
error_code
integer
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string
error_code
integer