Refined the partnerid and accounttype check in the /create route according to the /doc/Send-requirements.md Both are not mandatory but if given, they should be strings. The typeof check is for direct string initialisation with "". instanceof is used for string initialisation with new String() / the primitiv wrapper class.