transactions resource provides methods for enriching raw transaction strings and managing enriched transaction records.
Enrich a Transaction
Transform a raw bank transaction string into structured data:Enrichment Options
Use theoptions field to control extraction behavior. You can skip entity types you don’t need or pre-fill known data to improve accuracy:
You cannot combine a filter (e.g.
noMerchant) with pre-filled data for the same entity type — the request will return a 422 validation error.p2p. Use true for a person-to-person transfer and false for a payment to a business. Leave it out when you don’t know:
Idempotent Enrichment
Pass anidempotencyKey to safely retry enrichment requests without consuming extra credits. The key must be unique per bank transaction: a retry of the same request with the same key returns the stored result without a charge, and the same key with a different request fails with DuplicateRequestError.
Cancel a Call
Every method accepts anAbortSignal in its last options argument. Aborting cancels the call, including while it waits its turn under pacing, between retries, or in flight. The call rejects with the signal’s reason (an AbortError by default):
List Transactions
Retrieve paginated lists of previously enriched transactions:Auto-Paginate
Usefor await...of to iterate through all pages automatically:
Count Transactions
Count your organization’s transactions. PassafterDate (an ISO 8601 string or a Date) to count only transactions created on or after it:
Get a Transaction
Retrieve a single enriched transaction by ID:Delete a Transaction
Remove a transaction record:Delete Transactions in Bulk
Delete many transactions in one request. Pass exactly one ofids (at most 1000 UUIDs), afterDate, or all: true:
ValidationError. A 503 means cleanup is incomplete. The SDK retries it automatically. If it still fails, call again with the same request. After a retry, count covers only the final attempt.