Sha256: 1d216017f0eec3c82566136ed3b5f4c47e02bd91bb82aa28cfd746e2d33047ca

Contents?: true

Size: 638 Bytes

Versions: 13

Compression:

Stored size: 638 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module TestHelpers
    module Treasury
      class ReceivedDebitService < StripeService
        # Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can't directly create ReceivedDebits initiated by third parties.
        def create(params = {}, opts = {})
          request(
            method: :post,
            path: "/v1/test_helpers/treasury/received_debits",
            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_debit_service.rb
stripe-13.2.0 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.1.2 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.1.1 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.1.0 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.0.2 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.0.1 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/test_helpers/treasury/received_debit_service.rb
stripe-13.0.0 lib/stripe/services/test_helpers/treasury/received_debit_service.rb