Adyen · Schema

PayPalDetails

PayPalDetails schema from Adyen API

PaymentsFinancial ServicesFintech

Properties

Name Type Description
checkoutAttemptId string The checkout attempt identifier.
orderID string The unique ID associated with the order.
payeePreferred string IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED
payerID string The unique ID associated with the payer.
payerSelected string PAYPAL or PAYPAL_CREDIT
recurringDetailReference string This is the `recurringDetailReference` returned in the response when you created the token.
storedPaymentMethodId string This is the `recurringDetailReference` returned in the response when you created the token.
subtype string The type of flow to initiate.
type string **paypal**
View JSON Schema on GitHub

JSON Schema

checkout-pay-pal-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-pay-pal-details-schema.json",
  "title": "PayPalDetails",
  "description": "PayPalDetails schema from Adyen API",
  "type": "object",
  "properties": {
    "checkoutAttemptId": {
      "x-addedInVersion": "68",
      "description": "The checkout attempt identifier.",
      "type": "string"
    },
    "orderID": {
      "description": "The unique ID associated with the order.",
      "type": "string"
    },
    "payeePreferred": {
      "description": "IMMEDIATE_PAYMENT_REQUIRED or UNRESTRICTED",
      "type": "string"
    },
    "payerID": {
      "description": "The unique ID associated with the payer.",
      "type": "string"
    },
    "payerSelected": {
      "description": "PAYPAL or PAYPAL_CREDIT",
      "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.",
      "enum": [
        "redirect",
        "sdk"
      ],
      "type": "string"
    },
    "type": {
      "default": "paypal",
      "description": "**paypal**",
      "enum": [
        "paypal"
      ],
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false
}