Montran · Capability

Montran Corporate Payments Portal API — Files

Montran Corporate Payments Portal API — Files. 2 operations. Lead operation: Montran Upload a payment file. Self-contained Naftiko capability covering one Montran business surface.

Run with Naftiko MontranFiles

What You Can Do

POST
Uploadpaymentfile — Montran Upload a payment file
/v1/files
GET
Getfilestatus — Montran Get file processing status
/v1/files/{fileid}

MCP Tools

montran-upload-payment-file

Montran Upload a payment file

montran-get-file-processing-status

Montran Get file processing status

read-only idempotent

Capability Spec

corporate-payments-portal-files.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Montran Corporate Payments Portal API — Files
  description: 'Montran Corporate Payments Portal API — Files. 2 operations. Lead operation: Montran Upload a payment file.
    Self-contained Naftiko capability covering one Montran business surface.'
  tags:
  - Montran
  - Files
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MONTRAN_API_KEY: MONTRAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: corporate-payments-portal-files
    baseUri: https://api.montran.com/corporate/v1
    description: Montran Corporate Payments Portal API — Files business capability. Self-contained, no shared references.
    resources:
    - name: files
      path: /files
      operations:
      - name: uploadpaymentfile
        method: POST
        description: Montran Upload a payment file
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: files-fileId
      path: /files/{fileId}
      operations:
      - name: getfilestatus
        method: GET
        description: Montran Get file processing status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fileId
          in: path
          type: string
          description: Unique identifier of the uploaded file
          required: true
    authentication:
      type: bearer
      token: '{{env.MONTRAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: corporate-payments-portal-files-rest
    port: 8080
    description: REST adapter for Montran Corporate Payments Portal API — Files. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/files
      name: files
      description: REST surface for files.
      operations:
      - method: POST
        name: uploadpaymentfile
        description: Montran Upload a payment file
        call: corporate-payments-portal-files.uploadpaymentfile
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files/{fileid}
      name: files-fileid
      description: REST surface for files-fileId.
      operations:
      - method: GET
        name: getfilestatus
        description: Montran Get file processing status
        call: corporate-payments-portal-files.getfilestatus
        with:
          fileId: rest.fileId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: corporate-payments-portal-files-mcp
    port: 9090
    transport: http
    description: MCP adapter for Montran Corporate Payments Portal API — Files. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: montran-upload-payment-file
      description: Montran Upload a payment file
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: corporate-payments-portal-files.uploadpaymentfile
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: montran-get-file-processing-status
      description: Montran Get file processing status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: corporate-payments-portal-files.getfilestatus
      with:
        fileId: tools.fileId
      outputParameters:
      - type: object
        mapping: $.