Skip to main content
  • You can charge as per a billing model defined that you define.
  • Do not require any intervention from the customer as the process is automated.
You can automatically charge customers based on a billing cycle that you control. It allows you to easily create and manage Subscriptions and get instant alerts on payment activity as well as the status of Subscriptions.

Create a Subscription API

Given below is the sample code for the Create a Subscription API. Pass the account_id of the sub-merchant using X-Razorpay-Account in the header.
Handy TipsYou should create a plan before creating a subscription./subscriptions
Curl

Fetch All Subscriptions API

Given below is the sample code for Fetch all Subscriptions API. Pass the account_id of the sub-merchant using X-Razorpay-Account in the header.
Curl