Data-driven technology is helping banks and merchants counter fraudulent transactions and chargebacks.