Skip to Content
Omnibase

Get tenant by Stripe customer ID

GET
/api/v1/tenants/by-stripe-customer/{stripe_customer_id}

Authorization

ServiceKeyAuth
headerX-Service-Key<token>

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

Path Parameters

stripe_customer_id*string

Response Body

OK

application/json
  1. response
created_at*string
Formatdate-time
enterprise_id*string|null
enterprise_template*string|null
id*string
name*string
stripe_customer_id*string|null
type*string
updated_at*string
Formatdate-time
Example Request
curl -X GET 'https://api.omnibase.tech/api/v1/tenants/by-stripe-customer/string'
Example Response
{  "created_at": "2019-08-24T14:15:22Z",  "enterprise_id": "string",  "enterprise_template": "string",  "id": "string",  "name": "string",  "stripe_customer_id": "string",  "type": "string",  "updated_at": "2019-08-24T14:15:22Z"}