Mollie.Payments.Captures (mollie v0.7.2)
Captures are used for payments that have the authorize-then-capture flow. The only payment methods at the moment that have this flow are Klarna Pay later and Klarna Slice it.
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 \\ %{})
Specs
find(Mollie.Client.t(), binary(), binary(), map()) :: Mollie.response()
Retrieve a single capture by its ID. Note the original payment’s ID is needed as well.
example
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 \\ %{})
Specs
list(Mollie.Client.t(), binary(), map()) :: Mollie.response()
Retrieve all captures for a certain payment.
example
Example
Mollie.Payments.Captures.list client, "tr_7UhSN1zuXS"
More info at: https://docs.mollie.com/reference/v2/captures-api/list-captures