Module: Payoneer::Api::PerformPayoutPayment
- Includes:
- Core
- Defined in:
- lib/payoneer/api/perform_payout_payment.rb
Overview
Payoneer::Api::PerformPayoutPayment.request(payment_id: 1, payee_id: 2000002, amount: 20, description: ‘unkounkounko’, currency: ‘USD’, payment_date: ‘2015/10/2’)
Class Method Summary collapse
Methods included from Core
Class Method Details
.to_api_params(payment_id: nil, payee_id: nil, amount: nil, description: nil, payment_date: nil, currency: nil) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/payoneer/api/perform_payout_payment.rb', line 6 def self.to_api_params(payment_id: nil, payee_id: nil, amount: nil, description: nil, payment_date: nil, currency: nil) { p4: config.program_id, p5: payment_id, p6: payee_id, p7: amount, p8: description, p9: payment_date, currency: currency } end |