List Non-Recurring Purchases
Returns a paginated list of non-recurring (one-time) purchase transaction items for reporting and reconciliation
List non-recurring purchases (one-time payments), paginated. Used for reporting and reconciliation.
GET
https://example.thoughtindustries.com/incoming/v2/ecommerce/nonRecurringPurchasesExample request
curl "https://example.thoughtindustries.com/incoming/v2/ecommerce/nonRecurringPurchases" \
-H 'Authorization: Bearer YOUR_API_KEY'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
cursor | string | No | query | Pagination cursor. |
page | integer | No | query | Page number (alternative to cursor). |
query | string | No | query | Free-text search to filter transactions by keyword. |
Example response
{
"data": {
"APIAnalyticsFoxyTransactionItemsQuery": {
"pageInfo": {
"perPage": 25,
"currentPage": 1,
"total": 142,
"hasMore": true
},
"analyticsFoxyTransactionItems": [
{
"amountCharged": 49.99,
"amountDiscounted": 0,
"amountNet": 49.99,
"amountRefunded": 0,
"amountTaxed": 4.50,
"companyId": "c1ie7700-1111-2222-3333-444455556666",
"contentId": "8f2a1c34-5b6d-4e7f-9a01-2b3c4d5e6f70",
"contentType": "course",
"count": 1,
"couponCode": null,
"couponId": null,
"createdAt": "2026-01-15T10:30:00.000Z",
"currencyCode": "USD",
"currencyConfigurationId": "cc000000-0000-0000-0000-000000000001",
"currencyConfigurationName": "US Dollar",
"currencyName": "US Dollar",
"giftRecipientEmail": null,
"id": "txn00000-1111-2222-3333-444455556666",
"isBulkPurchase": false,
"paymentGatewayId": "pg000000-0000-0000-0000-000000000001",
"paymentGatewayIsLive": true,
"paymentGatewayName": "Stripe",
"paymentGatewaySubscriptionId": null,
"paymentGatewayTransactionId": "pi_3abc123def456",
"paymentMethodId": "pm000000-0000-0000-0000-000000000001",
"paymentMethodName": "Credit Card",
"purchaseType": "individual",
"quantity": 1,
"storeId": "st000000-0000-0000-0000-000000000001",
"storeName": "Main Store",
"subscriptionFailureMessage": null,
"subscriptionPeriod": null,
"success": true,
"taxProviderName": "Avalara",
"title": "Onboarding Essentials",
"transactionId": "txn00000-1111-2222-3333-444455556666",
"updatedAt": "2026-01-15T10:30:00.000Z",
"userAddress": "123 Main St, Springfield, IL 62701",
"userId": "u0000000-1111-2222-3333-444455556666",
"variation": null
}
]
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo | Pagination metadata for the result set. |
pageInfo.perPage | integer | Number of items returned per page. |
pageInfo.currentPage | integer | The current page number in the result set. |
pageInfo.total | integer | Total number of transaction items matching the query. |
pageInfo.hasMore | boolean | Indicates whether additional pages of results are available. |
analyticsFoxyTransactionItems | AnalyticsFoxyTransactionItem[] | Array of non-recurring purchase transaction items. |
analyticsFoxyTransactionItems.amountCharged | number | Total amount charged to the buyer for this transaction item, in the transaction currency. |
analyticsFoxyTransactionItems.amountDiscounted | number | Total discount amount applied to this transaction item, in the transaction currency. |
analyticsFoxyTransactionItems.amountNet | number | Net amount after discounts and refunds, in the transaction currency. |
analyticsFoxyTransactionItems.amountRefunded | number | Total amount refunded for this transaction item, in the transaction currency. |
analyticsFoxyTransactionItems.amountTaxed | number | Tax amount applied to this transaction item, in the transaction currency. |
analyticsFoxyTransactionItems.companyId | string | Unique identifier of the company associated with this transaction. |
analyticsFoxyTransactionItems.contentId | string | Unique identifier of the purchased content item (e.g., course or bundle). |
analyticsFoxyTransactionItems.contentType | string | Type of content purchased, such as a course or learning path. |
analyticsFoxyTransactionItems.count | integer | Number of transaction records aggregated in this item. |
analyticsFoxyTransactionItems.couponCode | string | Coupon code applied to this transaction, if any. |
analyticsFoxyTransactionItems.couponId | string | Unique identifier of the coupon applied to this transaction. |
analyticsFoxyTransactionItems.createdAt | string | ISO 8601 timestamp indicating when this transaction item was created. |
analyticsFoxyTransactionItems.currencyCode | string | ISO 4217 currency code for the transaction (e.g., USD). |
analyticsFoxyTransactionItems.currencyConfigurationId | string | Unique identifier of the currency configuration used for this transaction. |
analyticsFoxyTransactionItems.currencyConfigurationName | string | Display name of the currency configuration used for this transaction. |
analyticsFoxyTransactionItems.currencyName | string | Human-readable name of the currency used in this transaction. |
analyticsFoxyTransactionItems.giftRecipientEmail | string | Email address of the gift recipient, if this was a gift purchase. |
analyticsFoxyTransactionItems.id | string | Unique identifier of this transaction item. |
analyticsFoxyTransactionItems.isBulkPurchase | boolean | Indicates whether this transaction was part of a bulk purchase. |
analyticsFoxyTransactionItems.paymentGatewayId | string | Unique identifier of the payment gateway that processed this transaction. |
analyticsFoxyTransactionItems.paymentGatewayIsLive | boolean | Indicates whether the payment gateway was operating in live (production) mode. |
analyticsFoxyTransactionItems.paymentGatewayName | string | Display name of the payment gateway that processed this transaction. |
analyticsFoxyTransactionItems.paymentGatewaySubscriptionId | string | Payment gateway's identifier for the associated subscription, if applicable. |
analyticsFoxyTransactionItems.paymentGatewayTransactionId | string | Payment gateway's identifier for this specific transaction. |
analyticsFoxyTransactionItems.paymentMethodId | string | Unique identifier of the payment method used in this transaction. |
analyticsFoxyTransactionItems.paymentMethodName | string | Display name of the payment method used in this transaction (e.g., Credit Card). |
analyticsFoxyTransactionItems.purchaseType | string | Classification of the purchase type (e.g., individual or gift). |
analyticsFoxyTransactionItems.quantity | integer | Number of units purchased in this transaction item. |
analyticsFoxyTransactionItems.storeId | string | Unique identifier of the store where the purchase was made. |
analyticsFoxyTransactionItems.storeName | string | Display name of the store where the purchase was made. |
analyticsFoxyTransactionItems.subscriptionFailureMessage | string | Error message describing why a subscription payment failed, if applicable. |
analyticsFoxyTransactionItems.subscriptionPeriod | string | Billing period of the subscription associated with this transaction, if applicable. |
analyticsFoxyTransactionItems.success | boolean | Indicates whether the transaction completed successfully. |
analyticsFoxyTransactionItems.taxProviderName | string | Name of the tax provider used to calculate tax for this transaction. |
analyticsFoxyTransactionItems.title | string | Display title of the purchased content item. |
analyticsFoxyTransactionItems.transactionId | string | Unique identifier of the parent transaction containing this item. |
analyticsFoxyTransactionItems.updatedAt | string | ISO 8601 timestamp indicating when this transaction item was last updated. |
analyticsFoxyTransactionItems.userAddress | string | Billing address of the user who made the purchase. |
analyticsFoxyTransactionItems.userId | string | Unique identifier of the user who made the purchase. |
analyticsFoxyTransactionItems.variation | string | Product variation selected at the time of purchase, if applicable. |