View Source Stripe.LoginLink (stripity_stripe v3.2.0)

Login Links are single-use login link for an Express account to access their Stripe dashboard.

Summary

Types

t()

The login_link type.

Functions

Creates a single-use login link for an Express account to access their Stripe 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 single-use login link for an Express account to access their Stripe dashboard.

You may only create login links for Express accounts connected to your platform.

Details

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