capabilities.work

Create and Verify Subscription

A 2-step recipe with Swell. We can help you get access.

Recipe · 2 steps

Create and Verify Subscription

with Swell · Subscription Lifecycle Management

Create a subscription, then fetch it back by id.

  1. Create the subscription tying the account to the product and plan with the supplied billing interval.
  2. Read the new subscription back to confirm its status and period.
What you'll need to have ready
  • account_id: The account that owns the subscription.
  • product_id: The subscription product being billed.
  • plan_id: The plan template defining schedule and price.
  • interval: Billing interval (daily, weekly, monthly, yearly).
  • interval_count: Number of intervals between billings.
  • trial_days: Number of trial days before the first charge.
For your developer

Arazzo workflow swell-io:create-and-verify-subscription, 2 operations: createSubscription → getSubscription. Specs on APIs.io.