square.payments.observations. Seal a bearer credential with
PAYMENTS_READ. Bind /v2/payments at https://connect.squareup.com for production
or https://connect.squareupsandbox.com for sandbox. Bind a protected
data label for payment details.
The app reads Square’s 2026-09-16 List Payments endpoint and publishes
records by payment ID, with amounts retained in the API’s minor units.
It uses Square’s default creation-date window and follows the opaque
cursor within each walk. A completed walk starts over on the next poll.
The API is eventually consistent. Missing or aged-out payments stay
published. Configure 1–100 records per page within the 36 KiB limit.
Square List Payments
Write customers
Follow the native write mount guide. Use modesquare.customers.create-update-delete with providerWriter, endpoint https://connect.squareup.com and two writers. Use the production or sandbox Square origin and a sealed merchant bearer with Customers write access. Declare two providerWriter receivers with the same mode and label, one with group: "create" and one with group: "change", and pass them as receivers.writers["square.customers.create-update-delete"] = { create, change }. Send one customer object. HTTP 200 must return the customer ID for create and update. Delete accepts an HTTP 200 reply without provider errors for the exact customer.
Bijection puts the task’s scoped receiver key in Square’s idempotency_key field. The generated key is 44 ASCII characters. Supply the command’s logical identity as its once. Each task is sent at most once. Use Square’s customer version in updates that need concurrency control. Commands take up to 24 KiB of JSON and carry no read cursor.
Provider write API
Orders, catalog, inventory and customers
Use a separateproviderEndpoint and mount per mode. Bind the same Square origins as the Payments source, the listed bearer permission and a protected data label. Initialize with { profile: { mode: "provider", provider, limit: 10, selection } }. Omit selection for catalog and customers.
The modes retain Square’s opaque cursor for each walk and restart when it is absent. Missing objects remain landed. Configure 1–100 records within the 36 KiB response limit. Square treats some requested counts as advisory. Oversized responses do not advance the position.
Square catalog search · Square inventory counts