GoLang Support and API Question

Hi

I would like to know whether Square has Go Lang SDK , I see below Github repo but it’s public archive.

I already implemented Payment Processing with Stripe and starting with Square.

Stripe has concept called Connect accounts where I can create accounts for my sellers and there customers.

Do I need to use Merchant and Location api for this ?

Thanks
Rakesh

:wave: 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:

Additional Documentation

Get Started
Payment API: Process Online and In-Person Payments
In-App Payments SDK Quickstart

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.

This answer was reviewed by @Bryan-Square.

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 ?

Thanks
Rakesh

Yes, that is correct. :slightly_smiling_face:

1 Like