I want to make a payment to the Square seller account using Square API but it seems that I cannot create a payment to a location id whose access token I am not passing in the API.
Since I am new to Square can you please explain the flow a bit?
For example,
- how do I create payment without giving the access token? I mean if it is possible.
- make payment to location id of different seller accounts
- Create payment to multiple seller accounts using a single API request.
You will need to use OAuth to get the access token to process payment for another Square account, @jamer789. Square’s OAuth API will be what you’ll use to let Square merchants authorize your application. Before you get started, please check out our Developer Documentation for more information about our OAuth API.
Afterward, you can create a Square account through our Developer Portal — which is where you’ll create and manage your Connect API applications.
To connect your Square account:
Square Community