ConfirmRefundParameters

Parameters for confirming a refund without collecting a payment method.

This feature is in private preview and is subject to change.

Use Builder to create an instance.

See also

Types

Link copied to clipboard
class Builder(paymentIntentId: String, clientSecret: String)

Properties

Link copied to clipboard
val amount: Long?

The amount to refund, in the currency's smallest unit.

Link copied to clipboard
@Transient
val clientSecret: String

The client secret for the PaymentIntent.

Link copied to clipboard
@Transient
val instructionsEmail: String?

Email address to send refund instructions to.

Link copied to clipboard
@Transient
val metadata: Map<String, String>?

Set of key-value pairs to attach to the Refund.

Link copied to clipboard
val paymentIntentId: String

The ID of the PaymentIntent to refund.

Link copied to clipboard

The reason for the refund.

Link copied to clipboard
val refundApplicationFee: Boolean?

Connect only: Whether to refund the application fee when refunding this payment.

Link copied to clipboard
val reverseTransfer: Boolean?

Connect only: Whether to reverse the transfer when refunding this payment.