Saudi based payments company raised $40m in growth funding led by Mastercard.