GET
/
plans
curl --request GET \
  --url https://api.live.paisr.tech/{version}/plans \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "plans": [
      {
        "id": "pln_123456",
        "title": "Premium Service",
        "summary": "Get started with using our premium service.",
        "type": "standard",
        "currency": "SRD",
        "created_at": "2023-11-07T05:31:56Z",
        "options": [
          {
            "id": "plo_123456",
            "description": "Monthly",
            "active": true,
            "unit_price": 9.99,
            "billing_interval": 30,
            "trial_period": 0,
            "attributes": {},
            "created_at": "2023-11-07T05:31:56Z"
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Successfully retrieved the list of plans.
success
boolean
default:true
data
object