Update a Subscription

PATCH https://api.razorpay.com/v1/subscriptions/{sub_id}

Use the Update a Subscription API to modify any subscription you have created.

Request Body


{"plan_id"=>"{plan_id}", "quantity"=>3, "remaining_count"=>6, "schedule_change_at"=>"now", "customer_notify"=>1, "offer_id"=>"{offer_id}"}

Headers

| Key | Datatype | Required | Description |

| -------------- | -------- | -------- | ----------- |

| Content-Type | string | | |