header when making requests to protected resources.
Example:
Authorization: Bearer ********************
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/admin/plans'
Responses
🟢200OK
application/json
Body
object {0}
Examples
{"message":"all plans","result":[{"created_at":"2024-03-30T14:21:35+06:00","updated_at":"2024-03-30T14:21:35+06:00","name":"Basic Plan","code":"BSC_PLN","type":"public","interval":"monthly","currency":"USD","status":"active","external_plan_id":null,"description":"This is a basic plan.","amount":1000,"trial_period_in_days":14,"country":"US","tax_rate":5,"plan_matrix":"{\"key\": \"value\"}","deleted_at":null,"id":"dad08e78-50f9-4cb7-beb4-d75a9ccc040d","advance_payment":false}],"success":true}