Conekta::OrderRefundRequest

October 11, 2024 ยท View on GitHub

Properties

NameTypeDescriptionNotes
amountIntegerAmount to be refunded in cents
expires_atInteger[optional]
reasonStringReason for the refund

Example

require 'conekta'

instance = Conekta::OrderRefundRequest.new(
  amount: 500,
  expires_at: 1553273553,
  reason: suspected_fraud
)