class Paymaster::Refund
Attributes
paymaster_id[RW]
refund_amount[RW]
refund_id[RW]
total[RW]
Public Instance Methods
endpoint()
click to toggle source
# File lib/paymaster/refund.rb, line 13 def endpoint "https://api.paymaster.ua/merchants/refund" end
params()
click to toggle source
# File lib/paymaster/refund.rb, line 17 def params { LMI_MERCHANT_ID: client.merchant_id, LMI_SYS_PAYMENT_NO: paymaster_id, RefundId: refund_id, ActionAmount: total, RefundAmount: refund_amount, LMI_HASH: "", }.compact end