{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-samsung-pay-details-schema.json", "title": "SamsungPayDetails", "description": "SamsungPayDetails 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" }, "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" }, "samsungPayToken": { "description": "The payload you received from the Samsung Pay SDK response.", "type": "string" }, "storedPaymentMethodId": { "x-addedInVersion": "49", "description": "This is the `recurringDetailReference` returned in the response when you created the token.", "maxLength": 64, "type": "string" }, "type": { "default": "samsungpay", "description": "**samsungpay**", "enum": [ "samsungpay" ], "type": "string" } }, "required": [ "samsungPayToken" ], "additionalProperties": false }