SquareECommerce
FREE
By serg.osipchuk
Updated a year ago

SquareECommerce API Documentation

Accept, process and filter online payments through Square.

Learn more about this API
POSTcaptureSingleTransaction
POSTchargeCard
POSTcreateCustomer
POSTcreateCustomerCard
POSTcreateRefund
POSTdeleteCustomerCard
POSTdeleteSingleCustomer
POSTgetAccessToken
POSTgetCustomers
POSTgetLocations
POSTgetRefunds
POSTgetSingleCustomer
POSTgetTransactions
POSTrefreshAccessToken
POSTretrieveSingleTransaction
POSTrevokeSingleAccessToken
POSTrevokeTokens
POSTupdateCustomer
POSTvoidSingleTransaction
POSTgetTransactions

This endpoint returns lists transactions for a particular location.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accessTokenSTRING
REQUIREDValid AccessToken.
locationIdSTRING
REQUIREDThe ID of the location to list transactions for.
Optional Parameters
sortOrderSELECT
OPTIONALThe order in which results are listed in the response (ASC for oldest first, DESC for newest first). Default value: DESC
beginTimeDATEPICKER
OPTIONALThe beginning of the requested reporting period, in RFC 3339 format (2016-01-31T00:00:00Z). Default value: The current time minus one year.
endTimeDATEPICKER
OPTIONALThe end of the requested reporting period, in RFC 3339 format (2016-01-31T00:00:00Z). Default value: The current time.
cursorSTRING
OPTIONALA pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication