additionalData and lineItems of your /payments or /sessions request.
Additional data
Select which endpoint you are using:/sessions/payments/sessions/payments
To send specific additional data, use:
-
The
additionalData.additionalDataAirlineobject is required and includes:Note: As used in the parameters listed above,[itemNr]is a numerical number that has to be included, even if there is only one item (like one passenger), for example airline.passenger1.first_name. Examples: Example of a single-leg flight for multiple passengersExample of a multi-leg flight for multiple passenger -
In addition, the
additionalData.openinvoicedata.merchantDataparameter may be provided: Include all relevant details, like product, purchase, and customer details, in a Base64 encoded JSON object that comply with Klarna’s specification. If themerchantDatadoes not meet the format in the Klarna specification, the data will not be consumed by Klarna’s risk engine. There will also not be any validation errors from Klarna in this case, so take care to send the correct details in the correct format.
