Autumn's V2 API is live in beta. We recommend using this version.
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organization_slug: '<string>',
test_account_id: '<string>',
live_account_id: '<string>'
})
};
fetch('https://api.useautumn.com/v1/platform/organizations/stripe', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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.
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organization_slug: '<string>',
test_account_id: '<string>',
live_account_id: '<string>'
})
};
fetch('https://api.useautumn.com/v1/platform/organizations/stripe', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>",
"organization": {
"id": "<string>",
"slug": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs-v1.useautumn.com/llms.txt
Use this file to discover all available pages before exploring further.
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.test_account_id or live_account_id must be provided in the request.Autumn API key with Bearer prefix