View source: R/subscriptions.R
paddle_resume_subscription | R Documentation |
Resumes a paused subscription immediately or at a specified date. Also updates a scheduled pause if subscription is active.
paddle_resume_subscription(id, effective_from, on_resume = NULL)
id |
Character. Required. Paddle subscription ID (e.g. "sub_abc123"). |
effective_from |
Character. Required. RFC 3339 datetime string when the resume should occur. |
on_resume |
Character or NULL. Optional. One of '"start_new_billing_period"' or '"continue_billing_period"'. |
A list representing the updated subscription object.
set_paddle_mode("sandbox")
result <- paddle_resume_subscription(
id = "sub_123",
effective_from = "2025-07-01T00:00:00Z"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.