Skip to main content
POST
Create a plan

Authorizations

Authorization
string
header
required

Use your Razorpay Key ID as the username and Key Secret as the password.

Body

application/json
period
enum<string>
required

Billing frequency of the plan.

Available options:
daily,
weekly,
monthly,
yearly
Example:

"weekly"

interval
integer
required

Number of billing period intervals between charges. For example, 2 with period=monthly bills every 2 months.

Example:

1

item
object
required

Item details for the plan.

Response

Plan created successfully.

A Razorpay Plan object used to define recurring billing.

id
string

Unique identifier of the plan.

Example:

"plan_00000000000001"

entity
string

Entity type. Always plan.

Example:

"plan"

interval
integer

Number of billing periods between charges. For example, 2 with period=weekly means every 2 weeks.

Example:

1

period
enum<string>

Billing frequency.

Available options:
daily,
weekly,
monthly,
yearly
Example:

"weekly"

item
object

Details of the item associated with the plan.

created_at
integer

Unix timestamp at which the plan was created.

Example:

1580453311