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.

Generates a Stripe Connect onboarding link for account setup. Creates a new Stripe account if one doesn’t exist.

URL Parameters

community_id
integer
required
The ID of the community

Returns

Returns an onboarding URL to redirect the user to.
curl -X POST https://api.onlydrams.app/odis/v1/communities/1/onboard \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "accountLinkUrl": "https://connect.stripe.com/setup/s/acct_1234567890/abcdefg123456"
}

Notes

  • Authorization: Community owner or admin only
  • Account Creation: Creates Stripe Connect account if it doesn’t exist
  • Expiration: Onboarding URL expires after a short time (typically 1 hour)
  • Redirect: User must complete onboarding in Stripe’s interface
  • Return URL: Configure return URLs in Stripe dashboard settings
  • Multi-Use: Can be called multiple times if onboarding is incomplete