TDV Adapter for Square

Build 22.0.8462

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the adapter beyond simple SELECT/INSERT/UPDATE/DELETE operations with Square.

Stored procedures accept a list of parameters, perform their intended function, and then return, if applicable, any relevant response data from Square, along with an indication of whether the procedure succeeded or failed.

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) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462