🚧

Enable Klarna merchant account for recurring

Before you start integrating Upodi and Klarna, you must contact Klarna support and enable your merchant account for recurring orders.

First heard to Klarna, and read the following: https://developers.klarna.com/documentation/klarna-payments/use-cases/customer-token-signup/.

Read Klarna's documentation on how to tokenize credit cards. Once you get to the point where you have tokenized a customer in Klarna it is ready to be implemented in Upodi.

Customer Token example: token_id: 0b1d9815-165e-42e2-8867-35bc03789e00

Pass this to Upodi using our POST Payment Method endpoint:

{
  "type" : 64 /* PureTokenBased = 64 */,
  "makedefault" : "true", /* will make the payment method default on the customer */
  "puretoken" : { 
    "token" : "0b1d9815-165e-42e2-8867-35bc03789e00", /* Klarna Customer Token */
    "paymentgateway" : "klarna" 
  }
}