Pause or resume a subscription

DOCSCurrent

Last updated: Sept 24th, 5:28pm

With subscription services, you may encounter situations where consumers want to pause their subscription service for a period of time, such as when pausing cable service or a gym subscription during a vacation. Providing this ability helps you reduce customer churn.

You can also use this functionality as a "soft cancellation": when a consumer wants to stop their subscription, you can mark it inactive by pausing it and allowing it to be reactivated later. This saves consumers from having to go through the sign-up steps needed to re-subscribe from a hard cancellation.

When a subscription is paused, or soft-canceled, PayPal will stop processing payments until it is reactivated. You can still recover any outstanding balances during the pause.

Pausing subscriptions

To pause a customer subscription, copy the following code and modify it.

Sample request

API endpoint used: Suspend subscription

    1curl -v -X POST https://api-m.sandbox.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G/suspend
    2-H "Content-Type: application/json"
    3-H "Authorization: Bearer ACCESS-TOKEN"
    4-d '{
    5 "reason": "Customer-requested pause"
    6}'

    Modify the code

    • Access-Token - replace ACCESS-TOKEN with your access token.
    • Subscription ID - In the URI for the API call, replace the sample ID with the ID for the subscription you want to update. In this example, the subscription ID is I-BW452GLLEP1G.
    • Reason - Enter the reason for pausing or suspending the subscription as a string. Here, the reason is Customer-requested pause.

    Resume subscriptions

    To resume a paused customer subscription, copy the sample below, and modify it in the same way as described in Pausing subscriptions.

    Sample request

    API endpoint used: Activate subscription.

      1curl -v -X POST https://api-m.sandbox.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G/activate
      2-H "Content-Type: application/json"
      3-H "Authorization: Bearer ACCESS-TOKEN"
      4-d '{
      5 "reason": "Reactivating on customer request"
      6}'

      We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies