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" 
  }
}