Injects synthetic transactions into a sandbox-linked institution via Plaid's sandbox/transactions/create, then (by default) enqueues a transaction sync so they flow through the real ingestion pipeline — transformer, Spidr category mapping, and round-up processing — exactly like organic transactions. This endpoint is for sandbox/non-production environments only.
Flow:
- Link an institution with
session/create→session/simulate-link(withdynamicTransactions: true— Plaid only materializes created transactions onuser_transactions_dynamicitems; on the default canned user they are accepted but never appear) →session/complete - Call this endpoint with up to 10 transactions
- The enqueued sync ingests them; they appear in
GET :linkedInstitutionId/transactionswith Spidr categories
Category control: Plaid derives personal_finance_category from the description, so pick merchant-like descriptions ("Starbucks" → Food & Dining/Coffee Shops, "Uber" → Transportation/Rideshare & Taxi, "Netflix.com" → Entertainment, "Shell Oil" → Transportation/Gas & Fuel). Exact category assignment is Plaid's call — assert on the mapped Spidr category after sync rather than assuming.
Note: This endpoint will fail in production environments or when configured with a non-sandbox Plaid URL.