# Monato Direct Debit Documentation

This is the documentation site for the Monato Direct Debit Platform, built with [Redocly](https://redocly.com/).

## Quick Start

### Prerequisites

- Node.js 18+ and npm


### Install dependencies

```bash
npm install
```

### Preview locally

```bash
npx @redocly/cli preview
```

The site will be available at `http://localhost:4000`.

### Build for production

```bash
npx @redocly/cli build-docs
```

## Project Structure

```
monato-docs/
├── redocly.yaml          # Main Redocly configuration
├── sidebars.yaml         # Sidebar navigation structure
├── package.json          # Node.js dependencies
├── index.md              # Landing page
├── images/               # Logo and images
│   └── monato-logo.svg   # Company logo (placeholder)
└── docs/
├── index.md          # Documentation overview
├── why-monato.md     # Why Direct Debit with Monato?
├── how-it-works.md   # From Mandate to Settlement
├── getting-started.md # Downloads and specs
├── chargebacks.md    # Chargeback policies
├── bulk-collections/
│   ├── index.md      # Bulk collections overview
│   └── onboarding.md # SFTP onboarding guide
├── api/
│   ├── index.md      # API overview
│   ├── guides.md     # API guides
│   └── webhooks.md   # Webhook events
└── specs/
├── batch-files-column-specification.md
├── error-codes.md
├── institutions-list.md
└── times-and-settlements.md
```

## Deployment

This site can be deployed to any static hosting service:

- **Redocly Workflows**: Push to a connected Git repository
- **Netlify / Vercel**: Connect the repository and set build command to `npx @redocly/cli build-docs`
- **GitHub Pages**: Use GitHub Actions to build and deploy


## License

Copyright © 2025 Monato Capital. All rights reserved.