mollie v0.2.3 Mollie.Customers.Payments
Link to this section Summary
Functions
Creates a payment for the customer.
This endpoint is a shortcut for creating a payment with a customerId
parameter
Retrieve all payments linked to the customer
Link to this section Functions
Link to this function
create(client, customer_id, body)
create(Mollie.Client.t(), binary(), map()) :: Mollie.response()
Creates a payment for the customer.
This endpoint is a shortcut for creating a payment with a customerId
parameter.
For an example request body see Mollie.Payments.create2
.
Example
Mollie.Customers.Payments client, "cst_8wmqcHMN4U", payment_body
More info at: https://docs.mollie.com/reference/v2/customers-api/create-customer-payment
Link to this function
list(client, customer_id)
list(Mollie.Client.t(), binary()) :: Mollie.response()
Retrieve all payments linked to the customer.
Example
Mollie.Customers.Payments.list client, "cst_8wmqcHMN4U"
More info at: https://docs.mollie.com/reference/v2/customers-api/list-customer-payments