Mercadopago.Refund (mercadopago_sdk_elixir v0.1.0)

Copy Markdown View Source

Full or partial payment refunds.

Summary

Functions

Refunds the given payment; omit refund_data for a full refund.

Lists refunds for the given payment.

Functions

create(client, payment_id, refund_data \\ nil, opts \\ [])

@spec create(Mercadopago.Client.t(), String.t(), map() | nil, keyword()) ::
  Mercadopago.HTTP.response()

Refunds the given payment; omit refund_data for a full refund.

list(client, payment_id, opts \\ [])

Lists refunds for the given payment.