Class: Stripe::AccountLoginLinkService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/account_login_link_service.rb

Instance Method Summary collapse

Methods inherited from StripeService

#initialize, #request, #request_stream

Constructor Details

This class inherits a constructor from Stripe::StripeService

Instance Method Details

#create(account, params = {}, opts = {}) ⇒ Object

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](stripe.com/connect/express-dashboard) and are connected to your platform.



9
10
11
12
13
14
15
16
17
# File 'lib/stripe/services/account_login_link_service.rb', line 9

def create(, params = {}, opts = {})
  request(
    method: :post,
    path: format("/v1/accounts/%<account>s/login_links", { account: CGI.escape() }),
    params: params,
    opts: opts,
    base_address: :api
  )
end