Sync payments data with Square through Apideck's unified API. One integration, instant access.
List, Create, Get, Update operations available through our unified API
Fields available for Square Payments
idorder_idcustomer_idlocation_idamountcurrencystatuscard_detailsupdated_atcreated_atSample response structure for payments
{
"id": "12345",
"order_id": "12345",
"customer_id": "12345",
"location_id": "12345",
"amount": 100,
"currency": "USD",
"status": "active",
"card_details": "string",
"updated_at": "2024-01-15T10:30:00.000Z",
"created_at": "2024-01-15T10:30:00.000Z"
}Start syncing Square payments in minutes
import { Apideck } from '@apideck/unify'
const apideck = new Apideck({
apiKey: process.env.APIDECK_API_KEY,
appId: 'YOUR_APP_ID',
consumerId: 'YOUR_CONSUMER_ID'
})
// List payments from Square
const result = await apideck.pos.payments.list({
serviceId: 'square'
})
for await (const page of result) {
console.log(page)
}
// Returns unified payments dataDiscover the most popular ways businesses integrate Square payments data
We build and maintain connectors, so you don't have to. View our full list of POS connectors.
Missing a connector? We're able to add new connectors.
Build Square integrations in your favorite language with our official SDKs.
Build Square integrations with the official Node.js SDK.
Build Square integrations with the official TypeScript SDK.
Build Square integrations with the official PHP SDK.
Build Square integrations with the official .NET.
Build Square integrations with the official Python SDK.
Build Square integrations with the official Java SDK.
Build Square integrations with the official Go SDK.