Handles legacy Connect Account endpoints.
PaperTiger intentionally models /v1/accounts first rather than Accounts v2
because current Stripe client libraries still commonly use the v1 resource.
Accounts are platform-owned: they are stored in the sandbox namespace, not in
the connected account request scope.
Summary
Functions
Creates a connected account.
Deletes a connected account from the platform account.
Lists accounts connected to the platform.
Retrieves a connected account by ID.
Updates mutable account fields and requested capabilities.
Functions
@spec create(Plug.Conn.t()) :: Plug.Conn.t()
Creates a connected account.
@spec delete(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Deletes a connected account from the platform account.
@spec list(Plug.Conn.t()) :: Plug.Conn.t()
Lists accounts connected to the platform.
@spec retrieve(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Retrieves a connected account by ID.
@spec update(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Updates mutable account fields and requested capabilities.