Squarespace - Get Transactions
Description
Section titled “Description”This module allows querying payment transactions from a Squarespace store. It includes sales, refunds, and other financial movements.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- API Key: Squarespace API key
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Squarespace credentials |
| transaction_id | string | No | Specific transaction ID |
| modifiedAfter | string | No | Transactions after (ISO 8601) |
| modifiedBefore | string | No | Transactions before (ISO 8601) |
| cursor | string | No | Pagination cursor |
Output
Section titled “Output”{ "success": true, "transactions": [...], "count": 100, "total_amount": "5432.10", "total_sales": 95, "total_refunds": 5, "hasNextPage": true, "nextCursor": "abc123...", "message": "100 transactions retrieved"}Transaction Fields
Section titled “Transaction Fields”id: Transaction IDcreatedOn: Transaction datemodifiedOn: Modification datesalesOrderId: Associated order IDtotal: Total amountcustomerEmail: Customer emailpaymentState: Payment statelineItems: Item details
Usage Example
Section titled “Usage Example”Get all transactions
Section titled “Get all transactions”{}Specific transaction
Section titled “Specific transaction”{ "transaction_id": "5f3e..."}Last month’s transactions
Section titled “Last month’s transactions”{ "modifiedAfter": "2024-01-01T00:00:00Z", "modifiedBefore": "2024-01-31T23:59:59Z"}API Used
Section titled “API Used”- Endpoint:
GET /1.0/commerce/transactions - Documentation: Squarespace Transactions API
- Transactions are read-only
- Refunds appear as transactions with negative amounts
- The
total_amountfield is the sum of all transactions total_salesandtotal_refundsare calculated counters- Includes transactions for physical products, digital products, and subscriptions
Related Nodes
Section titled “Related Nodes”- SquarespaceGetOrders - Get orders associated with transactions
- SquarespaceGetProfiles - Get customer profile of a transaction