> ## Documentation Index
> Fetch the complete documentation index at: https://developer.moneyone.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> AA-first orchestration with automatic PDF statement-upload fallback, unified under a single transactionId.

This section describes the **AA + PDF** orchestration flow. The journey attempts to fetch financial
data through the **Account Aggregator (AA)** network first. If AA cannot deliver (for example, an
unhealthy FIP, a rejected consent, or no data), a built-in **smart router** automatically falls back
to a **PDF statement upload** so the user can still complete the journey.

<Note>
  Both AA and PDF appear in every contract on these pages. A single, unified `transactionId` ties the
  whole journey together — you use the same identifier for status polling, raw data fetch, and analytics,
  regardless of whether the data ultimately arrived via AA or PDF.
</Note>

## Integration Flow

A complete journey is tied together by the single `transaction_id` returned in step 1.
AA is attempted first; the smart router transparently falls back to a PDF statement upload
when AA cannot deliver — all within the same journey and the same `transaction_id`.

<Steps>
  <Step title="Initiate Consent">
    Call `POST /v3/requestconsent` to start the journey and receive a `transaction_id`. See
    [Initiate Consent](./initiate-consent).
  </Step>

  <Step title="Redirect the user">
    Send the user to `webRedirectionUrl` to complete the AA consent journey. See
    [User Redirection](./user-redirection).
  </Step>

  <Step title="Smart routing & fallback">
    AA is attempted first. If AA cannot deliver, the smart router falls back to PDF statement upload
    within the same journey.
  </Step>

  <Step title="Track status">
    Monitor completion via webhook (recommended), status polling, or in-iframe UI events —
    all covered on the [Track Status](./track-status) page. Each surfaces the AA block,
    the PDF block, and the routing decision.
  </Step>

  <Step title="Fetch data">
    Once the journey is `SUCCESS`, retrieve the raw FI data or normalized analytics —
    both on the [Fetch Data](./fetch-data) page.
  </Step>
</Steps>

## Pages in this section

| Page                                   | Description                                                                                                         |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [Initiate Consent](./initiate-consent) | Start the journey and obtain a `transaction_id`.                                                                    |
| [User Redirection](./user-redirection) | Redirect the user and handle the callback.                                                                          |
| [Track Status](./track-status)         | Track the journey via webhook, status polling, or in-iframe UI events — covering AA, PDF, and the routing decision. |
| [Fetch Data](./fetch-data)             | Retrieve raw FI data (`dataSource` of `AA` or `PDF`) or normalized analytics.                                       |

## Base URL

<Info>
  Base URL (UAT / Production): **Contact [support@moneyone.in](mailto:support@moneyone.in)**
</Info>

## Common Headers

Every API request on these pages uses the following headers:

| Header           | Description          |
| ---------------- | -------------------- |
| `Content-Type`   | `application/json`   |
| `client_id`      | Your client ID       |
| `client_secret`  | Your client secret   |
| `organisationId` | Your organisation ID |
| `appIdentifier`  | Your app identifier  |

<Note>
  Analytics and data endpoints also accept an optional `x-request-id` header for request tracing.
</Note>

## Quick Reference

### Endpoints

| Action                  | Method | Endpoint              |
| ----------------------- | ------ | --------------------- |
| Initiate Consent        | POST   | `/v3/requestconsent`  |
| Check Status            | POST   | `/transaction/status` |
| Fetch Raw FI Data       | POST   | `/getallfidata`       |
| Fetch Analytics (JSON)  | POST   | `/analytics/json`     |
| Fetch Analytics (XML)   | POST   | `/analytics/xml`      |
| Fetch Analytics (Excel) | POST   | `/analytics/excel`    |

### Required Headers

| Header           | Required |
| ---------------- | -------- |
| `Content-Type`   | Yes      |
| `client_id`      | Yes      |
| `client_secret`  | Yes      |
| `organisationId` | Yes      |
| `appIdentifier`  | Yes      |

<Card title="Need Help?" icon="headset" href="mailto:support@moneyone.in">
  Contact [support@moneyone.in](mailto:support@moneyone.in) for technical assistance or integration queries.
</Card>
