You might want to talk to Squareup about that....Here is the quote from their site "We don't currently offer an API for e-commerce solutions, but if we do in the future, we’ll be sure to announce it."