Older Adyen integrations send Level 2 and Level 3 data as flat string keys in additionalData. On Checkout API v72 that no longer works, and unlike most ESD problems, the payment does not quietly go through.
The rule
- Adyen, Upgrade to Checkout API v72: a v72 payment request that includes the
additionalDataparameters for enhanced scheme data returns a validation error. You must use the parameters in theenhancedSchemeDataobject. - Level 2 and Level 3 data goes in
enhancedSchemeData.levelTwoThree, with item lines in theitemDetailLinesarray and amounts as integers in minor units (Adyen, Level 2/3 data).
Why it happens
The version bump is done for another reason, and the ESD mapping still writes the legacy keys.
Wrong and right
Wrong: legacy keys on v72
{
"amount": { "currency": "USD", "value": 10058 },
"additionalData": {
"enhancedSchemeData.customerReference": "PO-48120",
"enhancedSchemeData.totalTaxAmount": "658",
"enhancedSchemeData.itemDetailLine1.description": "Hex bolts 3/8 in, zinc",
"enhancedSchemeData.itemDetailLine1.quantity": "200",
"enhancedSchemeData.itemDetailLine1.unitPrice": "35",
"enhancedSchemeData.itemDetailLine1.totalAmount": "7000"
}
}Right: the structured object
{
"amount": { "currency": "USD", "value": 10058 },
"enhancedSchemeData": {
"levelTwoThree": {
"customerReferenceNumber": "PO-48120",
"totalTaxAmount": 658,
"itemDetailLines": [
{ "description": "Hex bolts 3/8 in, zinc", "productCode": "HB-38-ZN", "commodityCode": "31161500",
"quantity": 200, "unitOfMeasure": "EA", "unitPrice": 35, "totalAmount": 7000 }
]
}
}
}Values become numbers, the line number moves into the array, and customerReference becomes customerReferenceNumber.
What to do
- Move the ESD mapping to
enhancedSchemeData.levelTwoThreebefore or with the v72 upgrade. - With manual capture, send the same object on the capture request.
Sources
- Adyen, Upgrade to Checkout API v72, enhanced scheme data parameters (read November 24, 2026).
- Adyen, Level 2/3 data, field formats (read November 24, 2026).
Run this sale through the checker.
The sale from this page is already filled in. Press Check transaction, then change it to one of your own. No account needed.