APIReferenceBilling
Manage the subscription
Owner or admin. Returns a Stripe customer portal URL for invoices, payment methods, and cancellation.
Owner or admin. Returns a Stripe customer portal URL for invoices, payment methods, and cancellation.
Authorization
bearerAuth AuthorizationBearer <token>
A Supabase Auth user access token for the signed-in SignalDock user, sent as Authorization: Bearer <token>. Paste one from a signed-in session, or obtain one through the oauth2 scheme; the API accepts either.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/billing/portal" \ -H "Content-Type: application/json" \ -d '{ "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "returnTo": "http://example.com" }'{ "url": "http://example.com"}