Do merchants necessarily need to have square accounts?

Sorry if I caused confusion…the OAuth API will not create accounts for them, they would still need to create their own Square account themselves. Once they have an account…

  1. Your application provides the merchant with an OAuth authorization link (asking permission to access their account)
  2. Assuming they say yes, they would be redirected to some URL that you provide that includes a code.
  3. You exchange this code for a unique access token using the ObtainToken endpoint
  4. This access token is unique to their Square account; now you can make calls on their behalf using this access token