Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves the current status of the community’s Stripe Connect account.

URL Parameters

community_id
integer
required
The ID of the community

Returns

Returns the Stripe account status object.
curl -X GET https://api.onlydrams.app/odis/v1/communities/1/stripe-account \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "connected": true,
  "accountId": "acct_1234567890",
  "detailsSubmitted": true,
  "chargesEnabled": true,
  "payoutsEnabled": true
}
{
  "connected": false
}
{
  "connected": false,
  "accountId": "acct_1234567890",
  "detailsSubmitted": false,
  "chargesEnabled": false,
  "payoutsEnabled": false
}

Response Fields

connected
boolean
Whether the account is fully connected and operational
accountId
string
Stripe Connect account ID (if account exists)
detailsSubmitted
boolean
Whether owner has completed onboarding
chargesEnabled
boolean
Whether the account can accept payments
payoutsEnabled
boolean
Whether the account can receive payouts

Notes

  • Authorization: Community owner or admin only
  • Connected: True when detailsSubmitted and chargesEnabled are both true
  • Required: Account must be connected before accepting subscriptions