View Source Mollie.Customers (ueberauth_mollie v1.2.0)

Mollie Customers API

See: https://docs.mollie.com/reference/v2/customers-api/overview

Summary

Functions

Create a customer

Link to this function

delete_customer(customer_id)

View Source

Delete a customer

Link to this function

get_customer(customer_id)

View Source

Get a customer

Link to this function

list_customers(query \\ [])

View Source

Get all customers

Returns a list of customers created.

Example:

iex> Mollie.Customers.list_customers()
{:ok, %{...}}

Use pagination to limit the number of customers returned. The API returns a maximum of 250 customers per page. Use the from parameter to specify the first customer that should be returned. The limit parameter can be used to limit the number of customers returned.

Example

iex> client = Mollie.Client.new()
iex> Mollie.Customers.list_customers(%{from: "cst_kEn1PlbGa", limit: 5})
{:ok, %{...}}
Link to this function

update_customer(customer_id, params)

View Source

Update a customer