paddle_list_subscriptions: List subscriptions

View source: R/subscriptions.R

paddle_list_subscriptionsR Documentation

List subscriptions

Description

Retrieves a paginated list of subscriptions from the Paddle API.

Usage

paddle_list_subscriptions(
  id = NULL,
  customer_id = NULL,
  address_id = NULL,
  price_id = NULL,
  status = NULL,
  scheduled_change_action = NULL,
  collection_mode = NULL,
  after = NULL,
  order_by = NULL,
  per_page = NULL
)

Arguments

id, customer_id, address_id, price_id

Character vectors. Optional filters.

status

Character vector. Optional. Must be one of '"active"', '"cancelled"', '"past_due"', '"paused"', '"trialing"'.

scheduled_change_action

Character vector. Optional. Must be one of '"cancel"', '"pause"', '"resume"'.

collection_mode

Character. Optional. Must be one of '"automatic"', '"manual"'.

after

Character. Optional. Return entities after the specified Paddle ID when working with paginated endpoints.

order_by

Character. Optional. Must be in the form "id[ASC]" or "id[DESC]".

per_page

Integer. Optional. Max 200, defaults to 50.

Value

A list with subscription data and pagination metadata.

Examples


set_paddle_mode("sandbox")
result <- paddle_list_subscriptions()


paddleR documentation built on June 24, 2025, 9:07 a.m.