Back to tools

AI Agent Tool

Square logo

Square

Payment processing and POS platform for in-person, online, and mobile commerce.

PaymentCommunity

squareup.com

•

One-click Login

•

Ready to use

About Square

Square (by Block, Inc.) provides payment processing, point-of-sale hardware, and business management tools for small and medium businesses across retail, food service, and professional services. It offers free card reader hardware for first-time users and charges per-transaction fees rather than monthly fees on its base plan. Additional paid plans reduce processing rates and add software features like advanced inventory and loyalty programs.

AI Agent Use Cases

- In-person card processing starting at 2.6% + $0.15 per transaction (Free plan)

- Online payment processing at 2.9% + $0.30 per transaction

- Free POS software for retail, restaurants, and appointments

- ACH payments via invoice at 1% (min $1)

- Instant transfers at 1.95%; standard next-day transfers free

- Custom pricing available for businesses processing over $250,000/year

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

idempotency_key

The idempotency key identifying the payment to be canceled.

Inputs

payment_id

The unique ID identifying the payment to be completed.

version_token

An opaque token that identifies the current Payment version that the caller expects.

Inputs

location

The initial values for the new location including a mandatory unique name. Other fields are optional but should include any relevant information for the location.

Inputs

source_id

The ID for the source of funds for this payment.

idempotency_key

A unique string that identifies this CreatePayment request.

amount_money

The amount of money to accept for this payment.

tip_money

The amount designated as a tip, in addition to amount_money.

app_fee_money

The amount of money that the developer is taking as a fee for facilitating the payment.

delay_duration

The duration of time after the payment's creation when Square automatically either completes or cancels the payment.

delay_action

The action to be applied to the payment when the delay_duration has elapsed. Must be CANCEL or COMPLETE.

autocomplete

If set to true, this payment will be completed when possible.

order_id

Associates a previously created order with this payment.

customer_id

The customer ID associated with the payment.

location_id

The location ID to associate with the payment.

team_member_id

An optional TeamMember ID to associate with this payment.

reference_id

A user-defined ID to associate with the payment.

verification_token

An identifying token generated by payments.verifyBuyer().

accept_partial_authorization

If true, a payment might be returned with a partial amount.

buyer_email_address

The buyer's email address.

buyer_phone_number

The buyer's phone number in international format.

billing_address

The buyer's billing address.

shipping_address

The buyer's shipping address.

note

An optional note to be entered when creating a payment.

statement_description_identifier

Optional payment information to include on the customer's card statement.

cash_details

Additional details required when recording a cash payment.

external_details

Additional details required when recording an external payment.

customer_details

Details about the customer making the payment.

offline_payment_details

Specifying the offline payment details; for internal use.

Inputs

key

The key of the custom attribute definition to delete.

Inputs

begin_time

Start of the time range to retrieve payments for. Default is current time minus one year.

end_time

End of the time range to retrieve payments for. Default is the current time.

sort_order

Order in which results are listed: ASC (oldest to newest) or DESC (newest to oldest, default).

cursor

Pagination cursor for retrieving the next set of results.

location_id

Limit results to specified location. By default, results are returned for the default location.

total

Exact amount in the total_money for a payment.

last_4

Last four digits of a payment card.

card_brand

Brand of the payment card (e.g., VISA).

limit

Maximum number of results per page, default and max value is 100.

is_offline_payment

Whether the payment was taken offline.

offline_begin_time

Start of the time range for offline payments retrieval, based on client_created_at field.

offline_end_time

End of the time range for offline payments retrieval, based on client_created_at field.

updated_at_begin_time

Start of the time range to retrieve payments, based on the updated_at field.

updated_at_end_time

End of the time range to retrieve payments, based on the updated_at field.

sort_field

Field used to sort results. Default is CREATED_AT.

Inputs

location_id

The ID of the location to retrieve. Specify the string 'main' to return the main location.

Inputs

paymentId

The unique ID for the payment to retrieve.

Inputs

text_filter

Expression to return items or variations with specified text in attributes like name or description.

category_ids

Array of category IDs to filter items by their categories.

stock_levels

Array of stock levels to filter item variations.

enabled_location_ids

Array of enabled location IDs for filtered items/variations.

cursor

Pagination token for fetching the next batch of results.

limit

Maximum number of results per page, default is 100.

sort_order

Order of sorting the results by item names, default is ascending.

product_types

Array of product types to filter items or variations.

custom_attribute_filters

Array of custom attribute filters, max of 10 can be used.

archived_state

Filter to return archived, not archived, or all items.

Inputs

location_id

The ID of the location to update.

location

The Location object with only the fields to update.