class Afterpay::Components::Refund

Attributes

amount[RW]

@attribute amount @return [Afterpay::Components::Money] The refund amount.

merchant_reference[RW]

@attribute merchant_reference @return [String] The merchant's refund id / reference that this refund corresponds to.

refund_merchant_reference[RW]

@attribute refund_merchant_reference @return [String] A unique reference for the individual refund event. If provided, the value will appear in the daily settlement file as “Payment Event ID”. Limited to 128 characters.

request_id[RW]

@attribute request_id @return [String] A unique request ID, required for safe retries. It is recommended that the merchant generate a UUID for each unique refund.