Payment type. Client and server validation