Sha256: 1f8ec9946504529b54cf67462cf64dab4c94d88a3a9662915ecc6835bfd38fdf

Contents?: true

Size: 667 Bytes

Versions: 8

Compression:

Stored size: 667 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class AccountLoginLinkService < StripeService
    # 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](https://stripe.com/connect/express-dashboard) and are connected to your platform.
    def create(account, params = {}, opts = {})
      request(
        method: :post,
        path: format("/v1/accounts/%<account>s/login_links", { account: CGI.escape(account) }),
        params: params,
        opts: opts,
        base_address: :api
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/account_login_link_service.rb
stripe-13.2.0 lib/stripe/services/account_login_link_service.rb
stripe-13.1.2 lib/stripe/services/account_login_link_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/account_login_link_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/account_login_link_service.rb
stripe-13.1.1 lib/stripe/services/account_login_link_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/account_login_link_service.rb
stripe-13.1.0 lib/stripe/services/account_login_link_service.rb