Skip to main content

Documentation Index

Fetch the complete documentation index at: https://truv.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Direct Deposit Switch demo shows how a new customer connects their payroll provider and redirects their direct deposit routing to your bank. The change takes effect on the next pay cycle. Source: GitHub
git clone https://github.com/truvhq/demo-apps.git
cd demo-apps && npm install && cp .env.example .env
npm start && npm run dev  # select "Retail Banking" → "Direct Deposit Switch"
Direct Deposit Switch demo

Flow

1

Create user and bridge token

The backend creates a user and generates a bridge token with product_type: deposit_switch.
POST /v1/users/
POST /v1/users/{id}/tokens/
# { product_type: "deposit_switch", account_details: true }
2

Customer connects payroll provider

Bridge opens. The customer selects their employer and logs in to authorize the deposit switch.Sandbox credentials: goodlogin / goodpassword
3

Receive webhook and confirm switch

task-status-updated fires on completion. Fetch the deposit switch report.
GET /v1/users/{user_id}/deposit_switch/report/
Integration pattern: Bridge Widget | Products: DDS