lib/stripe/resources/treasury/received_credit.rb in stripe-10.5.0.pre.beta.1 vs lib/stripe/resources/treasury/received_credit.rb in stripe-10.5.0
- old
+ new
@@ -14,9 +14,10 @@
end
class TestHelpers < APIResourceTestHelpers
RESOURCE_CLASS = ReceivedCredit
+ # 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 self.create(params = {}, opts = {})
request_stripe_object(
method: :post,
path: "/v1/test_helpers/treasury/received_credits",
params: params,