View Source Stripe.LoginLink (stripity_stripe v3.3.1)

Login Links are single-use URLs that takes an Express account to the login page for their Stripe dashboard. A Login Link differs from an Account Link in that it takes the user directly to their Express dashboard for the specified account

Summary

Types

t()

The login_link type.

Functions

Creates a login link for a connected account to access the Express Dashboard.

Types

@type t() :: %Stripe.LoginLink{created: integer(), object: binary(), url: binary()}

The login_link type.

  • created Time at which the object was created. Measured in seconds since the Unix epoch.
  • object String representing the object's type. Objects of the same type share the same value.
  • url The URL for the login link.

Functions

Link to this function

create(account, params \\ %{}, opts \\ [])

View Source
@spec create(
  account :: binary(),
  params :: %{optional(:expand) => [binary()]},
  opts :: Keyword.t()
) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}

Creates a login link for a connected account to access the Express Dashboard.

You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

Details

  • Method: post
  • Path: /v1/accounts/{account}/login_links