{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-country-apis-catalog/product-catalog/se/spar/sidebars.yaml","current-catalog-info":"current-catalog-info-/country-apis-catalog/product-catalog/se/spar/openapi"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Sandbox Environment","llmstxt":{"hide":true}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"sandbox-environment","__idx":0},"children":["Sandbox Environment"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SPAR sandbox environment is available for testing during development. The sandbox feature allows you to build integrations without fetching live SPAR data and incurring production charges."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sandbox-configuration","__idx":1},"children":["Sandbox Configuration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To use the sandbox environment, a dedicated Sandbox API service must be configured in Creditsafe's backend. Request and response structures mirror production behaviour."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authorization works the same way as in live environments using CONNECT Authenticate, but credentials and tokens are environment-specific and not interchangeable."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"SPAR Authorization"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In addition to CONNECT authentication, SPAR production usage requires valid SPAR authorization from the Swedish Tax Agency (Skatteverket). See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/country-apis-catalog/product-catalog/se/spar/documentation/access"},"children":["SPAR Access Authorization"]}," for details."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sandbox-urls","__idx":2},"children":["Sandbox URLs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SPAR Endpoint:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"https://se-webservice-sandbox.apps.creditsafe.com/spar\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Health Check:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"https://se-webservice-sandbox.apps.creditsafe.com/spar/health\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sandbox-parameter-behavior","__idx":3},"children":["Sandbox Parameter Behavior"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When testing in sandbox:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use test personal identity numbers provided by Creditsafe"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Test both successful and error scenarios"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verify handling of all response fields"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Test optional parameters such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["relation"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionid"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Best Practice"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Developers are encouraged to structure sandbox requests exactly as they will be sent in production. This simplifies deployment and reduces integration risk."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"setting-up-sandbox-access","__idx":4},"children":["Setting Up Sandbox Access"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To access the sandbox environment:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You will need a signed agreement with Creditsafe"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Our sales team will facilitate this agreement"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The integration team will provide sandbox credentials and test guidance"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Creditsafe integration team (",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"mailto:integration@creditsafe.se"},"children":["integration@creditsafe.se"]},") can provide test data support and onboarding assistance."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"transitioning-to-production","__idx":5},"children":["Transitioning to Production"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["At some point, you will need to transition the development environment to use the live services and verify that everything works as expected."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Caution: Letters of Disclosure"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When making this switch, be cautious to avoid unintentionally generating credit reports through services like GetData or CAS, as this could trigger the sending of letters of disclosure."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Important: Using the SPAR API itself never results in letters of disclosure being sent."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["When transitioning to production:"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Update your base URL from sandbox to production endpoints"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use production credentials and production CONNECT Authenticate tokens"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm SPAR authorization prerequisites are complete"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Validate request and response handling in a controlled rollout"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"disclaimer---sandbox-data-validity","__idx":6},"children":["Disclaimer - Sandbox Data Validity"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["While the sandbox environment mirrors the structure and format of responses from the live API, the data itself is synthetic and may not be logically consistent or realistic. This environment is intended solely for integration testing and development purposes."]}]},"headings":[{"value":"Sandbox Environment","id":"sandbox-environment","depth":1},{"value":"Sandbox Configuration","id":"sandbox-configuration","depth":2},{"value":"Sandbox URLs","id":"sandbox-urls","depth":2},{"value":"Sandbox Parameter Behavior","id":"sandbox-parameter-behavior","depth":2},{"value":"Setting Up Sandbox Access","id":"setting-up-sandbox-access","depth":2},{"value":"Transitioning to Production","id":"transitioning-to-production","depth":2},{"value":"Disclaimer - Sandbox Data Validity","id":"disclaimer---sandbox-data-validity","depth":2}],"frontmatter":{"seo":{"title":"Sandbox Environment"}},"lastModified":"2026-06-16T13:01:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/country-apis-catalog/product-catalog/se/spar/documentation/sandbox","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}