Home / Servers / Square API / list_payments

ListPayments

An MCP tool from the Square API server, hosted on mcp.hjlabs.in.

ListPayments Retrieves a list of payments taken by the account making the request. Results are eventually consistent, and new payments or changes to payments might take several seconds to appear. The maximum… [GET /v2/payments]

Name on the gateway: square_api__list_payments · read-only.

Parameters

NameTypeDescription
begin_timestringIndicates the start of the time range to retrieve payments for, in RFC 3339…
end_timestringIndicates the end of the time range to retrieve payments for, in RFC 3339…
sort_orderstringThe order in which results are listed by ListPaymentsRequest.sort_field: - ASC…
cursorstringA pagination cursor returned by a previous call to this endpoint. Provide this…
location_idstringLimit results to the location supplied. By default, results are returned for…
totalintegerThe exact amount in the total_money for a payment.
last_4stringThe last four digits of a payment card.
card_brandstringThe brand of the payment card (for example, VISA).
limitintegerThe maximum number of results to be returned in a single page. It is possible…
is_offline_paymentbooleanWhether the payment was taken offline or not.
offline_begin_timestringIndicates the start of the time range for which to retrieve offline payments…
offline_end_timestringIndicates the end of the time range for which to retrieve offline payments, in…
updated_at_begin_timestringIndicates the start of the time range to retrieve payments for, in RFC 3339…
updated_at_end_timestringIndicates the end of the time range to retrieve payments for, in RFC 3339…
sort_fieldCREATED_AT | OFFLINE_CREATED_AT | UPDATED_ATThe field used to sort results by. The default is CREATED_AT.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "square_api__list_payments",
  "arguments": {}
}

Or connect the Square API server directly, which lists 308 tools including this one:

Run in your terminal
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the listpayments tool with begin_time set to ….

More from Square API