OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
3-31-025chanakya
/
assets
/
payment
/
vendor
/
razorpay
/
razorpay
/
documents
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
03/26/2025 04:24:35 AM
rwxr-xr-x
π
Iin.md
1.78 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
account.md
14.21 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
addon.md
4.43 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
card.md
18.73 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
customer.md
10.8 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
dispute.md
6.03 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
document.md
1.82 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
emandate.md
15.61 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
fund.md
2.45 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
invoice.md
18.3 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
item.md
5.43 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
linkedAccount.md
6.06 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
order.md
13.8 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
papernach.md
21.57 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
payment.md
27.06 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
paymentLink.md
33.42 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
paymentVerfication.md
3.79 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
plan.md
4.52 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
productConfiguration.md
18.5 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
qrcode.md
13.92 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
refund.md
7.89 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
registeremandate.md
14.46 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
registernach.md
18.99 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
settlement.md
15.66 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
stakeholder.md
10.5 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
subscription.md
20.73 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
token.md
10.18 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
transfer.md
22.14 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
upi.md
16.8 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
virtualaccount.md
15.68 KB
03/26/2025 04:23:15 AM
rw-r--r--
π
webhook.md
6.89 KB
03/26/2025 04:23:15 AM
rw-r--r--
Editing: plan.md
Close
## Plans ### Create plan ```php $api->plan->create(array('period' => 'weekly', 'interval' => 1, 'item' => array('name' => 'Test Weekly 1 plan', 'description' => 'Description for the weekly 1 plan', 'amount' => 600, 'currency' => 'INR'),'notes'=> array('key1'=> 'value3','key2'=> 'value2'))); ``` **Parameters:** | Name | Type | Description | |-----------------|---------|------------------------------------------------------------------------------| | period* | string | Used together with `interval` to define how often the customer should be charged.Possible values:<br>1.`daily` <br>2.`weekly`<br>3.`monthly` <br>4.`yearly` | | interval* | string | Used together with `period` to define how often the customer should be charged | | items* | array | Details of the plan. For more details please refer [here](https://razorpay.com/docs/api/subscriptions/#create-a-plan) | | notes | array | Notes you can enter for the contact for future reference. | **Response:** ```json { "id":"plan_00000000000001", "entity":"plan", "interval":1, "period":"weekly", "item":{ "id":"item_00000000000001", "active":true, "name":"Test plan - Weekly", "description":"Description for the test plan - Weekly", "amount":69900, "unit_amount":69900, "currency":"INR", "type":"plan", "unit":null, "tax_inclusive":false, "hsn_code":null, "sac_code":null, "tax_rate":null, "tax_id":null, "tax_group_id":null, "created_at":1580219935, "updated_at":1580219935 }, "notes":{ "notes_key_1":"Tea, Earl Grey, Hot", "notes_key_2":"Tea, Earl Grey⦠decaf." }, "created_at":1580219935 } ``` ------------------------------------------------------------------------------------------------------- ### Fetch all plans ```php $api->plan->all($options); ``` **Parameters:** | Name | Type | Description | |-------|-----------|--------------------------------------------------| | from | timestamp | timestamp after which the payments were created | | to | timestamp | timestamp before which the payments were created | | count | integer | number of payments to fetch (default: 10) | | skip | integer | number of payments to be skipped (default: 0) | **Response:** ```json { "entity": "collection", "count": 1, "items": [ { "id": "plan_00000000000001", "entity": "plan", "interval": 1, "period": "weekly", "item": { "id": "item_00000000000001", "active": true, "name": "Test plan - Weekly", "description": "Description for the test plan - Weekly", "amount": 69900, "unit_amount": 69900, "currency": "INR", "type": "plan", "unit": null, "tax_inclusive": false, "hsn_code": null, "sac_code": null, "tax_rate": null, "tax_id": null, "tax_group_id": null, "created_at": 1580220492, "updated_at": 1580220492 }, "notes": { "notes_key_1": "Tea, Earl Grey, Hot", "notes_key_2": "Tea, Earl Grey⦠decaf." }, "created_at": 1580220492 } ] } ``` ------------------------------------------------------------------------------------------------------- ### Fetch particular plan ```php $api->plan->fetch($planId); ``` **Parameters:** | Name | Type | Description | |-------|-----------|--------------------------------------------------| | planId* | string | The id of the plan to be fetched | **Response:** ```json { "id":"plan_00000000000001", "entity":"plan", "interval":1, "period":"weekly", "item":{ "id":"item_00000000000001", "active":true, "name":"Test plan - Weekly", "description":"Description for the test plan - Weekly", "amount":69900, "unit_amount":69900, "currency":"INR", "type":"plan", "unit":null, "tax_inclusive":false, "hsn_code":null, "sac_code":null, "tax_rate":null, "tax_id":null, "tax_group_id":null, "created_at":1580220492, "updated_at":1580220492 }, "notes":{ "notes_key_1":"Tea, Earl Grey, Hot", "notes_key_2":"Tea, Earl Grey⦠decaf." }, "created_at":1580220492 } ``` ------------------------------------------------------------------------------------------------------- **PN: * indicates mandatory fields** <br> <br> **For reference click [here](https://razorpay.com/docs/api/subscriptions/#plans)**