[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76V6XYNPW6S5JPJKBY4CF33":3,"skill-same:01M76V6XYNPW6S5JPJKBY4CF33":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":13,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M76V6XYNPW6S5JPJKBY4CF33","squareup",null,"Square API integration with managed OAuth. Process payments, manage customers, orders, catalog, inventory, and invoices.\nUse this skill when users want to accept payments, manage point-of-sale operations, track inventory, or handle invoicing through Square.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","meghal86\u002Fstacksignal","meghal86","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37388715?v=4","01M6CS2EW8SK89GH52R2ZEN8QQ","01M728J5CGY456EETEFG6HJBTM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsquareup\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsquareup\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: squareup\ndescription: |\n  Square API integration with managed OAuth. Process payments, manage customers, orders, catalog, inventory, and invoices.\n  Use this skill when users want to accept payments, manage point-of-sale operations, track inventory, or handle invoicing through Square.\n  For other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\n  Requires network access and valid Maton API key.\nmetadata:\n  author: maton\n  version: \"1.0\"\n  clawdbot:\n    emoji: 🧠\n    requires:\n      env:\n        - MATON_API_KEY\n---\n\n# Square\n\nAccess the Square API with managed OAuth authentication. Process payments, manage customers, orders, catalog items, inventory, and invoices.\n\n## Quick Start\n\n```bash\n# List locations\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002F{native-api-path}\n```\n\nReplace `{native-api-path}` with the actual Square API endpoint path. The gateway proxies requests to `connect.squareup.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Square OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=squareup&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'squareup'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"squareup\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Square connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### Locations\n\n#### List Locations\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Flocations\n```\n\n#### Get Location\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Flocations\u002F{location_id}\n```\n\n#### Create Location\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Flocations\nContent-Type: application\u002Fjson\n\n{\n  \"location\": {\n    \"name\": \"New Location\",\n    \"address\": {\n      \"address_line_1\": \"123 Main St\",\n      \"locality\": \"San Francisco\",\n      \"administrative_district_level_1\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  }\n}\n```\n\n#### Update Location\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Flocations\u002F{location_id}\nContent-Type: application\u002Fjson\n\n{\n  \"location\": {\n    \"name\": \"Updated Location Name\"\n  }\n}\n```\n\n### Merchants\n\n#### Get Merchant\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fmerchants\u002Fme\n```\n\n#### List Merchants\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fmerchants\n```\n\n### Payments\n\n#### List Payments\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments\n```\n\nWith filters:\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments?location_id={location_id}&begin_time=2026-01-01T00:00:00Z&end_time=2026-02-01T00:00:00Z\n```\n\n#### Get Payment\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\n```\n\n#### Create Payment\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fpayments\nContent-Type: application\u002Fjson\n\n{\n  \"source_id\": \"cnon:card-nonce-ok\",\n  \"idempotency_key\": \"unique-key-12345\",\n  \"amount_money\": {\n    \"amount\": 1000,\n    \"currency\": \"USD\"\n  },\n  \"location_id\": \"{location_id}\"\n}\n```\n\n#### Update Payment\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\nContent-Type: application\u002Fjson\n\n{\n  \"payment\": {\n    \"tip_money\": {\n      \"amount\": 200,\n      \"currency\": \"USD\"\n    }\n  },\n  \"idempotency_key\": \"unique-key-67890\"\n}\n```\n\n#### Complete Payment\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\u002Fcomplete\nContent-Type: application\u002Fjson\n\n{}\n```\n\n#### Cancel Payment\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\u002Fcancel\nContent-Type: application\u002Fjson\n\n{}\n```\n\n### Refunds\n\n#### List Refunds\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Frefunds\n```\n\n#### Get Refund\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Frefunds\u002F{refund_id}\n```\n\n#### Create Refund\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Frefunds\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-refund-key\",\n  \"payment_id\": \"{payment_id}\",\n  \"amount_money\": {\n    \"amount\": 500,\n    \"currency\": \"USD\"\n  },\n  \"reason\": \"Customer requested refund\"\n}\n```\n\n### Customers\n\n#### List Customers\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcustomers\n```\n\n#### Get Customer\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcustomers\u002F{customer_id}\n```\n\n#### Create Customer\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcustomers\nContent-Type: application\u002Fjson\n\n{\n  \"given_name\": \"John\",\n  \"family_name\": \"Doe\",\n  \"email_address\": \"john.doe@example.com\",\n  \"phone_number\": \"+15551234567\"\n}\n```\n\n#### Update Customer\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Fcustomers\u002F{customer_id}\nContent-Type: application\u002Fjson\n\n{\n  \"email_address\": \"john.updated@example.com\"\n}\n```\n\n#### Delete Customer\n\n```bash\nDELETE \u002Fsquareup\u002Fv2\u002Fcustomers\u002F{customer_id}\n```\n\n#### Search Customers\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcustomers\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"query\": {\n    \"filter\": {\n      \"email_address\": {\n        \"exact\": \"john.doe@example.com\"\n      }\n    }\n  }\n}\n```\n\n### Orders\n\n#### Create Order\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Forders\nContent-Type: application\u002Fjson\n\n{\n  \"order\": {\n    \"location_id\": \"{location_id}\",\n    \"line_items\": [\n      {\n        \"name\": \"Item 1\",\n        \"quantity\": \"1\",\n        \"base_price_money\": {\n          \"amount\": 1000,\n          \"currency\": \"USD\"\n        }\n      }\n    ]\n  },\n  \"idempotency_key\": \"unique-order-key\"\n}\n```\n\n#### Get Order\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Forders\u002F{order_id}\n```\n\n#### Update Order\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Forders\u002F{order_id}\nContent-Type: application\u002Fjson\n\n{\n  \"order\": {\n    \"location_id\": \"{location_id}\",\n    \"version\": 1\n  },\n  \"fields_to_clear\": [\"line_items\"]\n}\n```\n\n#### Search Orders\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Forders\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"location_ids\": [\"{location_id}\"],\n  \"query\": {\n    \"filter\": {\n      \"state_filter\": {\n        \"states\": [\"OPEN\"]\n      }\n    }\n  }\n}\n```\n\n#### Batch Retrieve Orders\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Forders\u002Fbatch-retrieve\nContent-Type: application\u002Fjson\n\n{\n  \"location_id\": \"{location_id}\",\n  \"order_ids\": [\"{order_id_1}\", \"{order_id_2}\"]\n}\n```\n\n### Catalog\n\n#### List Catalog\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Flist\n```\n\nWith type filter:\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Flist?types=ITEM,CATEGORY\n```\n\n#### Get Catalog Object\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fobject\u002F{object_id}\n```\n\n#### Upsert Catalog Object\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fobject\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-catalog-key\",\n  \"object\": {\n    \"type\": \"ITEM\",\n    \"id\": \"#new-item\",\n    \"item_data\": {\n      \"name\": \"Coffee\",\n      \"description\": \"Hot brewed coffee\",\n      \"variations\": [\n        {\n          \"type\": \"ITEM_VARIATION\",\n          \"id\": \"#small-coffee\",\n          \"item_variation_data\": {\n            \"name\": \"Small\",\n            \"pricing_type\": \"FIXED_PRICING\",\n            \"price_money\": {\n              \"amount\": 300,\n              \"currency\": \"USD\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}\n```\n\n#### Delete Catalog Object\n\n```bash\nDELETE \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fobject\u002F{object_id}\n```\n\n#### Batch Upsert Catalog Objects\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fbatch-upsert\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-batch-key\",\n  \"batches\": [\n    {\n      \"objects\": [...]\n    }\n  ]\n}\n```\n\n#### Search Catalog Objects\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"object_types\": [\"ITEM\"],\n  \"query\": {\n    \"text_query\": {\n      \"keywords\": [\"coffee\"]\n    }\n  }\n}\n```\n\n#### Get Catalog Info\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Finfo\n```\n\n### Inventory\n\n#### Retrieve Inventory Count\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finventory\u002F{catalog_object_id}\n```\n\n#### Batch Retrieve Inventory Counts\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finventory\u002Fcounts\u002Fbatch-retrieve\nContent-Type: application\u002Fjson\n\n{\n  \"catalog_object_ids\": [\"{object_id_1}\", \"{object_id_2}\"],\n  \"location_ids\": [\"{location_id}\"]\n}\n```\n\n#### Batch Change Inventory\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finventory\u002Fchanges\u002Fbatch-create\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-inventory-key\",\n  \"changes\": [\n    {\n      \"type\": \"ADJUSTMENT\",\n      \"adjustment\": {\n        \"catalog_object_id\": \"{object_id}\",\n        \"location_id\": \"{location_id}\",\n        \"quantity\": \"10\",\n        \"from_state\": \"NONE\",\n        \"to_state\": \"IN_STOCK\"\n      }\n    }\n  ]\n}\n```\n\n#### Retrieve Inventory Adjustment\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finventory\u002Fadjustments\u002F{adjustment_id}\n```\n\n### Invoices\n\n#### List Invoices\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finvoices?location_id={location_id}\n```\n\n#### Get Invoice\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\n```\n\n#### Create Invoice\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\nContent-Type: application\u002Fjson\n\n{\n  \"invoice\": {\n    \"location_id\": \"{location_id}\",\n    \"order_id\": \"{order_id}\",\n    \"primary_recipient\": {\n      \"customer_id\": \"{customer_id}\"\n    },\n    \"payment_requests\": [\n      {\n        \"request_type\": \"BALANCE\",\n        \"due_date\": \"2026-02-15\"\n      }\n    ],\n    \"delivery_method\": \"EMAIL\"\n  },\n  \"idempotency_key\": \"unique-invoice-key\"\n}\n```\n\n#### Update Invoice\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\nContent-Type: application\u002Fjson\n\n{\n  \"invoice\": {\n    \"version\": 1,\n    \"payment_requests\": [\n      {\n        \"uid\": \"{payment_request_uid}\",\n        \"due_date\": \"2026-02-20\"\n      }\n    ]\n  },\n  \"idempotency_key\": \"unique-update-key\"\n}\n```\n\n#### Publish Invoice\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\u002Fpublish\nContent-Type: application\u002Fjson\n\n{\n  \"version\": 1,\n  \"idempotency_key\": \"unique-publish-key\"\n}\n```\n\n#### Cancel Invoice\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\u002Fcancel\nContent-Type: application\u002Fjson\n\n{\n  \"version\": 1\n}\n```\n\n#### Delete Invoice\n\n```bash\nDELETE \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}?version=1\n```\n\n#### Search Invoices\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"query\": {\n    \"filter\": {\n      \"location_ids\": [\"{location_id}\"],\n      \"customer_ids\": [\"{customer_id}\"]\n    }\n  }\n}\n```\n\n## Pagination\n\nSquare uses cursor-based pagination. List endpoints return a `cursor` field when more results exist:\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments?cursor={cursor_value}\n```\n\nResponse includes pagination info:\n\n```json\n{\n  \"payments\": [...],\n  \"cursor\": \"next_page_cursor_value\"\n}\n```\n\nContinue fetching by passing the cursor value in subsequent requests until no cursor is returned.\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()\n```\n\n## Notes\n\n- All amounts are in the smallest currency unit (e.g., cents for USD: 1000 = $10.00)\n- IDs are alphanumeric strings\n- Timestamps are in ISO 8601 format (e.g., `2026-02-07T01:59:28.459Z`)\n- Most write operations require an `idempotency_key` to prevent duplicate operations\n- Some endpoints require specific OAuth scopes (CUSTOMERS_READ, ORDERS_READ, ITEMS_READ, INVOICES_READ, etc.)\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Square connection or bad request |\n| 401 | Invalid or missing Maton API key |\n| 403 | Insufficient OAuth scopes |\n| 404 | Resource not found |\n| 429 | Rate limited |\n| 4xx\u002F5xx | Passthrough error from Square API |\n\n### Error Response Format\n\n```json\n{\n  \"errors\": [\n    {\n      \"category\": \"INVALID_REQUEST_ERROR\",\n      \"code\": \"NOT_FOUND\",\n      \"detail\": \"Could not find payment with id: {payment_id}\"\n    }\n  ]\n}\n```\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `squareup`. For example:\n\n- Correct: `https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations`\n- Incorrect: `https:\u002F\u002Fgateway.maton.ai\u002Fv2\u002Flocations`\n\n### Troubleshooting: Insufficient Scopes\n\nIf you receive a 403 error with `INSUFFICIENT_SCOPES`, the OAuth connection doesn't have the required permissions. Create a new connection and ensure you grant all necessary permissions during OAuth authorization.\n\n## Resources\n\n- [Square API Overview](https:\u002F\u002Fdeveloper.squareup.com\u002Fdocs)\n- [Square API Reference](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare)\n- [Payments API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Fpayments-api)\n- [Customers API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Fcustomers-api)\n- [Orders API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Forders-api)\n- [Catalog API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Fcatalog-api)\n- [Inventory API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Finventory-api)\n- [Invoices API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Finvoices-api)\n- [Locations API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Flocations-api)\n- [Maton Community](https:\u002F\u002Fdiscord.com\u002Finvite\u002FdBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n","# Square\n\nAccess the Square API with managed OAuth authentication. Process payments, manage customers, orders, catalog items, inventory, and invoices.\n\n## Quick Start\n\n```bash\n# List locations\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002F{native-api-path}\n```\n\nReplace `{native-api-path}` with the actual Square API endpoint path. The gateway proxies requests to `connect.squareup.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https:\u002F\u002Fmaton.ai)\n2. Go to [maton.ai\u002Fsettings](https:\u002F\u002Fmaton.ai\u002Fsettings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Square OAuth connections at `https:\u002F\u002Fctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections?app=squareup&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'squareup'}).encode()\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application\u002Fjson')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https:\u002F\u002Fconnect.maton.ai\u002F?session_token=...\",\n    \"app\": \"squareup\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections\u002F{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Square connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### Locations\n\n#### List Locations\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Flocations\n```\n\n#### Get Location\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Flocations\u002F{location_id}\n```\n\n#### Create Location\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Flocations\nContent-Type: application\u002Fjson\n\n{\n  \"location\": {\n    \"name\": \"New Location\",\n    \"address\": {\n      \"address_line_1\": \"123 Main St\",\n      \"locality\": \"San Francisco\",\n      \"administrative_district_level_1\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  }\n}\n```\n\n#### Update Location\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Flocations\u002F{location_id}\nContent-Type: application\u002Fjson\n\n{\n  \"location\": {\n    \"name\": \"Updated Location Name\"\n  }\n}\n```\n\n### Merchants\n\n#### Get Merchant\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fmerchants\u002Fme\n```\n\n#### List Merchants\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fmerchants\n```\n\n### Payments\n\n#### List Payments\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments\n```\n\nWith filters:\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments?location_id={location_id}&begin_time=2026-01-01T00:00:00Z&end_time=2026-02-01T00:00:00Z\n```\n\n#### Get Payment\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\n```\n\n#### Create Payment\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fpayments\nContent-Type: application\u002Fjson\n\n{\n  \"source_id\": \"cnon:card-nonce-ok\",\n  \"idempotency_key\": \"unique-key-12345\",\n  \"amount_money\": {\n    \"amount\": 1000,\n    \"currency\": \"USD\"\n  },\n  \"location_id\": \"{location_id}\"\n}\n```\n\n#### Update Payment\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\nContent-Type: application\u002Fjson\n\n{\n  \"payment\": {\n    \"tip_money\": {\n      \"amount\": 200,\n      \"currency\": \"USD\"\n    }\n  },\n  \"idempotency_key\": \"unique-key-67890\"\n}\n```\n\n#### Complete Payment\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\u002Fcomplete\nContent-Type: application\u002Fjson\n\n{}\n```\n\n#### Cancel Payment\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fpayments\u002F{payment_id}\u002Fcancel\nContent-Type: application\u002Fjson\n\n{}\n```\n\n### Refunds\n\n#### List Refunds\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Frefunds\n```\n\n#### Get Refund\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Frefunds\u002F{refund_id}\n```\n\n#### Create Refund\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Frefunds\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-refund-key\",\n  \"payment_id\": \"{payment_id}\",\n  \"amount_money\": {\n    \"amount\": 500,\n    \"currency\": \"USD\"\n  },\n  \"reason\": \"Customer requested refund\"\n}\n```\n\n### Customers\n\n#### List Customers\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcustomers\n```\n\n#### Get Customer\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcustomers\u002F{customer_id}\n```\n\n#### Create Customer\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcustomers\nContent-Type: application\u002Fjson\n\n{\n  \"given_name\": \"John\",\n  \"family_name\": \"Doe\",\n  \"email_address\": \"john.doe@example.com\",\n  \"phone_number\": \"+15551234567\"\n}\n```\n\n#### Update Customer\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Fcustomers\u002F{customer_id}\nContent-Type: application\u002Fjson\n\n{\n  \"email_address\": \"john.updated@example.com\"\n}\n```\n\n#### Delete Customer\n\n```bash\nDELETE \u002Fsquareup\u002Fv2\u002Fcustomers\u002F{customer_id}\n```\n\n#### Search Customers\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcustomers\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"query\": {\n    \"filter\": {\n      \"email_address\": {\n        \"exact\": \"john.doe@example.com\"\n      }\n    }\n  }\n}\n```\n\n### Orders\n\n#### Create Order\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Forders\nContent-Type: application\u002Fjson\n\n{\n  \"order\": {\n    \"location_id\": \"{location_id}\",\n    \"line_items\": [\n      {\n        \"name\": \"Item 1\",\n        \"quantity\": \"1\",\n        \"base_price_money\": {\n          \"amount\": 1000,\n          \"currency\": \"USD\"\n        }\n      }\n    ]\n  },\n  \"idempotency_key\": \"unique-order-key\"\n}\n```\n\n#### Get Order\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Forders\u002F{order_id}\n```\n\n#### Update Order\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Forders\u002F{order_id}\nContent-Type: application\u002Fjson\n\n{\n  \"order\": {\n    \"location_id\": \"{location_id}\",\n    \"version\": 1\n  },\n  \"fields_to_clear\": [\"line_items\"]\n}\n```\n\n#### Search Orders\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Forders\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"location_ids\": [\"{location_id}\"],\n  \"query\": {\n    \"filter\": {\n      \"state_filter\": {\n        \"states\": [\"OPEN\"]\n      }\n    }\n  }\n}\n```\n\n#### Batch Retrieve Orders\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Forders\u002Fbatch-retrieve\nContent-Type: application\u002Fjson\n\n{\n  \"location_id\": \"{location_id}\",\n  \"order_ids\": [\"{order_id_1}\", \"{order_id_2}\"]\n}\n```\n\n### Catalog\n\n#### List Catalog\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Flist\n```\n\nWith type filter:\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Flist?types=ITEM,CATEGORY\n```\n\n#### Get Catalog Object\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fobject\u002F{object_id}\n```\n\n#### Upsert Catalog Object\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fobject\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-catalog-key\",\n  \"object\": {\n    \"type\": \"ITEM\",\n    \"id\": \"#new-item\",\n    \"item_data\": {\n      \"name\": \"Coffee\",\n      \"description\": \"Hot brewed coffee\",\n      \"variations\": [\n        {\n          \"type\": \"ITEM_VARIATION\",\n          \"id\": \"#small-coffee\",\n          \"item_variation_data\": {\n            \"name\": \"Small\",\n            \"pricing_type\": \"FIXED_PRICING\",\n            \"price_money\": {\n              \"amount\": 300,\n              \"currency\": \"USD\"\n            }\n          }\n        }\n      ]\n    }\n  }\n}\n```\n\n#### Delete Catalog Object\n\n```bash\nDELETE \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fobject\u002F{object_id}\n```\n\n#### Batch Upsert Catalog Objects\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fbatch-upsert\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-batch-key\",\n  \"batches\": [\n    {\n      \"objects\": [...]\n    }\n  ]\n}\n```\n\n#### Search Catalog Objects\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Fcatalog\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"object_types\": [\"ITEM\"],\n  \"query\": {\n    \"text_query\": {\n      \"keywords\": [\"coffee\"]\n    }\n  }\n}\n```\n\n#### Get Catalog Info\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fcatalog\u002Finfo\n```\n\n### Inventory\n\n#### Retrieve Inventory Count\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finventory\u002F{catalog_object_id}\n```\n\n#### Batch Retrieve Inventory Counts\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finventory\u002Fcounts\u002Fbatch-retrieve\nContent-Type: application\u002Fjson\n\n{\n  \"catalog_object_ids\": [\"{object_id_1}\", \"{object_id_2}\"],\n  \"location_ids\": [\"{location_id}\"]\n}\n```\n\n#### Batch Change Inventory\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finventory\u002Fchanges\u002Fbatch-create\nContent-Type: application\u002Fjson\n\n{\n  \"idempotency_key\": \"unique-inventory-key\",\n  \"changes\": [\n    {\n      \"type\": \"ADJUSTMENT\",\n      \"adjustment\": {\n        \"catalog_object_id\": \"{object_id}\",\n        \"location_id\": \"{location_id}\",\n        \"quantity\": \"10\",\n        \"from_state\": \"NONE\",\n        \"to_state\": \"IN_STOCK\"\n      }\n    }\n  ]\n}\n```\n\n#### Retrieve Inventory Adjustment\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finventory\u002Fadjustments\u002F{adjustment_id}\n```\n\n### Invoices\n\n#### List Invoices\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finvoices?location_id={location_id}\n```\n\n#### Get Invoice\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\n```\n\n#### Create Invoice\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\nContent-Type: application\u002Fjson\n\n{\n  \"invoice\": {\n    \"location_id\": \"{location_id}\",\n    \"order_id\": \"{order_id}\",\n    \"primary_recipient\": {\n      \"customer_id\": \"{customer_id}\"\n    },\n    \"payment_requests\": [\n      {\n        \"request_type\": \"BALANCE\",\n        \"due_date\": \"2026-02-15\"\n      }\n    ],\n    \"delivery_method\": \"EMAIL\"\n  },\n  \"idempotency_key\": \"unique-invoice-key\"\n}\n```\n\n#### Update Invoice\n\n```bash\nPUT \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\nContent-Type: application\u002Fjson\n\n{\n  \"invoice\": {\n    \"version\": 1,\n    \"payment_requests\": [\n      {\n        \"uid\": \"{payment_request_uid}\",\n        \"due_date\": \"2026-02-20\"\n      }\n    ]\n  },\n  \"idempotency_key\": \"unique-update-key\"\n}\n```\n\n#### Publish Invoice\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\u002Fpublish\nContent-Type: application\u002Fjson\n\n{\n  \"version\": 1,\n  \"idempotency_key\": \"unique-publish-key\"\n}\n```\n\n#### Cancel Invoice\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}\u002Fcancel\nContent-Type: application\u002Fjson\n\n{\n  \"version\": 1\n}\n```\n\n#### Delete Invoice\n\n```bash\nDELETE \u002Fsquareup\u002Fv2\u002Finvoices\u002F{invoice_id}?version=1\n```\n\n#### Search Invoices\n\n```bash\nPOST \u002Fsquareup\u002Fv2\u002Finvoices\u002Fsearch\nContent-Type: application\u002Fjson\n\n{\n  \"query\": {\n    \"filter\": {\n      \"location_ids\": [\"{location_id}\"],\n      \"customer_ids\": [\"{customer_id}\"]\n    }\n  }\n}\n```\n\n## Pagination\n\nSquare uses cursor-based pagination. List endpoints return a `cursor` field when more results exist:\n\n```bash\nGET \u002Fsquareup\u002Fv2\u002Fpayments?cursor={cursor_value}\n```\n\nResponse includes pagination info:\n\n```json\n{\n  \"payments\": [...],\n  \"cursor\": \"next_page_cursor_value\"\n}\n```\n\nContinue fetching by passing the cursor value in subsequent requests until no cursor is returned.\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()\n```\n\n## Notes\n\n- All amounts are in the smallest currency unit (e.g., cents for USD: 1000 = $10.00)\n- IDs are alphanumeric strings\n- Timestamps are in ISO 8601 format (e.g., `2026-02-07T01:59:28.459Z`)\n- Most write operations require an `idempotency_key` to prevent duplicate operations\n- Some endpoints require specific OAuth scopes (CUSTOMERS_READ, ORDERS_READ, ITEMS_READ, INVOICES_READ, etc.)\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets to disable glob parsing\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Square connection or bad request |\n| 401 | Invalid or missing Maton API key |\n| 403 | Insufficient OAuth scopes |\n| 404 | Resource not found |\n| 429 | Rate limited |\n| 4xx\u002F5xx | Passthrough error from Square API |\n\n### Error Response Format\n\n```json\n{\n  \"errors\": [\n    {\n      \"category\": \"INVALID_REQUEST_ERROR\",\n      \"code\": \"NOT_FOUND\",\n      \"detail\": \"Could not find payment with id: {payment_id}\"\n    }\n  ]\n}\n```\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython \u003C\u003C'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https:\u002F\u002Fctrl.maton.ai\u002Fconnections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `squareup`. For example:\n\n- Correct: `https:\u002F\u002Fgateway.maton.ai\u002Fsquareup\u002Fv2\u002Flocations`\n- Incorrect: `https:\u002F\u002Fgateway.maton.ai\u002Fv2\u002Flocations`\n\n### Troubleshooting: Insufficient Scopes\n\nIf you receive a 403 error with `INSUFFICIENT_SCOPES`, the OAuth connection doesn't have the required permissions. Create a new connection and ensure you grant all necessary permissions during OAuth authorization.\n\n## Resources\n\n- [Square API Overview](https:\u002F\u002Fdeveloper.squareup.com\u002Fdocs)\n- [Square API Reference](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare)\n- [Payments API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Fpayments-api)\n- [Customers API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Fcustomers-api)\n- [Orders API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Forders-api)\n- [Catalog API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Fcatalog-api)\n- [Inventory API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Finventory-api)\n- [Invoices API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Finvoices-api)\n- [Locations API](https:\u002F\u002Fdeveloper.squareup.com\u002Freference\u002Fsquare\u002Flocations-api)\n- [Maton Community](https:\u002F\u002Fdiscord.com\u002Finvite\u002FdBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n",{"name":5,"metadata":24,"description":32},{"author":25,"version":26,"clawdbot":27},"maton","1.0",{"emoji":28,"requires":29},"🧠",{"env":30},[31],"MATON_API_KEY","Square API integration with managed OAuth. Process payments, manage customers, orders, catalog, inventory, and invoices.\nUse this skill when users want to accept payments, manage point-of-sale operations, track inventory, or handle invoicing through Square.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.\n","main","54afe4b75ed2eb8f0feabb2f5b57dfa4bcbb3c44",".agents\u002Fskills\u002Fsquareup","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal","https:\u002F\u002Fgithub.com\u002Fmeghal86","2026-05-17 14:11:28",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add meghal86\u002Fstacksignal --skill squareup",{"tool":45,"command":46},"bunx","bunx skills add meghal86\u002Fstacksignal --skill squareup",{"tool":48,"command":49},"pnpm","pnpm dlx skills add meghal86\u002Fstacksignal --skill squareup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsquareup\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"_meta.json","REFERENCE","参考文档",446,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsquareup\u002F_meta.json",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",1072,[65,74,82,90,98,105],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"01M78XH0FRP65NYEDHF2BT7NB1","zvukogram","Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":73},"01M78XEND5ASXYB6MN8AQQGJAF","zohomail","Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels.\nUse this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":73},"01M78XEBBV3C6DRZFAJXP6RDKS","zoho-recruit","Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows.\nUse this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":73},"01M78XE5CQG75DZWYSKGXFR99T","zoho-people","Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave.\nUse this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":73},"01M78XDZKMZAJYFJJFT7MR5ZN2","zoho-mail","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":73},"01M78XDST8JK0WVDA1F3VPNWXD","zoho-inventory","Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments.\nUse this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FSKILL.md",[],[]]