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 login link to the Stripe Express Dashboard where community owners can manage their account, view earnings, and handle payouts.

URL Parameters

community_id
integer
required
The ID of the community

Returns

Returns a dashboard login URL.
curl -X POST https://api.onlydrams.app/odis/v1/communities/1/refresh \
     -H "Authorization: Bearer $ACCESS_TOKEN"
{
  "accountLinkUrl": "https://connect.stripe.com/express/acct_1234567890/abcdefg123456"
}

Error Responses

{
  "message": "No Stripe account connected"
}

Notes

  • Authorization: Community owner or admin only
  • Requirement: Stripe account must be connected
  • Expiration: Dashboard link expires after a short time
  • Use Cases:
    • View earnings and transactions
    • Manage payout methods
    • Update account details
    • View payment disputes
  • Direct Login: Bypasses Stripe’s standard login flow