id

abstract val id: String

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.