Mollie.Methods (mollie v0.7.2)
Retrieve enabled payment methods for the authorized organization.
To list all available payment methods use list_all/2
.
Link to this section Summary
Functions
Retrieve a single method by its ID. Note that if a method is not available on the website profile a status 404 Not found is returned. When the method is not enabled, a status 403 Forbidden is returned.
List all enabled payment methods.
List all available payment methods.
Link to this section Functions
find(client, id, params \\ %{})
Specs
find(Mollie.Client.t(), binary(), map()) :: Mollie.response()
Retrieve a single method by its ID. Note that if a method is not available on the website profile a status 404 Not found is returned. When the method is not enabled, a status 403 Forbidden is returned.
example
Example
Mollie.Methods.find client, "ideal"
More info at: https://docs.mollie.com/reference/v2/methods-api/get-method
list(client, params \\ %{})
Specs
list(Mollie.Client.t(), map()) :: Mollie.response()
list(Mollie.Client.t(), map()) :: Mollie.response()
List all enabled payment methods.
example
Example
Mollie.Methods.list client
More info at: https://docs.mollie.com/reference/v2/methods-api/list-methods
list_all(client, params \\ %{})
List all available payment methods.
example
Example
Mollie.Methods.list_all client
More info at: https://docs.mollie.com/reference/v2/methods-api/list-methods