Class: Stripe::TestHelpers::Treasury::ReceivedDebitService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TestHelpers::Treasury::ReceivedDebitService
- Defined in:
- lib/stripe/services/test_helpers/treasury/received_debit_service.rb
Instance Method Summary collapse
-
#create(params = {}, opts = {}) ⇒ Object
Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#create(params = {}, opts = {}) ⇒ Object
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.
9 10 11 12 13 14 15 16 17 |
# File 'lib/stripe/services/test_helpers/treasury/received_debit_service.rb', line 9 def create(params = {}, opts = {}) request( method: :post, path: "/v1/test_helpers/treasury/received_debits", params: params, opts: opts, base_address: :api ) end |