#DaanVDH

1 messages · Page 1 of 1 (latest)

wicked oakBOT
open gull
#

Hi, taking a look here

light basin
#

Hello, that's okay 🙂

open gull
light basin
#

Yeah, It does. I just found it weird because it's in the official Go SDK

#

newest version

open gull
#

Let me look at that document

light basin
#
type RefundParams struct {
    Params `form:"*"`
    // A positive integer representing how much to refund.
    Amount *int64  `form:"amount"`
    Charge *string `form:"charge"`
    // Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
    Currency *string `form:"currency"`
    // Customer whose customer balance to refund from.
    Customer *string `form:"customer"`
    // Address to send refund email, use customer email if not specified
    InstructionsEmail *string `form:"instructions_email"` <----- HERE
    // Origin of the refund
    Origin               *string `form:"origin"`
    PaymentIntent        *string `form:"payment_intent"`
    Reason               *string `form:"reason"`
    RefundApplicationFee *bool   `form:"refund_application_fee"`
    ReverseTransfer      *bool   `form:"reverse_transfer"`
}
rare meteor
#

@light basin the instructions_email parameter is specific for what we call "out of scheme refunds" when you accepted a bank transfer payment and need to collect bank details to send the money back.
It's irrelevant to a card payment for example. So in your case you can't use that parameter at all.

light basin