Sha256: a4393499339de03239feec4c3bee5ac5646c6a4b3c902371f5b8f14dff6c7cfc

Contents?: true

Size: 642 Bytes

Versions: 13

Compression:

Stored size: 642 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module TestHelpers
    module Treasury
      class ReceivedCreditService < StripeService
        # Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can't directly create ReceivedCredits initiated by third parties.
        def create(params = {}, opts = {})
          request(
            method: :post,
            path: "/v1/test_helpers/treasury/received_credits",
            params: params,
            opts: opts,
            base_address: :api
          )
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.2.0 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.1.2 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.1.1 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.1.0 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.0.2 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.0.1 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/test_helpers/treasury/received_credit_service.rb
stripe-13.0.0 lib/stripe/services/test_helpers/treasury/received_credit_service.rb