{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-masterpass-details-schema.json",
  "title": "MasterpassDetails",
  "description": "MasterpassDetails schema from Adyen API",
  "type": "object",
  "properties": {
    "checkoutAttemptId": {
      "x-addedInVersion": "68",
      "description": "The checkout attempt identifier.",
      "type": "string"
    },
    "fundingSource": {
      "description": "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.",
      "enum": [
        "credit",
        "debit"
      ],
      "type": "string"
    },
    "masterpassTransactionId": {
      "description": "The Masterpass transaction ID.",
      "type": "string"
    },
    "type": {
      "default": "masterpass",
      "description": "**masterpass**",
      "enum": [
        "masterpass"
      ],
      "type": "string"
    }
  },
  "required": [
    "masterpassTransactionId"
  ],
  "additionalProperties": false
}