Skip to main content
Subscribers can redeem coupon codes in order to purchase a subscription at a promotional rate. To support this functionality, you must use the Subscribe APIs.
  • Use Case Number: 2-2-08
  • **Completed By:**Software Developer
  • Estimated Completion Time: <1 day

Basic Scenario

A new subscriber purchases a subscription using a coupon code to access a promotional rate.

Design Approach

While this use case is similar to the basic use case for creating subscriptions (Enable Subscribers to Purchase a Subscription With a Credit Card), it has a slight modification in that you must pass a Campaign Code that references a Coupon style Campaign. The following diagram illustrates the use case sequence. Parent topic:Campaigns & Promotions

Configure Support for Coupon Codes Using Subscribe APIs

Set up one or more coupon codes using the Subscribe Portal. (See Set Up Coupon Codes.)
  1. Call the subscriptions endpoint passing the coupon style campaign code created in the Subscribe Portal. Sample Code Endpoint : https://api.staging.us-west.vindicia.com/subscriptions?dry\_run=0 JSON Request:
  • A proper Subscription with Account and Payment Method objects are created in Subscribe.
  • The Initial Transaction is generated, if applicable, including any applicable taxation.
  • Future billings are correctly predicted.
  • The Account has been granted appropriate Entitlements.
  • The promotional rate is reflected in current and future transactions, if applicable.
  • The Coupon Code has been marked as redeemed, if applicable.
Parent topic:Enable Subscribers to Purchase a Subscription Using a Coupon Code