Leo1 Enach API

The Enach API from Leo1 — 4 operation(s) for enach.

Operations 4

POST /api/v1/enach/initiate Initiate Enach #
POST /api/v1/enach/create_schedule Create Enach Schedule #
GET /api/v1/enach/debit_frequencies Get Debit Frequencies #
POST /api/v1/enach/preview_debit_schedule Preview Debit Schedule #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/leo1-enach-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

leo1-enach-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: leofees_backend Enach API
  version: version
  description: General system endpoints for the API.
servers:
- url: https://api.leo1.in
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Enach
paths:
  /api/v1/enach/initiate:
    post:
      tags:
      - Enach
      summary: Initiate Enach
      operationId: initiate_enach_api_v1_enach_initiate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InitiateEnachRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/enach/create_schedule:
    post:
      tags:
      - Enach
      summary: Create Enach Schedule
      operationId: create_enach_schedule_api_v1_enach_create_schedule_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEnachScheduleRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/enach/debit_frequencies:
    get:
      tags:
      - Enach
      summary: Get Debit Frequencies
      operationId: get_debit_frequencies_api_v1_enach_debit_frequencies_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/v1/enach/preview_debit_schedule:
    post:
      tags:
      - Enach
      summary: Preview Debit Schedule
      operationId: preview_debit_schedule_api_v1_enach_preview_debit_schedule_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreviewDebitScheduleRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
    DebitFrequencyEnum:
      title: DebitFrequencyEnum
      enum:
      - 1
      - 3
      - 6
      - 12
      description: An enumeration.
    ValidationError:
      title: ValidationError
      required:
      - loc
      - msg
      - type
      type: object
      properties:
        loc:
          title: Location
          type: array
          items:
            anyOf:
            - type: string
            - type: integer
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
    PreviewDebitScheduleRequest:
      title: PreviewDebitScheduleRequest
      required:
      - amount
      - frequency
      - num_installments
      - debit_start_date
      type: object
      properties:
        amount:
          title: Amount
          type: number
        frequency:
          $ref: '#/components/schemas/DebitFrequencyEnum'
        num_installments:
          title: Num Installments
          type: integer
        debit_start_date:
          title: Debit Start Date
          type: string
    InitiateEnachRequest:
      title: InitiateEnachRequest
      required:
      - debit_frequency
      - num_installments
      - debit_start_date
      - amount
      - paid_txn_log_id
      - fee_txn_id
      - surl
      - furl
      type: object
      properties:
        debit_frequency:
          $ref: '#/components/schemas/DebitFrequencyEnum'
        num_installments:
          title: Num Installments
          type: integer
        debit_start_date:
          title: Debit Start Date
          type: string
        amount:
          title: Amount
          type: number
        paid_txn_log_id:
          title: Paid Txn Log Id
          type: integer
        fee_txn_id:
          title: Fee Txn Id
          type: integer
        surl:
          title: Surl
          type: string
        furl:
          title: Furl
          type: string
    CreateEnachScheduleRequest:
      title: CreateEnachScheduleRequest
      required:
      - customer_auth_id
      - txn_log
      - auto_debit_access_key
      type: object
      properties:
        customer_auth_id:
          title: Customer Auth Id
          type: string
        txn_log:
          title: Txn Log
          type: integer
        auto_debit_access_key:
          title: Auto Debit Access Key
          type: string
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: secret-key