📣 this endpoint provides details of a plan that is publicly available. In this GET request plan Code has to be provided in the request url And in the response all the details for the plan will be provided✳ List of URL parameters
Plan_Code = a small string (e.g. monthly-01, daily-01, year-01)
📢 Info message : Here URL is contructed like GET/organization/subscribe/plans/{Plan_Code}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
planCode
stringÂ
required
Example:
daily-01
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://localhost:8080/v1/organization/subscribe/plans/daily-01'
Responses
🟢200OK
application/json
Body
object {0}
Example
{"message":"Subscription Is Ready To Be Purchased","result":{"name":"Monthly","code":"monthly-01","type":"public","interval":"monthly","currency":"USD","status":"active","description":"This is a description for Plan A","amount":1000,"trial_period_in_days":0,"country":"US","tax_rate":"usa_standard_vat-01","plan_matrix":"{\"feature1\": \"value1\", \"feature2\": \"value2\"}","advance_payment":false,"grace_period":0},"success":true}