View Source Stripe.Terminal.OnboardingLink (stripity_stripe v3.3.1)
Returns redirect links used for onboarding onto Tap to Pay on iPhone.
Summary
Types
The options associated with the Apple Terms and Conditions link type.
Specific fields needed to generate the desired link type.
The terminal.onboarding_link type.
Functions
Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.
Types
@type apple_terms_and_conditions() :: %{ optional(:allow_relinking) => boolean(), optional(:merchant_display_name) => binary() }
The options associated with the Apple Terms and Conditions link type.
@type link_options() :: %{ optional(:apple_terms_and_conditions) => apple_terms_and_conditions() }
Specific fields needed to generate the desired link type.
@type t() :: %Stripe.Terminal.OnboardingLink{ link_options: term(), link_type: binary(), object: binary(), on_behalf_of: binary() | nil, redirect_url: binary() }
The terminal.onboarding_link type.
link_optionslink_typeThe type of link being generated.objecton_behalf_ofStripe account ID to generate the link for.redirect_urlThe link passed back to the user for their onboarding.
Functions
@spec create( params :: %{ optional(:expand) => [binary()], optional(:link_options) => link_options(), optional(:link_type) => :apple_terms_and_conditions, optional(:on_behalf_of) => binary() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.
Details
- Method:
post - Path:
/v1/terminal/onboarding_links