Complete guide to integrating Klarna Buy Now, Pay Later payments
For additional support, visit our Support Center
Flexible payment solutions for modern consumers
Pricing varies by market and payment method. Contact Klarna for detailed pricing information.
Visit Klarna Business Portal and apply for a merchant account.
Provide business documentation and complete the verification process.
Once approved, access the Klarna Developer Portal for API credentials.
Generate your API username and password from the merchant portal.
Add these environment variables to your .env file:
APP_KLARNA_USERNAME="your_api_username"
APP_KLARNA_PASSWORD="your_api_password"
Note: Use playground credentials for testing, production credentials for live transactions.
/api/finance/deposit/fiat/klarna/
Creates a new Klarna payment session
Request Body:
{
"amount": 100.00,
"currency": "USD",
"country": "US",
"locale": "en-US"
}
/api/finance/deposit/fiat/klarna/verify
Verifies and creates Klarna order after authorization
/api/finance/deposit/fiat/klarna/webhook
Handles Klarna webhook notifications for order updates
/api/finance/deposit/fiat/klarna/status
Checks the status of a Klarna order
Klarna provides a playground environment for testing. Use the playground API credentials for development and testing.
Test payments in the playground environment will not result in real charges. Use test credentials for development.