Fetch a subscription
Retrieves the details of a specific subscription by its ID.
Authorizations
Use your Razorpay Key ID as the username and Key Secret as the password.
Path Parameters
Unique identifier of the subscription.
"sub_00000000000001"
Response
Subscription details retrieved successfully.
A Razorpay Subscription object.
Unique identifier of the subscription.
"sub_00000000000001"
Entity type. Always subscription.
"subscription"
Unique identifier of the plan associated with this subscription.
"plan_00000000000001"
Current status of the subscription.
created, authenticated, active, pending, halted, cancelled, completed, expired "created"
Total number of billing cycles in the subscription.
6
Number of billing cycles that have been successfully paid.
0
Number of billing cycles remaining.
6
Indicates whether the customer should be notified. 1 for yes, 0 for no.
0, 1 1
Unix timestamp at which the subscription starts billing.
1580453311
Unix timestamp at which the subscription ends.
null
Unix timestamp of the next scheduled charge.
1580453311
Unix timestamp at which the subscription was created.
1580453311