Overview of the Subscription APIs response object.
The table below lists the response objects received for the different Subscription APIs.
Plan API | Object |
---|---|
Create Subscription | Create Subscription Response Object |
Get All Subscription | Get All Subscription Response Object |
Get Specific Subscription | Get Specific Subscription Response Object |
Pause Subscription | Pause Subscription Response Object |
Resume Subscription | Resume Subscription Response Object |
Create Subscription Object
Shown below is a sample response returned through our Create Subscription API.
{
"order_id": "v1-4405071524-aa-qlAtAf",
"subscription_id": "v1-sub-4405071524-aa-qlAtAf",
"merchant_subscription_reference": "1234567890",
"enable_notification": true,
"plan_details": {
"plan_id": "v1-plan-4405071524-aa-qlAtAf",
"status": "ACTIVE",
"plan_name": "Monthly Plan",
"plan_description": "Diwali dhammaka plan intended to attract customers on diwali time",
"frequency": "Day",
"amount": {
"value": 100,
"currency": "INR"
},
"max_limit_amount": {
"value": 100,
"currency": "INR"
},
"trial_period_in_days": 1,
"start_date": "2022-02-01T17:32:28Z",
"end_date": "2022-10-21T17:32:28Z",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"merchant_plan_reference": "1234567890",
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
},
"quantity": 1,
"start_date": "2022-07-21T17:32:28Z",
"end_date": "2022-09-21T17:32:28Z",
"customer_id": "123456",
"payment_mode": "UPI",
"allowed_payment_methods": [
"UPI"
],
"integration_mode": "SEAMLESS",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"status": "ACTIVE",
"is_tpv_enabled": true,
"bank_account": {
"account_number": "123456789012345",
"name": "Gaurav Kumar",
"ifsc": "123456789012345"
},
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z",
"callback_url": "https://www.example.com",
"failure_callback_url": "https://www.example.com",
"redirect_url": "https://api-staging.pluralonline.com/api/v3/checkout-bff/redirect/checkout?token=V3_D7LwszJqF2XRiFq46uOXQr0sQn8XbObLh7WM9YF8OAxQDYRnCMbhYgHbgFf4vCjJ%22&subscription_id=v1-sub-4405071524-aa-qlAtAf"
}
The table below lists the various parameters returned in the Create Subscription API response. This is part of the Create Subscription response
object.
Parameter | Type | Description |
---|---|---|
order_id | Unique identifier of the order in the Plural database. Example: v1-4405071524-aa-qlAtAf | |
subscription_id | string | Unique identifier for the subscription plan in the plural database.
v1-sub-4405071524-aa-qlAtAf |
merchant_subscription_reference | string | Unique identifier of the merchant subscription reference entered while creating a subscription.
1234567890 |
enable_notification | Boolean | Indicates if notifications are enabled. Example: true |
plan_details | Array of Objects | An array of object that contain plan details. Learn more about the plan details child object. |
quantity | integer | The quantity of the subscription for the selected plan, should be greater than 0. Example: 1 |
start_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan is active and available for use. Example: 2022-02-01T17:32:28Z |
end_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan expires and can no longer be used for new subscriptions. Example: 2022-09-21T17:32:28Z |
customer_id | string | Unique identifier of the customer in the Plural database.
123456 |
payment_mode | string | Payment methods allowed for subscription. Accepted values:
UPI |
allowed_payment_methods | The type of payment methods you want to offer customers. Accepted values:
UPI | |
integration_mode | string | Type of integration. Accepted values:
Example: SEAMLESS |
callback_url | string | Use this URL to redirect your customers to specific success or failure pages based on the order or product details. Example: https\://sample-callback-url>/td> |
merchant_metadata | object | An object of key-value pair that can be used to store additional information.
"key1": "DD" |
status | string | Status of the Subscription. Possible values:
|
is_tpv_enabled | Boolean | Indicates if Third-Party Validation (TPV) is enabled. Example: true |
bank_account | object | An object that contains bank account details. Learn more about the bank account child object. |
created_at | string | The ISO 8601 UTC Timestamp, when the create plan request was received by Plural. Example: 2022-09-21T17:32:28Z |
modified_at | string | The ISO 8601 UTC Timestamp, when the plan object is updated. Example: 2022-09-21T17:32:28Z |
callback_url | string | Use this URL to redirect your customers to specific success or failure pages based on the order or product details. Example: https\://sample-callback-url |
failure_callback_url | string | The URL specifically used to redirect customers to a failure page based on the order or product details. Example: https://sample-failure-callback-url Note:
|
redirect_url | string | URL for redirection after checkout. Example: https://api-staging.pluralonline.com/api/v3/checkout-bff/redirect/checkout?...subscription_id=v1-sub-4405071524-aa-qlAtAf |
Plan details [Child Object]
The table below lists the various parameters in the plan details
child object. This is part of the Create Subscription response
object.
Parameter | Type | Description |
---|---|---|
plan_id | string | Unique identifier for the subscription plan in the Plural database. Example: v1-plan-4405071524-aa-qlAtAf |
status | string | Status of the plan. Possible values:
|
plan_name | string | Subscription plan name. Example: Monthly Plan |
plan_description | string | Corresponding description for a plan. Example: Diwali dhammaka plan intended to attract customers on diwali time |
frequency | string | Frequency of recurring transactions for this particular plan.
Day |
amount | object | An object that contains the amount details. Learn more about the amount child object. |
max_limit_amount | object | An object that contains the maximum limit amount details. Learn more about the max_limi_amount child object. |
trial_period_in_days | integer | When a trial period is offered for the plan, this defines the duration of the trial period. Example: 1 Note : The trial period is always measured in days. |
start_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan is active and available for use. Example: 2022-02-01T17:32:28Z Note: On ignoring this field plan start date will be considered as start date. |
end_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan expires and can no longer be used for new subscriptions. Example: 2022-09-21T17:32:28Z Note: On ignoring this field, the plan will be on Active state unless there is a manual update. |
merchant_metadata | string | An object of key-value pair that can be used to store additional information.
"key1": "DD" |
merchant_plan_reference | string | Unique identifier of the merchant plan reference entered while creating a plan.
1234567890 |
created_at | string | The ISO 8601 UTC Timestamp, when the create plan request was received by Plural. Example: 2022-09-21T17:32:28Z |
modified_at | string | The ISO 8601 UTC Timestamp, when the plan object is updated. Example: 2022-09-21T17:32:28Z |
Amount [Child Object]
The table below lists the various parameters in the amount
child object. This is part of the plan
object.
Parameter | Type | Description |
---|---|---|
value | integer | Transaction amount is Paisa.
1000 |
currency | String | Type of currency. Example: INR |
Max limit amount
The table below lists the various parameters in the max_limit_amount
child object. This is part of the plan
object.
Parameter | Type | Description |
---|---|---|
value | integer | Transaction amount is Paisa.
1000 |
currency | String | Type of currency. Example: INR |
Bank account
The table below lists the various parameters in the bank account
child object. This is part of the Create Subscription response
object.
Parameter | Type | Description |
---|---|---|
account_number | string | Bank account number.
12345678912345 |
name | String | Name of Customer. Example: Kevin Bob |
ifsc | String | IFSC code of the bank account.
HDFC0001234 Supported Characters:
|
Get All Subscription Object
Shown below is a sample response returned through our Get All Subscription API.
{
"links": {
"first": {
"href": "https://api.pluralpay.in/api/v1/public /{resource}/?size=10&page=0&sort=id,asc"
},
"self": {
"href": "https://api.pluralpay.in/api/v1/public /{resource}/?size=10&page=0&sort=id,asc"
},
"next": {
"href": "https://api.pluralpay.in/api/v1/public /{resource}/?size=10&page=0&sort=id,asc"
},
"last": {
"href": "https://api.pluralpay.in/api/v1/public /{resource}/?size=10&page=0&sort=id,asc"
}
},
"page": {
"size": 10,
"total_elements": 50,
"total_pages": 5,
"number": 1
},
"subscriptions": [
{
"order_id": "v1-4405071524-aa-qlAtAf",
"subscription_id": "v1-sub-4405071524-aa-qlAtAf",
"merchant_subscription_reference": "1234567890",
"enable_notification": true,
"plan_details": {
"plan_id": "v1-plan-4405071524-aa-qlAtAf",
"status": "ACTIVE",
"plan_name": "Monthly Plan",
"plan_description": "Diwali dhammaka plan intended to attract customers on diwali time",
"frequency": "Day",
"amount": {
"value": 100,
"currency": "INR"
},
"max_limit_amount": {
"value": 100,
"currency": "INR"
},
"trial_period_in_days": 1,
"start_date": "2022-02-01T17:32:28Z",
"end_date": "2022-10-21T17:32:28Z",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"merchant_plan_reference": "1234567890",
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
},
"quantity": 1,
"start_date": "2022-07-21T17:32:28Z",
"end_date": "2022-09-21T17:32:28Z",
"customer_id": "123456",
"payment_mode": "UPI",
"allowed_payment_methods": [
"UPI"
],
"integration_mode": "SEAMLESS",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"status": "ACTIVE",
"is_tpv_enabled": true,
"bank_account": {
"account_number": "123456789012345",
"name": "Gaurav Kumar",
"ifsc": "123456789012345"
},
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
}
]
}
The table below lists the various parameters returned in the Get All Subscription API response.
Parameter | Type | Description |
---|---|---|
links | Object | An object that contains pagination links for navigation. Learn more about the links child object. |
page | object | An page object. Learn more about the Page child object. |
subscriptions | Array of Objects | An array of object that contain subscriptions details. Learn more about the Subscriptions child object. |
links [Child object]
The table below lists the various parameters in the links
child object. This is part of the Get All Subscription response
object.
Parameter | Type | Description |
---|---|---|
first | object | An object that contains the URL information of the first page. Learn more about the first child object. |
self | object | An object that contains the URL information of the current page. Learn more about the self child object. |
next | object | An object that contains the URL information of the current page. Learn more about the next child object. |
last | object | An object that contains the URL information of the current page. Learn more about the last child object. |
First [Child Object]
The table below lists the various parameters in the first
child object. This is part of the links
object.
Parameter | Type | Description |
---|---|---|
href | string | URL of the first page. Example: <https://api.pluralpay.in/api/v1/public> /{resource}/?size=10&page=0&sort=id,asc |
Self [Child Object]
The table below lists the various parameters in the self
child object. This is part of the links
object.
Parameter | Type | Description |
---|---|---|
href | string | URL of the current page. Example: "<https://api.pluralpay.in/api/v1/public> /{resource}/?size=10&page=0&sort=id,asc" |
Next [Child Object]
The table below lists the various parameters in the next
child object. This is part of the links
object.
Parameter | Type | Description |
---|---|---|
href | string | URL of the next page. Example: "<https://api.pluralpay.in/api/v1/public> /{resource}/?size=10&page=0&sort=id,asc" |
Last [Child Object]
The table below lists the various parameters in the last
child object. This is part of the links
object.
Parameter | Type | Description |
---|---|---|
href | string | URL of the last page. Example: "<https://api.pluralpay.in/api/v1/public> /{resource}/?size=10&page=0&sort=id,asc" |
Page [Child Object]
The table below lists the various parameters in the page
child object. This is part of the Get All Subscription response
object.
Parameter | Type | Description |
---|---|---|
size | Integer | Number of items per page. Example: 10 |
total_elements | Integer | Total number of elements. Example: 50 |
total_pages | Integer | Total number of pages. Example: 5 |
number | Integer | Page number. Example: 1 |
Subscriptions
The table below lists the various parameters in the subscriptions
child object. This is part of the Get All Subscription response
object.
Parameter | Type | Description |
---|---|---|
subscription_id | string | Unique identifier for the subscription plan in the plural database.
v1-sub-4405071524-aa-qlAtAf |
merchant_subscription_reference | string | Unique identifier of the merchant subscription reference entered while creating a subscrition.
1234567890 |
enable_notification | Boolean | Indicates if notifications are enabled. Example: true |
plan_details | Array of Objects | An array of object that contain plan details. Learn more about the Plan Details child object. |
quantity | integer | The quantity of the subscription for the selected plan, should be greater than 0. Example: 1 |
start_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan is active and available for use. Example: 2022-02-01T17:32:28Z |
end_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan expires and can no longer be used for new subscriptions. Example: 2022-09-21T17:32:28Z |
customer_id | string | Unique identifier of the customer in the Plural database.
123456 |
payment_mode | string | Payment methods allowed for subscription. Aaccepted values:
UPI |
allowed_payment_methods | string | The type of payment methods you want to offer customers. Accepted values:
UPI |
integration_mode | string | Type of integration. Accepted values:
Example: SEAMLESS |
callback_url | string | Use this URL to redirect your customers to specific success or failure pages based on the order or product details. Example: https\://sample-callback-url>/td> |
merchant_metadata | object | An object of key-value pair that can be used to store additional information.
"key1": "DD" |
status | string | Status of the Subscription. Possible values:
|
bank_account | object | An object that contains bank account details. Learn more about the Bank Account child object. |
is_tpv_enabled | Boolean | Indicates if Third-Party Validation (TPV) is enabled. Example: true |
created_at | string | The ISO 8601 UTC Timestamp, when the create plan request was received by Plural. Example: 2022-09-21T17:32:28Z |
modified_at | string | The ISO 8601 UTC Timestamp, when the plan object is updated. Example: 2022-09-21T17:32:28Z |
Plan details [Child Object]
The table below lists the various parameters in the plan details
child object. This is part of the Subscription
object.
Parameter | Type | Description |
---|---|---|
plan_id | string | Unique identifier for the subscription plan in the Plural database. Example: v1-plan-4405071524-aa-qlAtAf |
status | string | Status of the plan. Possible values:
|
plan_name | string | Subscription plan name. Example: Monthly Plan |
plan_description | string | Corresponding description for a plan. Example: Diwali dhammaka plan intended to attract customers on diwali time |
frequency | string | Frequency of recurring transactions for this particular plan.
Day |
amount | object | An object that contains the amount details. Learn more about the amount child object. |
max_limit_amount | object | An object that contains the maximum limit amount details. Learn more about the max_limi_amount child object. |
trial_period_in_days | integer | When a trial period is offered for the plan, this defines the duration of the trial period. Example: 1 Note : The trial period is always measured in days. |
start_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan is active and available for use. Example: 2022-02-01T17:32:28Z Note: On ignoring this field plan start date will be considered as start date. |
end_date | string | The ISO 8601 UTC Timestamp is the date when the subscription plan expires and can no longer be used for new subscriptions. Example: 2022-09-21T17:32:28Z Note: On ignoring this field, the plan will be on Active state unless there is a manual update. |
merchant_metadata | string | An object of key-value pair that can be used to store additional information.
"key1": "DD" |
merchant_plan_reference | string | Unique identifier of the merchant plan reference entered while creating a plan.
1234567890 |
created_at | string | The ISO 8601 UTC Timestamp, when the create plan request was received by Plural. Example: 2022-09-21T17:32:28Z |
modified_at | string | The ISO 8601 UTC Timestamp, when the plan object is updated. Example: 2022-09-21T17:32:28Z |
Amount [Child Object]
The table below lists the various parameters in the amount
child object. This is part of the Plans
object.
Parameter | Type | Description |
---|---|---|
value | integer | Transaction amount is Paisa.
1000 |
currency | String | Type of currency. Example: INR |
Max limit amount [Child Object]
The table below lists the various parameters in the max_limit_amount
child object. This is part of the Plans
object.
Parameter | Type | Description |
---|---|---|
value | integer | Transaction amount is Paisa.
1000 |
currency | String | Type of currency. Example: INR |
Bank account [Child Object]
The table below lists the various parameters in the bank account
child object. This is part of the Subscription
object.
Parameter | Type | Description |
---|---|---|
account_number | string | Bank account number.
04992990009595 |
name | String | Name of Customer. Example: Kevin Bob |
ifsc | String | IFSC code of the bank account.
HDFC0001234 Supported Characters:
|
Get Specific Subscription, Pause Subscription, Resume Subscription Objects
Shown below are the sample responses returned through our Get Specific Subscription
, Pause Subscription
, Resume Subscription
APIs.
{
"order_id": "v1-4405071524-aa-qlAtAf",
"subscription_id": "v1-sub-4405071524-aa-qlAtAf",
"merchant_subscription_reference": "1234567890",
"enable_notification": true,
"plan_details": {
"plan_id": "v1-plan-4405071524-aa-qlAtAf",
"status": "ACTIVE",
"plan_name": "Monthly Plan",
"plan_description": "Diwali dhammaka plan intended to attract customers on diwali time",
"frequency": "Day",
"amount": {
"value": 100,
"currency": "INR"
},
"max_limit_amount": {
"value": 100,
"currency": "INR"
},
"trial_period_in_days": 1,
"start_date": "2022-02-01T17:32:28Z",
"end_date": "2022-10-21T17:32:28Z",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"merchant_plan_reference": "1234567890",
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
},
"quantity": 1,
"start_date": "2022-07-21T17:32:28Z",
"end_date": "2022-09-21T17:32:28Z",
"customer_id": "123456",
"payment_mode": "UPI",
"allowed_payment_methods": [
"UPI"
],
"integration_mode": "SEAMLESS",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"status": "ACTIVE",
"is_tpv_enabled": true,
"bank_account": {
"account_number": "123456789012345",
"name": "Gaurav Kumar",
"ifsc": "123456789012345"
},
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
}
{
"order_id": "v1-4405071524-aa-qlAtAf",
"subscription_id": "v1-sub-4405071524-aa-qlAtAf",
"merchant_subscription_reference": "1234567890",
"enable_notification": true,
"plan_details": {
"plan_id": "v1-plan-4405071524-aa-qlAtAf",
"status": "ACTIVE",
"plan_name": "Monthly Plan",
"plan_description": "Diwali dhammaka plan intended to attract customers on diwali time",
"frequency": "Day",
"amount": {
"value": 100,
"currency": "INR"
},
"max_limit_amount": {
"value": 100,
"currency": "INR"
},
"trial_period_in_days": 1,
"start_date": "2022-02-01T17:32:28Z",
"end_date": "2022-10-21T17:32:28Z",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"merchant_plan_reference": "1234567890",
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
},
"quantity": 1,
"start_date": "2022-07-21T17:32:28Z",
"end_date": "2022-09-21T17:32:28Z",
"customer_id": "123456",
"payment_mode": "UPI",
"allowed_payment_methods": [
"UPI"
],
"integration_mode": "SEAMLESS",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"status": "PAUSED",
"is_tpv_enabled": true,
"bank_account": {
"account_number": "123456789012345",
"name": "Gaurav Kumar",
"ifsc": "123456789012345"
},
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
}
{
"order_id": "v1-4405071524-aa-qlAtAf",
"subscription_id": "v1-sub-4405071524-aa-qlAtAf",
"merchant_subscription_reference": "1234567890",
"enable_notification": true,
"plan_details": {
"plan_id": "v1-plan-4405071524-aa-qlAtAf",
"status": "ACTIVE",
"plan_name": "Monthly Plan",
"plan_description": "Diwali dhammaka plan intended to attract customers on diwali time",
"frequency": "Day",
"amount": {
"value": 100,
"currency": "INR"
},
"max_limit_amount": {
"value": 100,
"currency": "INR"
},
"trial_period_in_days": 1,
"start_date": "2022-02-01T17:32:28Z",
"end_date": "2022-10-21T17:32:28Z",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"merchant_plan_reference": "1234567890",
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
},
"quantity": 1,
"start_date": "2022-07-21T17:32:28Z",
"end_date": "2022-09-21T17:32:28Z",
"customer_id": "123456",
"payment_mode": "UPI",
"allowed_payment_methods": [
"UPI"
],
"integration_mode": "SEAMLESS",
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
},
"status": "RESUMING",
"is_tpv_enabled": true,
"bank_account": {
"account_number": "123456789012345",
"name": "Gaurav Kumar",
"ifsc": "123456789012345"
},
"created_at": "2022-10-21T17:32:28Z",
"modified_at": "2022-10-21T17:32:28Z"
}
The table below lists the various parameters returned in the Get Specific Subscription, Pause Subscription, Resume Subscription API responses.
Parameter | Type | Description |
---|---|---|
subscription_id | string | Unique identifier for the subscription plan in the plural database.
v1-sub-4405071524-aa-qlAtAf |
order_id | string | Unique identifier of the order in the Plural database. Example: v1-4405071524-aa-qlAtAf |
merchant_subscription_reference | string | Unique identifier of the merchant subscription reference entered while creating a subscription.
1234567890 |
enable_notification | Boolean | Indicates if notifications are enabled. Example: true |
plan_details | Array of Objects | An array of object that contain plan details. Learn more about the plan details child object. |
quantity | integer | The quantity of the subscription for the selected plan, should be greater than 0. Example: 1 |
start_date | string | The ISO 8601 UTC Timestamp, the date when the subscription plan becomes active and available for use. Example: 2022-02-01T17:32:28Z |
end_date | string | The ISO 8601 UTC Timestamp, the date when the subscription plan expires and can no longer be used for new subscriptions. Example: 2022-09-21T17:32:28Z |
customer_id | string | Unique identifier of the customer in the Plural database.
123456 |
payment_mode | string | Payment methods allowed for subscription. Aaccepted values:
UPI |
allowed_payment_methods | string | The type of payment methods you want to offer customers. Accepted values:
UPI |
integration_mode | string | Type of integration. Accepted values:
Example: SEAMLESS |
callback_url | string | Use this URL to redirect your customers to specific success or failure pages based on the order or product details. Example: https\://sample-callback-url>/td> |
merchant_metadata | object | An object of key-value pair that can be used to store additional information.
"key1": "DD" |
status | string | Status of the Subscription. Possible values:
|
bank_account | object | An object that contains bank account details. Learn more about the bank account child object. |
is_tpv_enabled | Boolean | Indicates if Third-Party Validation (TPV) is enabled. Example: true |
created_at | string | The ISO 8601 UTC Timestamp, when the create plan request was received by Plural. Example: 2022-09-21T17:32:28Z |
modified_at | string | The ISO 8601 UTC Timestamp, when the plan object is updated. Example: 2022-09-21T17:32:28Z |
Plan details [Child Object]
The table below lists the various parameters in the Plan Details
child object. This is part of Get Specific Subscription
, Pause Subscription
, and Resume Subscription
API responses object.
Parameter | Type | Description |
---|---|---|
plan_id | string | Unique identifier for the subscription plan in the Plural database. Example: v1-plan-4405071524-aa-qlAtAf |
status | string | Status of the plan. Possible values:
|
plan_name | string | Subscription plan name. Example: Monthly Plan |
plan_description | string | Corresponding description for a plan. Example: Diwali dhammaka plan intended to attract customers on diwali time |
frequency | string | Frequency of recurring transactions for this particular plan.
Day |
amount | object | An object that contains the amount details. Learn more about the amount child object. |
max_limit_amount | object | An object that contains the maximum limit amount details. Learn more about the max_limi_amount child object. |
trial_period_in_days | integer | When a trial period is offered for the plan, this defines the duration of the trial period. Example: 1 Note : The trial period is always measured in days. |
start_date | string | The ISO 8601 UTC Timestamp, the date when the subscription plan becomes active and available for use. Example: 2022-02-01T17:32:28Z Note: On ignoring this field plan start date will be considered as start date. |
end_date | string | The ISO 8601 UTC Timestamp, the date when the subscription plan expires and can no longer be used for new subscriptions. Example: 2022-09-21T17:32:28Z Note: On ignoring this field, the plan will be on Active state unless there is a manual update. |
merchant_metadata | string | An object of key-value pair that can be used to store additional information.
"key1": "DD" |
merchant_plan_reference | string | Unique identifier of the merchant plan reference entered while creating a plan.
1234567890 |
created_at | string | The ISO 8601 UTC Timestamp, when the create plan request was received by Plural. Example: 2022-09-21T17:32:28Z |
modified_at | string | The ISO 8601 UTC Timestamp, when the plan object is updated. Example: 2022-09-21T17:32:28Z |
Amount [Child Object]
The table below lists the various parameters in the amount
child object. This is part of the plan
object.
Parameter | Type | Description |
---|---|---|
value | integer | Transaction amount is Paisa.
1000 |
currency | String | Type of currency. Example: INR |
Max limit amount [Child Object]
The table below lists the various parameters in the max_limit_amount
child object. This is part of the plan
object.
Parameter | Type | Description |
---|---|---|
value | integer | Transaction amount is Paisa.
1000 |
currency | String | Type of currency. Example: INR |
Bank account [Child Object]
The table below lists the various parameters in the bank account
child object. This is part of Get Specific Subscription
, Pause Subscription
, and Resume Subscription
API responses object.
Parameter | Type | Description |
---|---|---|
account_number | string | Bank account number.
04992990009595 |
name | String | Name of Customer. Example: Kevin Bob |
ifsc | String | IFSC code of the bank account.
HDFC0001234 Supported Characters:
|