Skip to main content
https://.thoughtindustries.com

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.

GEThttps://example.thoughtindustries.com/incoming/v2/ecommerce/nonRecurringPurchases

Example request

curl "https://example.thoughtindustries.com/incoming/v2/ecommerce/nonRecurringPurchases" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
cursorstringNoqueryOpaque cursor for the next page of results. Omit to fetch the first page.
querystringNoqueryFree-text search to filter transactions by keyword.

Example response

{
  "data": {
    "APIAnalyticsFoxyTransactionItems": {
      "pageInfo": {
        "total": 0,
        "hasMore": true,
        "cursor": "string"
      },
      "analyticsFoxyTransactionItems": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "amountCharged": 0,
          "amountDiscounted": 0,
          "amountNet": 0,
          "amountRefunded": 0,
          "amountTaxed": 0,
          "companyId": "00000000-0000-0000-0000-000000000000",
          "contentId": "00000000-0000-0000-0000-000000000000",
          "contentType": "string",
          "count": 0,
          "couponCode": "string",
          "couponId": "00000000-0000-0000-0000-000000000000",
          "createdAt": "2024-01-01T00:00:00.000Z",
          "currencyCode": "string",
          "currencyConfigurationId": "00000000-0000-0000-0000-000000000000",
          "currencyConfigurationName": "string",
          "currencyName": "string",
          "giftRecipientEmail": "string",
          "isBulkPurchase": true,
          "paymentGatewayId": "00000000-0000-0000-0000-000000000000",
          "paymentGatewayIsLive": true,
          "paymentGatewayName": "string",
          "paymentGatewaySubscriptionId": "string",
          "paymentGatewayTransactionId": "string",
          "paymentMethodId": "00000000-0000-0000-0000-000000000000",
          "paymentMethodName": "string",
          "purchaseType": "string",
          "quantity": 0,
          "storeId": "00000000-0000-0000-0000-000000000000",
          "storeName": "string",
          "subscriptionFailureMessage": "string",
          "subscriptionPeriod": "string",
          "success": true,
          "taxProviderName": "string",
          "title": "string",
          "transactionId": "string",
          "updatedAt": "2024-01-01T00:00:00.000Z",
          "userAddress": "string",
          "userId": "00000000-0000-0000-0000-000000000000",
          "variation": "string"
        }
      ]
    }
  }
}

Response fields

FieldTypeDescription
pageInfoobjectCursor-based pagination metadata for the result set.
pageInfo.totalintegerTotal number of records matching the query.
pageInfo.hasMorebooleanWhether additional pages of results are available.
pageInfo.cursorstringOpaque cursor to pass on the next request. Present when hasMore is true.
analyticsFoxyTransactionItemsobject[]Array of non-recurring purchase transaction items for the current page.
analyticsFoxyTransactionItems.iduuidIdentifier of the transaction item.
analyticsFoxyTransactionItems.amountChargednumberAmount charged.
analyticsFoxyTransactionItems.amountDiscountednumberAmount discounted.
analyticsFoxyTransactionItems.amountNetnumberNet amount.
analyticsFoxyTransactionItems.amountRefundednumberAmount refunded.
analyticsFoxyTransactionItems.amountTaxednumberAmount taxed.
analyticsFoxyTransactionItems.companyIduuidIdentifier of the company.
analyticsFoxyTransactionItems.contentIduuidIdentifier of the purchased content.
analyticsFoxyTransactionItems.contentTypestringType of the purchased content.
analyticsFoxyTransactionItems.countintegerCount associated with the item.
analyticsFoxyTransactionItems.couponCodestringCoupon code applied, if any.
analyticsFoxyTransactionItems.couponIduuidIdentifier of the applied coupon.
analyticsFoxyTransactionItems.createdAtISO 8601 timestampTimestamp when the transaction was created.
analyticsFoxyTransactionItems.currencyCodestringISO 4217 currency code.
analyticsFoxyTransactionItems.currencyConfigurationIduuidIdentifier of the currency configuration.
analyticsFoxyTransactionItems.currencyConfigurationNamestringName of the currency configuration.
analyticsFoxyTransactionItems.currencyNamestringName of the currency.
analyticsFoxyTransactionItems.giftRecipientEmailstringEmail of the gift recipient, if applicable.
analyticsFoxyTransactionItems.isBulkPurchasebooleanWhether the transaction was a bulk purchase.
analyticsFoxyTransactionItems.paymentGatewayIduuidIdentifier of the payment gateway.
analyticsFoxyTransactionItems.paymentGatewayIsLivebooleanWhether the payment gateway is in live mode.
analyticsFoxyTransactionItems.paymentGatewayNamestringName of the payment gateway.
analyticsFoxyTransactionItems.paymentGatewaySubscriptionIdstringSubscription identifier at the payment gateway.
analyticsFoxyTransactionItems.paymentGatewayTransactionIdstringTransaction identifier at the payment gateway.
analyticsFoxyTransactionItems.paymentMethodIduuidIdentifier of the payment method.
analyticsFoxyTransactionItems.paymentMethodNamestringName of the payment method.
analyticsFoxyTransactionItems.purchaseTypestringType of purchase.
analyticsFoxyTransactionItems.quantityintegerQuantity purchased.
analyticsFoxyTransactionItems.storeIduuidIdentifier of the store.
analyticsFoxyTransactionItems.storeNamestringName of the store.
analyticsFoxyTransactionItems.subscriptionFailureMessagestringFailure message for a subscription, if any.
analyticsFoxyTransactionItems.subscriptionPeriodstringSubscription period, if applicable.
analyticsFoxyTransactionItems.successbooleanWhether the transaction succeeded.
analyticsFoxyTransactionItems.taxProviderNamestringName of the tax provider.
analyticsFoxyTransactionItems.titlestringTitle of the purchased item.
analyticsFoxyTransactionItems.transactionIdstringIdentifier of the transaction.
analyticsFoxyTransactionItems.updatedAtISO 8601 timestampTimestamp when the transaction was last updated.
analyticsFoxyTransactionItems.userAddressstringAddress of the purchasing user.
analyticsFoxyTransactionItems.userIduuidIdentifier of the purchasing user.
analyticsFoxyTransactionItems.variationstringVariation of the purchased item.

Note: Unlike other list endpoints, this endpoint currently returns the raw GraphQL envelope (data.APIAnalyticsFoxyTransactionItems) because the controller's resultKey does not match the resolver field (ti/incoming/controllers/ecommercev2.ts:68). The shape above reflects the actual response.