Sha256: fa9d7b1efaf12b7b62701fe712617af9ec5c7a1493b78fd483fd4cea1e1d66ca
Contents?: true
Size: 337 Bytes
Versions: 7
Compression:
Stored size: 337 Bytes
Contents
module Payments 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 end
Version data entries
7 entries across 7 versions & 1 rubygems