Klarna Payments API V1
The payments API is used to create a session to offer Klarna's payment methods as part of your checkout. As soon as the purchase is completed the order should be read and handled using the .
Read more on .
- Homepage
- https://api.apis.guru/v2/specs/klarna.com:payments/1.0.0.json
- Provider
- klarna.com:payments
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/klarna.com/payments/1.0.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/klarna.com/payments/1.0.0/openapi.yaml
Tools (8)
Extracted live via the executor SDK.
-
orders.cancelAuthorizationUse this API call to cancel/release an authorization. If the
authorization_tokenreceived during a Klarna Payments won’t be used to place an order immediately you could release the authorization. Read more on . -
orders.createOrderUse this API call to create a new order. Placing an order towards Klarna means that the Klarna Payments session will be closed and that an order will be created in Klarna's system.
When you have received theauthorization_tokenfor a successful authorization you can place the order. Among the other order details in this request, you include a URL to the confirmation page for the customer.
When the Order has been successfully placed at Klarna, you need to handle it either through the Merchant Portal or using . Read more on . -
orders.purchaseTokenUse this API call to create a Klarna Customer Token.
After having obtained anauthorization_tokenfor a successful authorization, this can be used to create a purchase token instead of placing the order. Creating a Klarna Customer Token results in Klarna storing customer and payment method details. Read more on . -
sessions.createCreditSessionUse this API call to create a Klarna Payments session.
When a session is created you will receive the availablepayment_method_categoriesfor the session, asession_idand aclient_token. Thesession_idcan be used to read or update the session using the REST API. Theclient_tokenshould be passed to the browser. Read more on . -
sessions.readCreditSessionUse this API call to read a Klarna Payments session. You can read the Klarna Payments session at any time after it has been created, to get information about it. This will return all data that has been collected during the session. Read more on .
-
sessions.updateCreditSessionUse this API call to update a Klarna Payments session with new details, in case something in the order has changed and the checkout has been reloaded. Including if the consumer adds a new item to the cart or if consumer details are updated. Read more on .
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools