Method: Payline::Client#reverse
- Defined in:
- lib/payline/client.rb
#reverse(reserve_response, amount) ⇒ Object
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/payline/client.rb', line 29 def reverse(reserve_response, amount) params = { 'PRESENTATION.CURRENCY' => @config.currency, 'PAYMENT.CODE' => "CC.RV", 'PRESENTATION.AMOUNT' => amount, 'IDENTIFICATION.TRANSACTIONID'=> reserve_response.merchant_reference, 'IDENTIFICATION.REFERENCEID'=> reserve_response.transaction_id } do_request(params) end |