Adyen · JSON Structure

Checkout Klarna Details Structure

KlarnaDetails schema from Adyen API

Type: object Properties: 8 Required: 1
PaymentsFinancial ServicesFintech

KlarnaDetails is a JSON Structure definition published by Adyen, describing 8 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

billingAddress checkoutAttemptId deliveryAddress personalDetails recurringDetailReference storedPaymentMethodId subtype type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-klarna-details-structure.json",
  "description": "KlarnaDetails schema from Adyen API",
  "type": "object",
  "properties": {
    "billingAddress": {
      "description": "The address where to send the invoice.",
      "type": "string"
    },
    "checkoutAttemptId": {
      "x-addedInVersion": "68",
      "description": "The checkout attempt identifier.",
      "type": "string"
    },
    "deliveryAddress": {
      "description": "The address where the goods should be delivered.",
      "type": "string"
    },
    "personalDetails": {
      "description": "Shopper name, date of birth, phone number, and email address.",
      "type": "string"
    },
    "recurringDetailReference": {
      "deprecated": true,
      "x-deprecatedInVersion": "49",
      "x-deprecatedMessage": "Use `storedPaymentMethodId` instead.",
      "description": "This is the `recurringDetailReference` returned in the response when you created the token.",
      "type": "string"
    },
    "storedPaymentMethodId": {
      "x-addedInVersion": "49",
      "description": "This is the `recurringDetailReference` returned in the response when you created the token.",
      "maxLength": 64,
      "type": "string"
    },
    "subtype": {
      "description": "The type of flow to initiate.",
      "type": "string"
    },
    "type": {
      "default": "klarna",
      "description": "**klarna**",
      "enum": [
        "klarna",
        "klarnapayments",
        "klarnapayments_account",
        "klarnapayments_b2b",
        "klarna_paynow",
        "klarna_account",
        "klarna_b2b"
      ],
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false,
  "name": "KlarnaDetails"
}