recurlysdk


The RecurlySDK is a software development kit that enables developers to integrate Recurly’s subscription billing platform into their iOS applications. This powerful SDK allows iOS developers to easily manage subscription plans, handle customer billing information, and track revenue. With the RecurlySDK, developers can streamline the process of implementing subscription billing into their iOS apps, saving valuable time and resources.


Installing the RecurlySDK is a straightforward process. Follow the steps below to integrate the SDK into your iOS application:

  1. Open your Xcode project.
  2. Navigate to your project’s Build Settings.
  3. Under Build Settings, find the Linking section.
  4. Add the RecurlySDK framework to the Other Linker Flags field. You can find the necessary framework in the RecurlySDK zip file.


Configuring the RecurlySDK involves some initial setup. Follow these steps to properly configure the SDK:

  1. Create an instance of the Recurly class in your application.
  2. Set your Recurly API key using the setAPIKey: method.
  3. Set your desired environment (sandbox or production) using the setEnvironment: method.
  4. Optional: Enable debug logging using the enableDebugLogging: method to aid in troubleshooting.


Once the RecurlySDK is properly installed and configured, you can start using its powerful features to manage subscription billing in your iOS app. Here are some commonly used methods and functionality:

Subscription Management

The RecurlySDK provides methods to manage subscription plans, including creating, updating, and canceling subscriptions. Developers can retrieve customer subscription information, such as current plan, subscription status, and expiration date. Additionally, it’s possible to handle subscription upgrades or downgrades through the SDK.

Billing Information

With the RecurlySDK, developers can securely handle customer billing information. This includes managing customer payment methods, such as credit cards and PayPal, and retrieving and updating customer billing addresses. The SDK provides methods to process payments, handle credit card validation, and storing payment information securely.

Revenue Tracking

The RecurlySDK offers functionality to track and analyze revenue generated from subscriptions. Developers can retrieve revenue metrics, such as total revenue, average revenue per user, and revenue by subscription plan. This data can be integrated into reporting or analytics systems to gain insights into subscription-based revenue streams.


The RecurlySDK is an invaluable tool for iOS developers looking to seamlessly integrate Recurly’s subscription billing platform into their applications. By following the installation, configuration, and usage instructions outlined above, developers can save time and effort, allowing them to focus on delivering a great user experience while efficiently managing subscription billing.