Enhance API security by enabling IP address restrictions in Klarna, allowing only approved IPs to access your integration—starting with validation mode and moving to full enforcement to block unauthorized traffic.
To enhance the security of API integrations, Klarna supports IP address restriction, allowing partners to define an allow-list of IP addresses from which requests are permitted. All requests originating from outside the defined list will be blocked.
Acquiring Partners can specify up to 100 IP addresses, including both IPv4 and IPv6 formats, as part of this restriction policy. When enabled, Klarna validates every incoming API request against the configured IP list.
Klarna-Ip-Validation-Status
with one of the values: ALLOWED
, DENIED
, or INVALID
.ALLOWED
: The request came from an allowed IP address. No action needed.DENIED
: The request came from a non-whitelisted IP. Verify the source IP is correct and included in your submitted list.INVALID
: A technical error occurred during IP validation. Contact your Klarna account manager for assistance.Klarna-Ip-Validation-Status: ALLOWED
, notify your Klarna account manager to schedule enforcement.Klarna-Ip-Validation-Status
header will no longer be included in responses.