Creates a Klarna payment session and returns client credentials for the Klarna widget
Documentation Index
Fetch the complete documentation index at: https://developers.firmly.ai/llms.txt
Use this file to discover all available pages before exploring further.
payment_method object containing the client_token, session_id, and available payment_method_categories needed to render the Klarna Payments widget on the client.
| Code | Description |
|---|---|
ErrorCartNotFound | No active cart for this domain |
ErrorGatewayNotFound | Klarna is not enabled for this merchant |
ErrorOperationNotSupported | Merchant adapter does not support Klarna |
ErrorStartExpressCheckout | Failed to create Klarna payment session |
ErrorStoreUnavailable | Merchant temporarily unavailable |