Skip to Content
Omnibase

Get enterprise prices by ID

GET
/api/v1/stripe/admin/enterprise/prices/by-id/{enterprise_id}

Authorization

ServiceKeyAuth
headerX-Service-Key<token>

Admin service-to-service key. Trusted for all routes and skips permission checks.

Path Parameters

enterprise_id*string

Response Body

OK

application/json
  1. response
count*integer
Formatint64
prices*array<>|null
Example Request
curl -X GET 'https://api.omnibase.tech/api/v1/stripe/admin/enterprise/prices/by-id/string'
Example Response
{  "count": 0,  "prices": [    {      "amount": 0.1,      "billing_scheme": "string",      "currency": "string",      "default": true,      "enterprise_id": "string",      "enterprise_template": "string",      "id": "string",      "interval": "string",      "interval_count": 0,      "metadata": {        "property1": "string",        "property2": "string"      },      "meter": "string",      "public": true,      "stripe_id": "string",      "tax_included_in_price": true,      "tiers": [        {          "flat_amount": 0,          "unit_amount": 0,          "up_to": null        }      ],      "tiers_mode": "string",      "ui": {        "billing_period": "string",        "display_name": "string",        "features": [          "string"        ],        "limits": [          {            "text": "string",            "unit": "string",            "value": 0.1          }        ],        "price_display": {          "custom_text": "string",          "show_currency": true,          "suffix": "string"        }      },      "usage_type": "string"    }  ]}