StripeManaged.Customer (StripeManaged v0.1.0)

Copy Markdown View Source

Retrieve customer records from Stripe.

Customers are created automatically by Checkout Sessions. Managed Payments handles customer communication (receipts, renewal notices) through Link.

Note: If a customer requests data deletion, Stripe cancels their subscriptions and deletes associated objects.

Summary

Functions

Returns a lazy Stream of all customers, auto-paginating.

Retrieves a customer by ID.

Functions

list(params \\ %{}, opts \\ [])

@spec list(
  map(),
  keyword()
) :: StripeManaged.Client.response()

Lists customers.

list_all(params \\ %{}, opts \\ [])

@spec list_all(
  map(),
  keyword()
) :: Enumerable.t()

Returns a lazy Stream of all customers, auto-paginating.

retrieve(id, opts \\ [])

@spec retrieve(
  String.t(),
  keyword()
) :: StripeManaged.Client.response()

Retrieves a customer by ID.