Skip to main content
POST
TypeScript
Updates a platform organization’s Stripe Connect configuration. Associates a Stripe account ID with the organization using your master Stripe credentials.

When to Use This Endpoint

Use this endpoint when you want to manage Stripe accounts on behalf of your tenants using your own Stripe Connect credentials, rather than having them go through the OAuth flow. This is for platforms that already operate their own Stripe Connect integration. It is not needed for tenants connecting through Autumn’s Stripe OAuth flow, and it cannot grant access to an arbitrary Stripe account just from its ID.

Validation

  • Authenticate from your backend with your master organization’s Autumn secret key and platform:write scope. Do not expose that key to tenants.
  • organization_slug must resolve to an organization created by your authenticated master organization. Other platforms’ organizations cannot be updated.
  • Your organization must have the corresponding Stripe secret key connected (test/live)
  • The endpoint validates that your master Stripe account can access the provided account ID
  • If validation fails, you’ll receive a descriptive error message
The master_org_id is automatically set to your organization ID. All Stripe operations for the tenant will use your master Stripe credentials with the tenant’s account ID.
At least one of test_account_id or live_account_id must be provided in the request.

Authorizations

Authorization
string
header
required

Autumn API key with Bearer prefix

Body

application/json
organization_slug
string
required

The slug of the organization (without the org ID prefix).

test_account_id
string

Stripe account ID for test environment (e.g., acct_xxx).

live_account_id
string

Stripe account ID for live environment (e.g., acct_xxx).

Response

Stripe configuration updated successfully

message
string

Success message.

organization
object