Payment

Get all available subscription plans

Returns all active subscription plans from Stripe. This is a public endpoint that does not require authentication.

get/payments/stripe/plans

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/payments/stripe/plans
  • Auth: none declared

Response

Plans retrieved successfully

successboolean

Example response

{
  "success": true,
  "data": {
    "plans": [
      {
        "productId": "prod_1234567890",
        "productName": "Pro Plan",
        "productDescription": "Full access to all features",
        "prices": [
          {
            "priceId": "price_1234567890",
            "amount": 2500,
            "currency": "USD",
            "interval": "month",
            "intervalCount": 1,
            "type": "recurring"
          }
        ]
      }
    ],
    "totalPlans": 4
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.