Class: Stripe::V2::Core::ClaimableSandboxService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/v2/core/claimable_sandbox_service.rb

Defined Under Namespace

Classes: CreateParams

Instance Method Summary collapse

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

Create an anonymous, claimable sandbox. This sandbox can be prefilled with data. The response will include a claim URL that allow a user to claim the account.



38
39
40
41
42
43
44
45
46
# File 'lib/stripe/services/v2/core/claimable_sandbox_service.rb', line 38

def create(params = {}, opts = {})
  request(
    method: :post,
    path: "/v2/core/claimable_sandboxes",
    params: params,
    opts: opts,
    base_address: :api
  )
end