S76 Stripe v0.1.4 Stripe.Customer View Source

The Stripe Customer object.

See https://stripe.com/docs/api/curl#customers for further details.

Link to this section Summary

Functions

See https://stripe.com/docs/api/curl#create_customer

Link to this section Types

Link to this type t() View Source
t() :: %Stripe.Customer{account_balance: Decimal.t(), business_vat_id: nil | String.t(), created: DateTime.t(), currency: Stripe.currency_code(), default_source: Stripe.reference(Stripe.Source.t()), delinquent: boolean(), description: nil | String.t(), email: nil | String.t(), id: nil | String.t(), livemode: boolean(), metadata: Stripe.metadata(), shipping: nil | %{address: %{city: nil | String.t(), country: nil | String.t(), line1: nil | String.t(), line2: nil | String.t(), postal_code: nil | String.t(), state: nil | String.t()}, name: String.t(), phone: String.t()}}

Link to this section Functions

Link to this function create(params) View Source
create(map()) :: Stripe.API.response(t())

See https://stripe.com/docs/api/curl#create_customer