Sha256: d6ae85750617c6a44eb102c08f321b2157dec6c528a284983bf3b462c60147ae

Contents?: true

Size: 514 Bytes

Versions: 13

Compression:

Stored size: 514 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class AccountLinkService < StripeService
    # Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.
    def create(params = {}, opts = {})
      request(
        method: :post,
        path: "/v1/account_links",
        params: params,
        opts: opts,
        base_address: :api
      )
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/account_link_service.rb
stripe-13.2.0 lib/stripe/services/account_link_service.rb
stripe-13.1.2 lib/stripe/services/account_link_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/account_link_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/account_link_service.rb
stripe-13.1.1 lib/stripe/services/account_link_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/account_link_service.rb
stripe-13.1.0 lib/stripe/services/account_link_service.rb
stripe-13.0.2 lib/stripe/services/account_link_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/account_link_service.rb
stripe-13.0.1 lib/stripe/services/account_link_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/account_link_service.rb
stripe-13.0.0 lib/stripe/services/account_link_service.rb