Module: Payoneer::Api::GetPaymentStatus

Includes:
Core
Defined in:
lib/payoneer/api/get_payment_status.rb

Overview

Payoneer::Api::GetPaymentStatus.request(payee_id: 1000011, payment_id: 1)

Class Method Summary collapse

Methods included from Core

included

Class Method Details

.to_api_params(payee_id: nil, payment_id: nil) ⇒ Object



6
7
8
9
10
11
# File 'lib/payoneer/api/get_payment_status.rb', line 6

def self.to_api_params(payee_id: nil, payment_id: nil)
  {
    p4: payee_id,
    p5: payment_id
  }
end