Sha256: df61de5143970a6e38aa7cc04e6d42d4779734aa239f534bb029962732bfea6d
Contents?: true
Size: 1.05 KB
Versions: 19
Compression:
Stored size: 1.05 KB
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe class CustomerCashBalanceTransactionService < StripeService # Returns a list of transactions that modified the customer's [cash balance](https://stripe.com/docs/payments/customer-balance). def list(customer, params = {}, opts = {}) request( method: :get, path: format("/v1/customers/%<customer>s/cash_balance_transactions", { customer: CGI.escape(customer) }), params: params, opts: opts, base_address: :api ) end # Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://stripe.com/docs/payments/customer-balance). def retrieve(customer, transaction, params = {}, opts = {}) request( method: :get, path: format("/v1/customers/%<customer>s/cash_balance_transactions/%<transaction>s", { customer: CGI.escape(customer), transaction: CGI.escape(transaction) }), params: params, opts: opts, base_address: :api ) end end end
Version data entries
19 entries across 19 versions & 1 rubygems