Class: Stripe::AccountLinkService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::AccountLinkService
- Defined in:
- lib/stripe/services/account_link_service.rb
Instance Method Summary collapse
-
#create(params = {}, opts = {}) ⇒ Object
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.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#create(params = {}, opts = {}) ⇒ Object
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.
7 8 9 10 11 12 13 14 15 |
# File 'lib/stripe/services/account_link_service.rb', line 7 def create(params = {}, opts = {}) request( method: :post, path: "/v1/account_links", params: params, opts: opts, base_address: :api ) end |