Bangalore-based online payment gateway startup Razorpay Software Pvt. Ltd has received an undisclosed investment from American payments and financial services company MasterCard.