stripity_stripe v2.0.0-alpha.3 Stripe.Account

Work with Stripe account objects.

You can:

  • Retrieve your own account
  • Retrieve an account with a specified id

This module does not yet support managed accounts.

Does not yet render lists or take options.

Stripe API reference: https://stripe.com/docs/api#account

Summary

Functions

Returns the Stripe response mapping of keys to types

Retrieve your own account without options

Retrieve your own account with options

Retrieve an account with a specified id

Types

t()
t :: %Stripe.Account{business_name: term, business_primary_color: term, business_url: term, charges_enabled: term, country: term, default_currency: term, details_submitted: term, display_name: term, email: term, id: term, managed: term, metadata: term, statement_descriptor: term, support_email: term, support_phone: term, support_url: term, timezone: term, transfers_enabled: term}

Functions

response_mapping()
response_mapping :: Keyword.t

Returns the Stripe response mapping of keys to types.

retrieve()
retrieve :: {:ok, t} | {:error, Stripe.api_error_struct}

Retrieve your own account without options.

retrieve(opts)
retrieve(list) :: {:ok, t} | {:error, Stripe.api_error_struct}

Retrieve your own account with options.

retrieve(id, opts \\ [])
retrieve(binary, list) ::
  {:ok, t} |
  {:error, Stripe.api_error_struct}

Retrieve an account with a specified id.