Get User Info After oAuth Authorisation

I am investigating integrating Square with a client solution, which includes oAuth authorisation during account setup.

My question is; is it possible to retrieve information about the user who completed the oAuth authorisation after it is completed?
I’d like to use this information to prefill some fields in the registration process to speed up the registration process for new users.

The closest thing to “users” I could find was team members.

Thank you,

Fabian

Hi @fabilo, welcome to the forums!

You may be interested in using the Merchants API or Locations API to get more information on the accounts that have authorized your app. They don’t return names of account owners, but the responses do include general information about the business (e.g. business name, location addresses, etc.) that could be useful to you.

Thanks Josh, yep across all those and will be using them to populate the Business Name and also Location names. So very thankful for that. I was more enquiring for the personal info to help with their User setup during registration (i.e. name, email etc). It’s not a deal breaker, just a nice to have to try speed up the UX.

Thanks for your response :slight_smile:

Gotcha. Unfortunately we don’t currently have any APIs that expose that information, but I’ll go ahead and note this down as a feature request!