Klarna direct debit

Example of a minimally required payload:

{
    "amount": 10000,
    "currency": "EUR",
    "description": "Example Klarna order",
    "payment_methods": ["klarna-direct-debit"]
}

Klarna direct debit with manual captures

When goods are not delived immediately Klarna requires that you capture the amount when goods are shipped. E.g. if a part is shipped only that part should be captured at that moment. To perform a Klarna direct debit with a manual capture the capture_mode manual should be provided and also the order lines are required.

{
    "amount": 10000,
    "currency": "EUR",
    "description": "Example Klarna order",
    "transactions": [{
			"payment_method": "klarna-direct-debit", 
			"capture_mode": "manual"
		}],
		"order_lines": [
			{
					"amount": 5000,
					"currency": "EUR",
					"merchant_order_line_id": "0001",
					"name": "Example article",
					"quantity": 2,
					"type": "physical",
					"vat_percentage": 2100
			}
	]
}

Captures can be performed in the same way as described for Klarna pay later.