Postal address rules

Overview

The PostalAddress object contains address information used during payment initiation, such as street name, building number, postal code, town name, country, and address lines.

In the options, we configured the available PostalAddress fields according to the specifications provided by each bank. Currently, we only validate whether a field is required and a value has been provided. We do not validate:

  • Special characters
  • Allowed character sets
  • Minimum lengths
  • Maximum lengths
  • Bank-specific formatting rules

Constraints and Validation

As a general recommendation, constraints should be based on the ISO 20022 definition from pain payment file to reduce the risk of rejection by banks.

Recommended Character Set

a-z A-Z 0-9 - / : . , ' <space>


Fields

FieldTypeMaximum LengthCharacter SetRegex
AddressTypeCheck "Address Type Values" table belo4A-Z^(ADDR|PBOX|HOME|BIZ|MLTO|DLVY)$
DepartmentText70a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]70
SubDepartmentText70a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]70
StreetNameText70a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]70
BuildingNumberText16a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]16
PostalCodeText16a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]16
TownNameText35a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]35
CountrySubdivisionText35a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]35
CountryText2A-Z^[A-Z]
AddressLineText70a-z A-Z 0-9 - / : ( ) . , ? ' + space^[A-Za-z0-9-/:().,?' ]70

Address Type Values

CodeDescription
ADDRPostal Address
PBOXPost Office Box
HOMEResidential Address
BIZZBusiness Address
MLTOMail-To Addre
DLVYDelivery Ad

Did this page help you?