---
title: "Applied from Spala Step Script."
method: POST
path: "/api/organizations/{organizationId}/billing-portal"
tags: ["organizations"]
---

# Applied from Spala Step Script.

`POST /api/organizations/{organizationId}/billing-portal`

## Request

- Base URL: `https://api.spala.ai/api`
- URL: `https://api.spala.ai/api/api/organizations/{organizationId}/billing-portal`
- Auth: HTTP bearer

## Path parameters

- `organizationId` string, required

## Response `200`

Successful response

- OrganizationStripeCustomers
  - `id` integer
  - `created_at` string, date-time
  - `organization_id` string, required: Foreign key referencing organizations
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized - authentication required

---

[API](https://skmtc.dev/spala/apis/admin.md) · [All operations](https://skmtc.dev/spala/apis/admin/llms.txt) · [OpenAPI document](https://skmtc.dev/spala/apis/admin/revisions/723cc50571ee?raw)
