ZIP codes look like numbers, and that is the problem: a number has no leading zero.
The rule
- Adyen, Level 2/3 data:
levelTwoThree.shipFromPostalCodeanddestination.postalCodeare ASCII, maximum 10 characters. For the US, five or nine digits, for example 10001 or 10001-0000. For Canada, six characters, for example M4B 1G5. - If an optional field is incorrectly formatted, Adyen drops the optional fields and sends the rest.
Why it happens
Warehouses in New England, New Jersey and Puerto Rico have ZIP codes that start with 0. A database column or spreadsheet that stores them as numbers turns 02110 into 2110.
Wrong and right
Wrong: four digits
{ "enhancedSchemeData": { "levelTwoThree": { "shipFromPostalCode": "2110", "destination": { "postalCode": "46204", "stateOrProvince": "IN", "countryCode": "US" } } } }Right: the ZIP code as text, with its zero
{ "enhancedSchemeData": { "levelTwoThree": { "shipFromPostalCode": "02110", "destination": { "postalCode": "46204", "stateOrProvince": "IN", "countryCode": "US" } } } }What to do
- Store postal codes as text everywhere they pass through.
- For US codes, pad to five digits only when you know the source dropped the zero; otherwise fix the source.
Sources
- Adyen, Level 2/3 data, postal code formats and what Adyen does with invalid optional fields (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.