Skip to main content

GetPlan retrieves detailed information about a specific subscription plan.

GET 

/api/v1/billing/plans/:id

Use this endpoint to display complete plan details including features, limits, and pricing information before a user subscribes.

Parameters​

  • id: The unique identifier of the plan (required, must be > 0)

Response​

Returns the complete Plan object with all fields populated.

Errors​

  • NOT_FOUND: Plan with the specified ID does not exist
  • INVALID_ARGUMENT: Invalid plan ID (must be > 0)
  • UNAUTHENTICATED: Missing or invalid authentication token

Request​

Responses​

A successful response.