Sha256: 869369661f8e3227d962dd10c11b070c32ba73c96a1983b3cd0c4413f698295e
Contents?: true
Size: 764 Bytes
Versions: 19
Compression:
Stored size: 764 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module Treasury class TransactionService < StripeService # Retrieves a list of Transaction objects. def list(params = {}, opts = {}) request( method: :get, path: "/v1/treasury/transactions", params: params, opts: opts, base_address: :api ) end # Retrieves the details of an existing Transaction. def retrieve(id, params = {}, opts = {}) request( method: :get, path: format("/v1/treasury/transactions/%<id>s", { id: CGI.escape(id) }), params: params, opts: opts, base_address: :api ) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems