This Method will help us to get information regarding the studio.
Endpoint | Description |
---|---|
GET rest/getStudioPlanLists | Get all plan details and payment gateways |
It will give all the active plans and its details for the studio. Also this will provide the active payment gateways details.
Name | Required? | Type | Description |
---|---|---|---|
authToken | Optional | String | Valid authToken |
{ "code": 200, "status": "OK", "plans": [ { "id": "35", "name": "planName", "short_desc": "Plan description", "duration": null, "recurrence": "", "frequency": " ", "price": "4.99", "startup_discount": null, "monthly_fee": null, "studio_id": "70123123", "status": "1", "trial_recurrence": "", "trial_period": "0", "is_post_paid": "0", "ip": null, "created_by": null, "created_date": null, "last_updated_by": null, "last_updated_date": null } ], "gateways": { "id": "3", "short_code": "firstdata", "studio_id": "70", "api_username": "AI1578-05", "api_password": "4cfbpr5x3k9yux227g5a612p800xyae8", "api_signature": "", "api_version": null, "api_mode": "sandbox", "status": "1", "ip": null, "created_by": null, "created_date": null, "last_updated_by": null, "last_updated_date": null, "gateway_id": "32323" }, "msg": "Payment is enabled & plan exists!" }