v1

latestOpenAPI 3.1.02026-07-24170121.2 MB

Retrieve a Plan

This API provides information about a plan.

get/v1/plans/{plan_id}

Path parameters

plan_idstring required

plan_id here retrieves the information of the unique Plan ID.

Response

200

Example response

{
  "data": {
    "object": "Plan",
    "plan_id": "plan_7a4b8e94",
    "amount": 99,
    "interval": "day",
    "interval_count": 1,
    "name": "Test",
    "statement_descriptor": "dfghdfhg",
    "trial_period_days": "0",
    "currency": "usd",
    "created_at": 1724503311,
    "updated_at": 1724503311
  }
}