Python SDK

Download and use a SDK for simple integration with our API.



The recommended way to install is using pip.

    pip install Klarna_API

If you do not have pip you can download the package from here. Then run

    python install

Date: 2015-05-25

Story (#2136) (Matthias F.) - Added extend_expiry_date method

Date: 2015-01-19

Bug (#2017) (David K.) - Fix loading of custom pclass storage modules

Date: 2014-07-09

Story (#1683) (Joakim L.) - Remove update_notes and reserve_OCR_email functions

Date: 2014-03-25

Story (#1530) (Christer G.) - Remove Candice from Python Library

Date: 2013-09-03

Story (#891) (Rickard D.) - Update lowest_monthly_payment_for_account
Story (#675) (Majid G.) - Add goods list to credit calls for restocking fees and 0 amount for reserve_amount
Story (#676) (Majid G.) - Change BETA host from beta-test to testdrive

Date: 2013-01-08

Rickard D. <>
    examples/activate_reservation :
	Removed ClientIP from example file

Date: 2012-12-04

Rickard D. <> (change_reservation) :
	Allow negative amount to be used. (check_email) : (city) :
	Removed validation of input. (activate_reservation) :
	Always send in as client IP address. (return_amount) :
	Added possibility to send in a description to replace the default
	"Discount" text on a customers invoice. (activate) : new function
	Added activate function to allow a reservation to be activated with a
	minimum of information. (update) : new function
	Added update function to allow a reservation to be updated with a
	minimum of information.

Date: 2012-03-16

* change candice url

* make fetch_pclasses fetch for the configured country

* move towards a pep8 compliant code style

* change type of minamount to float

* extension module loader
    modules are installed by calling the install function found in klarna.kex
    this will extend the API class with additional methods

* use unicode internally and convert to iso-8859-1 before sending to make
    python2 and 3 differences workarounds easier to manage

Date: 2011-08-05

* switch to sha512 hash

* refactor pclass storage.

* add country convenience methods

* implement ILT tests API

* change clientvsn syntax

Date: 2011-06-28
First release