Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#get_customer_payment_method

Defined in:
lib/active_merchant/billing/gateways/usa_epay_advanced.rb

#get_customer_payment_method(options = {}) ⇒ Object

Retrieve one of the payment methods belonging to a customer

Required

  • :customer_number

  • :method_id

Response

  • #message – hash of payment method



513
514
515
516
517
518
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 513

def get_customer_payment_method(options = {})
  requires! options, :customer_number, :method_id

  request = build_request(__method__, options)
  commit(__method__, request)
end