Klarna Docs - Extra merchant data

Extra merchant data

Learn about all the additional information about your customer you can send.

In some cases, we require additional information regarding the customer and the purchase in order to make a correct risk assessment. This information, called extra merchant data (EMD), may consist of data about the customer performing the transaction, the product/services associated with the transaction, or the seller and their affiliates.

Here you can learn which data points are required depending on the business category or the type of goods sold, and how to send them to us.

  • Travel-related transactions - when creating an order for selling travel tickets, you have to provide information about the passengers and the itinerary to be booked. Here you can find the EMD packages for travel-related transactions.
  • Event sales orders - when creating an order for selling a ticket to an event, you have to provide information about the event. Here you can find the EMD package for orders related to events.
  • Recurring payment transactions - when creating an order for subscriptions or recurring payments, you have to provide subscription and customer account information. Here you can find the EMD package for recurring payment transactions.
  • Marketplace orders - when creating an order for selling through a marketplace, you have to provide information on the seller and the consumer. Here you can find the EMD packages for marketplace orders.
  • Other - there are other use cases where EMD is required, such as when a voucher is used in a transaction or when a customer is using a guest checkout flow. Here you can find additional EMD packages that may be applicable to you.
  • Custom EMD packages - depending on the risk evaluation during the merchant onboarding process, we might request additional information to be provided through a specific EMD appendix.

Note: Find out more about the different data fields by checking the attachments specification.

Add the relevant data, based on the specification and your product vertical. To know which product vertical is right for you, please contact your Klarna account manager or Klarna’s merchant support.

You would need to include the extra merchant data under the attachment property and add it to the order as you learned in the Create order or the Update order call.

The example below relates to recurring orders, which require the subscription and customer_account_info details.

JSON
{
  //...
  "attachment": {
  	"content_type": "application/vnd.klarna.internal.emd-v2+json",
    "body": "{\"subscription\":[{\"subscription_name\":\"Contact_lenses\",\"start_time\":\"2020-11-24T15:00\",\"end_time\":\"2021-11-24T15:00\",\"auto_renewal_of_subscription\":false}],\"customer_account_info\":[{\"unique_account_identifier\":\"Adam_Adamsson\",\"account_registration_date\":\"2020-11-24T15:00\",\"account_last_modified\":\"2020-11-24T15:00\"}]}"        
  }
}

Sending extra merchant data.