Builder
Properties
The client secret of the original payment intent.
The id of the payment/charge to be refunded. This can be either a Charge ID or a Payment Intent ID. If passing a Payment Intent ID, clientSecret must also be provided. Use ByChargeId or ByPaymentIntentId to create an instance of this builder.
Functions
Create a final instance of RefundParameters with the parameters that have been set with this builder.
Set of key-value pairs that you can attach to an object.
Connect only: Nullable 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.
Connect only: Nullable 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).