Skip to main content

Documentation Index

Fetch the complete documentation index at: https://sammydocs.mintlify.app/llms.txt

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

Key Features

Bank Account Linking

Connect users’ bank accounts with a pre-built, secure interface

Direct Debit

Process one-time or recurring payments directly from connected accounts

Framework Agnostic

Works seamlessly with React, Angular, Next.js, and other JavaScript frameworks

Event Tracking

Monitor the connection process with detailed event callbacks

Installation

# Using npm
npm install @mono.co/connect.js

# Using yarn
yarn add @mono.co/connect.js

Quick Implementation

import Connect from '@mono.co/connect.js'

const connect = new Connect({
  key: "YOUR_PUBLIC_KEY",
  onSuccess: ({code}) => console.log(`Connected successfully: ${code}`),
  onClose: () => console.log("Widget closed"),
  onLoad: () => console.log("Widget loaded successfully")
})

connect.setup()

Core Features

Secure Authentication

  • Pre-built UI for bank selection and authentication
  • Support for multiple authentication methods
  • Built-in security best practices

Payment Integration

  • Direct debit support for both one-time and recurring payments
  • Secure payment processing
  • Customizable payment flows

Event Tracking

Monitor the entire connection process with events for:
  • Widget states (loaded, opened, closed)
  • User actions (institution selected, authentication attempts)
  • Success and error states
  • Account linking status

Getting Started

1

Sign Up

Create an account on the Mono Dashboard
2

Get Your Keys

Obtain your public and secret keys from the dashboard
3

Install

Add the Connect.js package to your project
4

Integrate

Follow our quickstart guide to implement Connect.js

Requirements

  • Node.js 10 or higher
  • A Mono account with API credentials

Support

Need help? We’re here for you:

Version 2.0.2 - Public Beta

Version 2.0.2 is currently in public beta. While it’s available for testing and feedback, please be aware that features may change before the final release.