Retrieve and list Mollie payment chargebacks.
All functions return result tuples. They do not raise for ordinary API, transport, or validation failures.
{:ok, chargeback} = MollieEx.Chargebacks.get(client, "tr_123", "chb_123")
{:ok, chargebacks} = MollieEx.Chargebacks.list(client, "tr_123", limit: 10)
Summary
Functions
Retrieves a Mollie chargeback by payment ID and chargeback ID.
Lists Mollie chargebacks for a payment.
Types
@type get_option() :: {:embed, String.t()} | {:testmode, boolean()} | {:pool_timeout, pos_integer()} | {:receive_timeout, pos_integer()} | {:request_timeout, pos_integer()}
@type list_option() :: {:from, String.t()} | {:limit, pos_integer()} | {:embed, String.t()} | {:testmode, boolean()} | {:pool_timeout, pos_integer()} | {:receive_timeout, pos_integer()} | {:request_timeout, pos_integer()}
Functions
@spec get(MollieEx.Client.t(), String.t(), String.t(), [get_option()]) :: {:ok, MollieEx.Chargeback.t()} | {:error, MollieEx.Error.t()}
Retrieves a Mollie chargeback by payment ID and chargeback ID.
@spec list(MollieEx.Client.t(), String.t(), [list_option()]) :: {:ok, MollieEx.List.t(MollieEx.Chargeback.t())} | {:error, MollieEx.Error.t()}
Lists Mollie chargebacks for a payment.