# Pm Square

> Square connector knowledge and safe action guide.

- Skill: `polymetrics-ai/pm-square` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add polymetrics-ai/pm-square`
- Raw SKILL.md: https://api.skillmd.com/api/skills/polymetrics-ai/pm-square/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: polymetrics-ai (https://skillmd.com/u/polymetrics-ai)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/polymetrics-ai/pm-square

---


# pm-square

## Purpose

Reads Square payments, refunds, customers, and locations through the Square Connect v2 REST API.

## Icon

- id: square
- asset: icons/square.svg
- source: upstream_registry
- review_status: upstream_seeded
- review_url: https://developer.squareup.com/reference/square

## Capabilities

- check=true catalog=true read=true write=false query=false
- Integration type: api

## Authentication

- Use pm credentials add with --from-env or --value-stdin for secret fields.

## Configuration

- base_url
- max_pages
- mode
- page_size
- start_date
- api_key (secret) (required)

## ETL Streams

- payments:
  - primary key: id
  - cursor: updated_at
  - fields: amount_money(object), created_at(string), id(string), location_id(string), order_id(string), processing_fee(array), receipt_number(string), source_type(string), status(string), total_money(object), updated_at(string)
- refunds:
  - primary key: id
  - cursor: updated_at
  - fields: amount_money(object), created_at(string), id(string), location_id(string), order_id(string), payment_id(string), processing_fee(array), reason(string), status(string), updated_at(string)
- customers:
  - primary key: id
  - cursor: updated_at
  - fields: company_name(string), created_at(string), creation_source(string), email_address(string), family_name(string), given_name(string), id(string), phone_number(string), reference_id(string), updated_at(string)
- locations:
  - primary key: id
  - fields: country(string), created_at(string), currency(string), id(string), merchant_id(string), name(string), status(string), timezone(string), type(string)

## Sync Modes

- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped, incremental_append, incremental_append_deduped

## Security

- read risk: external Square API read of payments, refunds, customer, and location data
- approval: none; read-only
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

## Commands

### Inspect as a manual

```bash
pm connectors inspect square
```

### Inspect as structured JSON

```bash
pm connectors inspect square --json
```

## Agent Rules

- Run pm connectors inspect square before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.

