module Payments
Public Instance Methods
get_on_account_balance(current_user, payment_method_id, options={})
click to toggle source
# File lib/tessitura_rest/txn/payments.rb, line 2 def get_on_account_balance(current_user, payment_method_id, options={}) options.merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint("TXN/Payments/OnAccount?constituentId=#{current_user}&paymentMethodId=#{payment_method_id}"), options) JSON.parse(response.body) end