Understand how we identify recurring tansactions
intervalDays
: The number of days between recurring transactions
intervalType
: The type of recurrence pattern (weekly, biweekly, monthly, quarterly, etc.)
nextPaymentExpected
: The predicted date of the next payment in this pattern
recentRecurrences
: An array of up to 5 recent transactions in this pattern, including:
amount
: The transaction amountoccurredAt
: Timestamp of when the transaction occurredenrichmentId
: Spade’s unique identifier for the enrichmenttransactionId
: Your original transaction identifieroccurredAt
dates (not the date the transaction was backfilled). For historical recurring transactions, we need 3 or more transactions with matching characteristics to establish a recurring pattern. Please contact your account representative to discuss backfill approach.
recurrenceInfo
object for transactions that are part of a recurring pattern:
null
for the recurrenceInfo
object.
recurrenceInfo
object update with the new data:
recentRecurrences
object under the recurrenceInfo
object:
recentRecurrences
array will be updated with the new transactions, up to a maximum of 5.
In addition to predicting recurring transactions, we also use historical transactions to find recurring patterns. For example, if you send transactions for a user on 2024-07-01, 2024-08-01, 2024-09-01, and 2024-10-01, all with similar amounts, we will use the historical data to determine if the transaction is recurring. If so, it will mark the last transaction as recurring, and the intervalType
will be set to monthly.
userId
valuesamount
of the transactions are correctuserId
is consistent across transactionsoccurredAt
dates reflect the actual transaction dates