API ReferenceIntegrationsKnowledge Base

Link an Offer to a Subscription

After creating an offer and a Subscription Plan, you need to link the offer to a Subscription.

You can also detele an offer linked to a Subscription.

Link an Offer when Creating a Subscription🔗

You can link an offer while creating a Subscription from the Dashboard or using APIs.

Watch Out!
Offers for Subscriptions are only available when using Razorpay Standard Checkout.

From Dashboard🔗

You can link an offer to a Subscription by selecting the required offer using the Offer drop-down when creating the Subscription.

link offer when creating a subscription

Know more about Subscription Links.

Using APIs🔗

You can link an offer to a Subscription while creating the Subscription using this API.

You can link an offer to a Subscription by passing offer_id: <offer_id> in the request body when creating a Subscription.

Use the below endpoint to create a new subscription link.

/subscriptions

Refer to the Subscription API documentation for more information.

Link an Offer to an Existing Subscription🔗

You can link an offer to a Subscription or update the offer linked to a Subscription from the Dashboard or using APIs.

  • This is possible only if the Subscription is in the active state and not in any other state.
  • The offer is applied to the Subscription at the end of the current billing cycle. It is not possible to update an offer linked to a Subscription immediately.

From Dashboard🔗

You can link an offer to an existing active Subscription by selecting the required offer using the Offer drop-down when updating the Subscription.

link an offer to an existing active subscription

Know more aboutupdating a Subscription.

Using APIs🔗

You can link an offer to an existing active Subscription using this API.

You can link an offer to an existing active Subscription by passing offer_id: <offer_id> in the update Subscription request body.

Use the below endpoint to update a subscription.

/subscriptions/:sub_id

Refer to the Subscription API documentation for more information.

×