Skip to main content
The Paycheck-Linked Loans demo shows how to verify income and configure automatic loan repayment via payroll deductions in one Bridge flow. Payments start on the next pay cycle once the applicant connects their payroll provider. 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 "Consumer Credit" → "Paycheck-Linked Loans"
Paycheck-Linked Loans demo

Flow

1

Create user and bridge token

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

Applicant connects payroll provider

Bridge opens. The applicant selects their employer, logs in, and authorizes the payroll deduction.Sandbox credentials: goodlogin / goodpassword
3

Receive webhook and fetch reports

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