Square is a new service that allows merchants and individuals to accept payments from credit cards via a mobile phone.