Method: ActiveMerchant::Billing::PaypalCommonAPI#transfer
- Defined in:
- lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
#transfer(*args) ⇒ Object
Transfer money to one or more recipients.
gateway.transfer 1000, 'bob@example.com',
:subject => "The money I owe you", :note => "Sorry it's so late"
gateway.transfer [1000, 'fred@example.com'],
[2450, 'wilma@example.com', :note => 'You will receive another payment on 3/24'],
[2000, 'barney@example.com'],
:subject => "Your Earnings", :note => "Thanks for your business."
117 118 119 |
# File 'lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb', line 117 def transfer(*args) commit 'MassPay', build_mass_pay_request(*args) end |