Response
Entity
Parameters
id
: string The unique identifier linked to a plan. This is used when creating a Subscription for customers.
entity
: string The entity being created. Here, it is plan.
interval
: integer This, combined with period, defines the frequency. If the billing cycle is 2 months, the value should be 2.
Handy Tips
7.
period
: string This, combined with interval, defines the frequency. Possible values:
dailyweeklymonthlyquarterlyyearly
monthly.
Handy Tips
- For UPI, all undefined frequencies except
daily,weekly,monthly,quarterlyandyearlyare consideredas-presented. - For domestic cards, all undefined frequencies except
weekly,monthlyandyearlyare consideredas-presentedwhile registering the mandate with banks.
item
: object Details of the plan.
id
: string The unique identifier linked to an item. For example, item_00000000000001.
name
: string Name of the plan. For example, Test Plan.
amount
: integer Amount for the plan. When you use this plan to create a Subscription, the customer will be charged this amount periodically.
In the case of three decimal currencies, such as KWD, BHD and OMR, to refund a payment of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, to refund a payment of 295, pass the value as 295.