Skip to main content
POST
/
platform
/
beta
/
organization
/
stripe
cURL
curl -X POST 'https://api.useautumn.com/v1/platform/beta/organization/stripe' \
-H 'Authorization: Bearer am_sk_test_...' \
-H 'Content-Type: application/json' \
-d '{
  "organization_slug": "tenant-org",
  "test_account_id": "acct_1234567890",
  "live_account_id": "acct_0987654321"
}'
{
  "message": "<string>",
  "organization": {
    "id": "<string>",
    "slug": "<string>"
  }
}
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.

Validation

  • 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
I