Skip to main content

Overview

Creating a subscription involves two steps: enrolling a customer’s payment method for recurring use, and then creating the subscription with your desired billing configuration. This guide walks through both steps with complete API examples.

Step 1: Enroll a Payment Method

Before creating a subscription, you need a reusable payment method token. Use the enrollment flow to securely capture and tokenize the customer’s payment details.
When using Yuno’s Checkout SDK, the enrollment flow is handled automatically. The SDK returns a vaulted_token that you can use for subscription creation.

Step 2: Create the Subscription

With an enrolled payment method, create a subscription specifying the billing amount, interval, and duration.

Billing Intervals

Managing Subscriptions

Pause a Subscription

Resume a Subscription

Cancel a Subscription

Cancellation is irreversible. Once cancelled, a new subscription must be created if the customer wishes to re-subscribe.

Update Payment Method

If a customer’s card expires or they want to switch payment methods:
Proactively prompt customers to update their payment method before card expiration to avoid payment failures and involuntary churn.