Payment Tokenization enables customers to securely save their payment method with Klarna for future transactions. Instead of storing raw payment credentials, Klarna issues a secure digital token that represents the customer's payment agreement. This enables seamless repeat purchases like subscriptions and on-demand services while maintaining security and control through defined token scopes.
Payment Tokenization is the process of creating a secure digital token that represents a customer's saved payment method and authorization to charge it. Instead of storing or transmitting sensitive payment credentials, the Acquiring Partner uses this token to initiate future payment authorizations. Each token has defined scopes that determine when and how it can be used, ensuring compliance with payment regulations and customer consent requirements.
Core components:
Customer Token: A unique identifier (for example, krn:customer-token:eu1:abc123) that represents the customer's saved payment method
Token Scopes: Permissions that define whether the token can be used for customer-initiated or Acquiring Partner-initiated charges
How it differs from traditional card tokenization:
Unlike traditional card tokenization that simply replaces a card number, Klarna's tokenization represents an agreement between the customer and Klarna that encompasses credit evaluation, payment preferences, and authorization scope. When the Acquiring Partner uses a Klarna token, it is not just referencing payment credentials — it is invoking a pre-established relationship with defined terms.
Tokenization enables recurring payment experiences while reducing friction and maintaining security. Understanding when to use tokenization helps the Acquiring Partner design the right payment flow for each use case.
Recurring charges at regular intervals (monthly, annually) without customer interaction. Requires explicit consent and transparent communication about billing schedule.
payment:customer_not_present
Acquiring Partner-initiated
On-demand services
Customer-initiated purchases using a saved payment method. Common for ride-hailing, streaming, food delivery, or e-commerce where customers want one-click checkout.
payment:customer_present
Customer-initiated
Free trial with subscription
Save a payment method during the free trial period, then automatically charge when the trial ends. Requires clear disclosure of trial terms and billing start date.
payment:customer_not_present
Acquiring Partner-initiated (after trial)
Wallet or account linking
Save a payment method to a digital wallet or account for future purchases. No immediate charge. Enables fast checkout across multiple purchases.
payment:customer_present
Customer-initiated (each use)
Mixed payments
Combine a one-time purchase with a subscription (for example, buying hardware with a service subscription). Creates token while completing the initial transaction.
payment:customer_not_present
Combined (initial), then Acquiring Partner-initiated
Token scopes define what actions can be performed with a token. Choosing the correct scope is critical for authorization success and regulatory compliance.
Scope
Customer Presence
Authorization Behavior
Use Cases
Compliance Requirements
payment:customer_present
Customer actively initiates and approves each transaction
May succeed immediately (one-click) or require step-up authentication for additional verification
Use payment:customer_present when the customer will actively participate in each transaction. This scope enables the best authorization rates for one-time or irregular purchases because Klarna can request step-up authentication if needed.
Use payment:customer_not_present when charges occur automatically without customer interaction. While this scope could technically work for customer-initiated scenarios, it may limit the payment methods Klarna can offer, potentially reducing authorization rates.
Once the Acquiring Partner has a customer token, it can be used to authorize payment transactions. The authorization pattern depends on the token scope and customer presence.
Used when the customer actively initiates a purchase using their saved payment method. The customer is present and can complete step-up authentication if required.
Requirements:
Token must have payment:customer_present scope
Include step_up_config to allow step-up if needed
Customer must be available to complete Klarna Purchase Journey
Used when the Acquiring Partner automatically charges the customer without active participation. Common for subscription renewals and scheduled payments.
Requirements:
Token must have payment:customer_not_present scope
Do NOT include step_up_config (the customer cannot complete it)
Authorization succeeds or fails immediately (no step-up possible)
Must comply with subscription regulations and customer notification requirements
Authorization flow:
sequenceDiagram
participant System as Partner System
participant Acquiring Partner
participant Klarna
participant Customer
Note over System: Subscription renewal date
System->>Acquiring Partner: Authorize recurring payment
Acquiring Partner->>Klarna: <u>authorizePayment</u><br/>(customer_token + amount)<br/>No step_up_config
Klarna->>Klarna: Evaluate with customer_not_present risk model
alt Authorization Approved
Klarna->>Acquiring Partner: APPROVED<br/>Payment Transaction created
Acquiring Partner->>System: Payment success
System->>Customer: Email: Payment successful
else Authorization Declined
Klarna->>Acquiring Partner: DECLINED<br/>result_reason provided
Acquiring Partner->>System: Payment failed
System->>Customer: Email: Payment failed, update payment method
System->>System: Retry logic or subscription pause
end
Tokens are created using authorizePayment. Tokenization can occur standalone (save a payment method only) or combined with an initial payment authorization.
Scenario
When to Use
Request Configuration
Outcome
Tokenization only
Save a payment method without immediate charge. Used for free trials, wallet setup, or account creation.
No amount field. Include request_customer_token with desired scope.
Customer token created. No payment transaction.
Tokenization combined with payment authorization
Create token while processing the first payment authorization. Used for subscription signup with initial payment.
Include amount and request_customer_token.
Both customer token and payment transaction created.