View Source ExOAPI.Stripe.SDK.AccountLinks (exoapi_stripe v0.1.4)

Link to this section Summary

Functions

description: <p>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.</p>

Link to this section Functions

Link to this function

post_account_links(client, body)

View Source
@spec post_account_links(
  client :: ExOAPI.Client.t(),
  body ::
    %{
      type: String.t() | :account_onboarding | :account_update,
      return_url: String.t(),
      refresh_url: String.t(),
      expand: [String.t()],
      collect: String.t() | :currently_due | :eventually_due,
      account: String.t()
    }
    | map()
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.AccountLink.t()
   | map()}
  | {:error, any()}

description: <p>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.</p>