A claimable sandbox represents a Stripe sandbox that is anonymous. When it is created, it can be prefilled with specific metadata, such as email, name, or country. Claimable sandboxes can be claimed through a URL. When a user claims a sandbox through this URL, it will prompt them to create a new Stripe account. Or, it will allow them to claim this sandbox in their existing Stripe account. Claimable sandboxes have 60 days to be claimed. After this expiration time has passed, if the sandbox is not claimed, it will be deleted.
Attributes
- idstring
Unique identifier for the Claimable sandbox.
- objectstring, value is "v2.core.claimable_sandbox"
String representing the object’s type. Objects of the same type share the same value of the object field.
- api_
keysobject Keys that can be used to set up an integration for this sandbox and operate on the account.
- claim_
urlstring URL for user to claim sandbox into their existing Stripe account.
- createdtimestamp
When the sandbox is created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - prefillobject
Values prefilled during the creation of the sandbox.
{ "api_keys": { "mcp": "rk_test_51RzPFWRlMpFp5.....", "publishable": "pk_test_51RzPFWRlMpFp5.....", "secret": "sk_test_51RzPFWRlMpFp5....." }, "claim_url": "https://dashboard.stripe.com/claim_sandbox/YWNjdF8xUnpQRldSb.....", "created": "2025-01-01T00:00:00.000Z", "id": "clmsbx_test_SvFlT3BhvSm2v1", "object": "v2.core.claimable_sandbox", "prefill": { "email": "jenny.rosen@stripe.com", "name": "Jenny Sandbox", "country": "us" }, "livemode": false}
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.
Learn more about calling API v2 endpoints.Parameters
- enable_
mcp_ accessbooleanRequired If true, returns a key that can be used with Stripe’s MCP server.
- prefillobjectRequired
Values that are prefilled when a user claims the sandbox.
Returns
Response attributes
- idstring
Unique identifier for the Claimable sandbox.
- objectstring, value is "v2.core.claimable_sandbox"
String representing the object’s type. Objects of the same type share the same value of the object field.
- api_
keysobject Keys that can be used to set up an integration for this sandbox and operate on the account.
- claim_
urlstring URL for user to claim sandbox into their existing Stripe account.
- createdtimestamp
When the sandbox is created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - prefillobject
Values prefilled during the creation of the sandbox.
When the maximum number of sandboxes has been created for a given platform.
{ "api_keys": { "mcp": "rk_test_51RzPFWRlMpFp5.....", "publishable": "pk_test_51RzPFWRlMpFp5.....", "secret": "sk_test_51RzPFWRlMpFp5....." }, "claim_url": "https://dashboard.stripe.com/claim_sandbox/YWNjdF8xUnpQRldSb.....", "created": "2025-01-01T00:00:00.000Z", "id": "clmsbx_test_SvFlT3BhvSm2v1", "object": "v2.core.claimable_sandbox", "prefill": { "email": "jenny.rosen@stripe.com", "name": "Jenny Sandbox", "country": "us" }, "livemode": false}