Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#update_customer_payment_method

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

#update_customer_payment_method(options = {}) ⇒ Object

Update a customer payment method.

Required

  • :method_id – method_id to update

Options

  • :method – credit_card or check

  • :name – optional name/label for the method

  • :sort – an integer value specifying the backup sort order, 0 is default

  • :verify – set true to run auth_only verification; throws fault if cannot verify

Response

  • #message – hash of payment method



534
535
536
537
538
539
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 534

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

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