README.md in paddle-2.1.1 vs README.md in paddle-2.1.2

- old
+ new

@@ -128,10 +128,14 @@ Paddle::Customer.retrieve(id: "ctm_abc123") # Update a customer # https://developer.paddle.com/api-reference/customers/update-customer Paddle::Customer.update(id: "ctm_abc123", status: "archived") + +# Retrieve credit balance for a customer +# https://developer.paddle.com/api-reference/customers/list-credit-balances +Paddle::Customer.credit(id: "ctm_abc123") ``` ### Addresses ```ruby @@ -212,10 +216,12 @@ # https://developer.paddle.com/api-reference/subscriptions/list-subscriptions Paddle::Subscription.list(customer_id: "ctm_abc123") Paddle::Subscription.list(price_id: "pri_abc123") Paddle::Subscription.list(status: "active") Paddle::Subscription.list(status: "canceled") +Paddle::Subscription.list(collection_mode: "automatic") +Paddle::Subscription.list(scheduled_change_action: "cancel") # Retrieve a subscription Paddle::Subscription.retrieve(id: "sub_abc123") # Retrieve a subscription with extra information @@ -240,17 +246,24 @@ # Pause a subscription # https://developer.paddle.com/api-reference/subscriptions/pause-subscription Paddle::Subscription.pause(id: "sub_abc123") Paddle::Subscription.pause(id: "sub_abc123", effective_from: "next_billing_period") +Paddle::Subscription.pause(id: "sub_abc123", effective_from: "immediately") # Resume a paused subscription # https://developer.paddle.com/api-reference/subscriptions/resume-subscription Paddle::Subscription.resume(id: "sub_abc123", effective_from: "next_billing_period") +Paddle::Subscription.resume(id: "sub_abc123", effective_from: "immediately") # Cancel a subscription # https://developer.paddle.com/api-reference/subscriptions/cancel-subscription Paddle::Subscription.cancel(id: "sub_abc123", effective_from: "next_billing_period") +Paddle::Subscription.cancel(id: "sub_abc123", effective_from: "immediately") + +# Activate a trialing subscription +# https://developer.paddle.com/api-reference/subscriptions/activate-subscription +Paddle::Subscription.activate(id: "sub_abc123") ``` ### Adjustments ```ruby