integrations.sh
← all integrations

Klarna Payments API V1

OpenAPI apis-guru financial

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.cancelAuthorization

    Use this API call to cancel/release an authorization. If the authorization_token received during a Klarna Payments won’t be used to place an order immediately you could release the authorization. Read more on .

  • orders.createOrder

    Use 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 the authorization_token for 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.purchaseToken

    Use this API call to create a Klarna Customer Token.
    After having obtained an authorization_token for 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.createCreditSession

    Use this API call to create a Klarna Payments session.
    When a session is created you will receive the available payment_method_categories for the session, a session_id and a client_token. The session_id can be used to read or update the session using the REST API. The client_token should be passed to the browser. Read more on .

  • sessions.readCreditSession

    Use 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.updateCreditSession

    Use 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.previewSpec

    Preview an OpenAPI document before adding it as a source

  • openapi.addSource

    Add an OpenAPI source and register its operations as tools