I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Square does not currently provide an official SDK for Go. The repository you found is archived and not actively maintained by Square.
For your second question, yes, you would use the Merchants API and Locations API to manage your sellers. The Merchants API allows you to group individual seller locations into a group, allowing them to operate as a single entity. The Locations API allows you to get data about the locations for a merchant, such as their addresses, names, and business hours.
However, please note that Square’s equivalent to Stripe’s Connect accounts is the OAuth API, which allows you to request and manage permissions from Square sellers that allow an application to access resources in seller accounts. This is how you would create accounts for your sellers and their customers.
so If I want to add customer for my merchants, I should be able to do using Customer API and create those customer under individual Merchants accounts. is this correct ?