What is the Playground?
The Kustom Playground is a dedicated test environment hosted by Klarna. It allows you to test your Kustom integration, experiment with new features, and simulate real-world scenarios before going live in production. You can access the Playground at https://docs.klarna.com.
Creating a Playground Account
Sign up for a test account to begin using the Playground environment.
To create your Playground account:
• Visit https://docs.klarna.com
• Click Log In at the top right corner
• Choose your Region
• Select Playground as the environment
• Click Sign Up
• Enter the email address you’ll use for the Playground
• Check your inbox for an activation email and follow the instructions to complete the setup
Generating Test API Credentials
Create API credentials to test your integration in the Playground.
To generate your test API credentials:
• Navigate to Settings in the bottom left menu
• Click Generate New Klarna API Key
• Follow the on-screen instructions to download your new API credentials
Make sure to store your credentials securely, as they are required for authenticating API requests in the Playground environment.
Testing with Sample Data
Use predefined customer and payment data to simulate integration scenarios.
You can test your integration using sample data provided by Kustom. This helps validate your workflows without using real customer information.
Use this data to simulate various checkout, payment, and post-purchase scenarios.