lib/active_merchant/billing/gateways/adyen.rb
# we recommend setting up merchant-specific endpoints.
# https://docs.adyen.com/developers/api-manual#apiendpoints
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
def credit(money, payment, options = {})
        action = 'refundWithData'
        post = init_post(options)
        add_invoice(post, money, options)
        add_payment(post, payment, options, action)
        add_shopper_reference(post, options)
        add_network_transaction_reference(post, options)
        commit(action, post, options)
      end
def credit ( money , payment , options = { } ) action = 'refundWithData' post = init_post ( options ) add_invoice ( post , money , options ) add_payment ( post , payment , options , action ) add_shopper_reference ( post , options ) add_network_transaction_reference ( post , options ) commit ( action , post , options ) end
we recommend setting up merchant-specific endpoints.
we recommend setting up merchant - specific endpoints .
money
<not_specific>
payment
<not_specific>
options
<not_specific>