Klarna Pay Now
Example with customer data:
{
"amount": 10000,
"currency": "EUR",
"customer": {
"additional_addresses": [
{
"address": "Example 10\n1000AA Amsterdam",
"address_type": "billing",
"country": "NL"
}
],
"address": "Example 8\n1000AA Amsterdam",
"address_type": "customer",
"birthdate": "1970-07-10",
"country": "NL",
"email_address": "email@example.com",
"first_name": "First",
"gender": "male",
"ip_address": "127.0.0.1",
"last_name": "Last",
"phone_numbers": [
"0612345678"
]
},
"description": "Example Klarna order",
"payment_methods": ["klarna-pay-now"]
}
Example of a minimally required payload:
{
"amount": 10000,
"currency": "EUR",
"description": "Example Klarna order",
"payment_methods": ["klarna-pay-now"]
}
Klarna pay now 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 pay now with a manual capture the capture mode should be provided.
{
"amount": 10000,
"currency": "EUR",
"description": "Example Klarna order",
"transactions": [{
"payment_method": "klarna-pay-now",
"capture_mode": "manual"
}]
}
Captures can be performed in the same way as described for Klarna pay later.