Stripe.AccountLink (stripity_stripe v2.17.2) View Source

Work with Stripe Connect account link objects.

You can:

  • Create an account link

Stripe API reference: https://stripe.com/docs/api/account_links

Link to this section Summary

Functions

Create an account link.

Link to this section Types

Specs

t() :: %Stripe.AccountLink{
  created: Stripe.timestamp(),
  expires_at: Stripe.timestamp(),
  object: String.t(),
  url: String.t()
}

Link to this section Functions

Link to this function

create(params, opts \\ [])

View Source

Specs

create(params, Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()}
when params: %{
       :account => Stripe.Account.t() | Stripe.id(),
       :refresh_url => String.t(),
       :return_url => String.t(),
       :type => String.t(),
       optional(:collect) => String.t()
     }

Create an account link.