# `Stripe.Resources.Terminal.Reader.Action.RefundPayment`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/terminal/reader.ex#L495)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.Terminal.Reader.Action.RefundPayment{
  amount: integer() | nil,
  charge: String.t() | Stripe.Resources.Charge.t() | nil,
  metadata: %{required(String.t()) =&gt; String.t()} | nil,
  payment_intent: String.t() | Stripe.Resources.PaymentIntent.t() | nil,
  reason: String.t() | nil,
  refund: String.t() | Stripe.Resources.Refund.t() | nil,
  refund_application_fee: boolean() | nil,
  refund_payment_config:
    Stripe.Resources.Terminal.Reader.Action.RefundPayment.RefundPaymentConfig.t()
    | nil,
  reverse_transfer: boolean() | nil
}
```

* `amount` - The amount being refunded.
* `charge` - Charge that is being refunded.
* `metadata` - Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* `payment_intent` - Payment intent that is being refunded.
* `reason` - The reason for the refund. Possible values: `duplicate`, `fraudulent`, `requested_by_customer`.
* `refund` - Unique identifier for the refund object.
* `refund_application_fee` - Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
* `refund_payment_config`
* `reverse_transfer` - Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
