The bank details keyflexfield that defines personal payments methods has in a lot of legislations a hidden segment to validate the account number.
The segment is defaulted from a sql statement, using the account number as an input. A cross validation rule checks the content of that hidden segment.
When loading personal payment methods through the api's, one has to fill that hidden segment too.