From the number, confirmed by a live check before you pay.
Each network uses certain number prefixes. PayBaan reads the prefix as you type and then confirms the current operator with a live check, so numbers that moved to another network are detected correctly.