Mercadopago.Customer (mercadopago_sdk_elixir v0.1.0)

Copy Markdown View Source

Customer record management.

Summary

Functions

Creates a customer from customer_data.

Deletes a customer by id.

Fetches a customer by id.

Searches customers matching filters (query-string parameters).

Functions

create(client, customer_data, opts \\ [])

Creates a customer from customer_data.

delete(client, customer_id, opts \\ [])

Deletes a customer by id.

get(client, customer_id, opts \\ [])

Fetches a customer by id.

search(client, filters \\ nil, opts \\ [])

@spec search(Mercadopago.Client.t(), map() | nil, keyword()) ::
  Mercadopago.HTTP.response()

Searches customers matching filters (query-string parameters).

update(client, customer_id, customer_data, opts \\ [])

Updates a customer.