mollie v0.3.0 Mollie.Payments.Captures

Link to this section Summary

Functions

Retrieve a single capture by its ID. Note the original payment’s ID is needed as well.

Retrieve all captures for a certain payment.

Link to this section Functions

Link to this function

find(client, payment_id, id, params \\ %{})

Retrieve a single capture by its ID. Note the original payment’s ID is needed as well.

Example

Mollie.Payments.Captures.find client, "tr_7UhSN1zuXS", "cpt_4qqhO89gsT"

More info at: https://docs.mollie.com/reference/v2/captures-api/get-capture

Link to this function

list(client, payment_id, params \\ %{})

Retrieve all captures for a certain payment.

Example

Mollie.Payments.Captures.list client, "tr_7UhSN1zuXS"

More info at: https://docs.mollie.com/reference/v2/captures-api/list-captures