TDV Adapter for Square

Build 21.0.8137

Stored Procedures

Stored procedures are available to complement the data available from the Data Model. It may be necessary to update data available from a view using a stored procedure because the data does not provide for direct, table-like, two-way updates. In these situations, the retrieval of the data is done using the appropriate view or table, while the update is done by calling a stored procedure. Stored procedures take a list of parameters and return back a dataset that contains the collection of tuples that constitute the response.

Square Adapter Stored Procedures

Name Description
AddItemImage Uploads an image file to be represented by a CatalogImage object linked to an existing CatalogObject instance.
CaptureTransaction Captures a transaction that was created with the Charge stored procedure with a DelayCapture value of true.
Charge Charges a card represented by a card nonce or a customer's card on file.
CreateCatalogImage Uploads an image file to be represented by a CatalogImage object linked to an existing CatalogObject instance.
Createorder Creates an Order that can then be referenced as OrderId in a request to the Charge endpoint.
GetOAuthAccessToken Gets an authentication token from Square.
GetOAuthAuthorizationURL Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL.
RefreshOAuthAccessToken Refreshes the OAuth access token used for authentication with Square.
VoidTransaction Cancels a transaction that was created with the Charge stored procedure with a DelayCapture value of true.

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137