Mastercard has announced that it will buy technology firm Finicity in a deal valued at $825 million. It added that Finicity's existing shareholders could get an earn-out of up to an additional $160 million, if performance targets are met. Finicity provides data to its customers to make financial decisions.