{
  "opencollection": "1.0.0",
  "info": {
    "name": "Montran Corporate Payments Portal API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Payments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Montran List corporate payments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/payments",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by payment status"
              },
              {
                "name": "paymentType",
                "value": "",
                "type": "query",
                "description": "Filter by payment type"
              },
              {
                "name": "bankId",
                "value": "",
                "type": "query",
                "description": "Filter by bank relationship"
              },
              {
                "name": "currency",
                "value": "",
                "type": "query"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a list of payments initiated through the corporate portal. Supports filtering by payment type, status, bank relationship, currency, and date range. Provides multi-bank payment visibility across all connected bank relationships."
        },
        {
          "info": {
            "name": "Montran Create a corporate payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/payments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new payment through the corporate portal. The payment is routed through the appropriate bank relationship and clearing system based on the payment type, destination, and currency. Supports domestic payments, cross-border SWIFT payments, SEPA transfers, and local ACH payments. The payment enters the approval workflow if configured."
        },
        {
          "info": {
            "name": "Montran Get payment details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/payments/:paymentId",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path",
                "description": "Unique payment identifier"
              }
            ]
          },
          "docs": "Retrieves the full details of a corporate payment including its approval status, bank submission status, and settlement information."
        }
      ]
    },
    {
      "info": {
        "name": "Approvals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Montran Approve a payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/payments/:paymentId/approve",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path",
                "description": "Unique payment identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Approves a payment that is pending approval. Multi-level approval workflows are supported based on the corporate's configured authorization matrix. Once all required approvals are obtained, the payment is automatically submitted to the bank."
        },
        {
          "info": {
            "name": "Montran Reject a payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/payments/:paymentId/reject",
            "params": [
              {
                "name": "paymentId",
                "value": "",
                "type": "path",
                "description": "Unique payment identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rejects a payment that is pending approval. The payment is returned to the initiator with the rejection reason."
        }
      ]
    },
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Montran List bank accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/accounts",
            "params": [
              {
                "name": "bankId",
                "value": "",
                "type": "query",
                "description": "Filter by bank relationship"
              },
              {
                "name": "currency",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a consolidated view of accounts across all connected bank relationships. Provides multi-bank visibility including account balances, currencies, and bank details."
        },
        {
          "info": {
            "name": "Montran Get bank account details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique account identifier"
              }
            ]
          },
          "docs": "Retrieves detailed information about a specific bank account including current balance, available balance, and recent transaction summary."
        },
        {
          "info": {
            "name": "Montran List account transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/accounts/:accountId/transactions",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the transaction history for a bank account. Supports date range filtering and pagination."
        }
      ]
    },
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Montran Upload a payment file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/files",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "format",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "bankId",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Uploads a payment file for batch processing. Supports various file formats for bulk payment initiation including CSV, XML (pain.001), and proprietary ERP export formats. Files are validated and individual payments are extracted and entered into the approval workflow."
        },
        {
          "info": {
            "name": "Montran Get file processing status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/files/:fileId",
            "params": [
              {
                "name": "fileId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the uploaded file"
              }
            ]
          },
          "docs": "Retrieves the processing status of an uploaded payment file including the number of payments extracted, validated, and any errors encountered during processing."
        }
      ]
    },
    {
      "info": {
        "name": "Beneficiaries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Montran List beneficiaries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/beneficiaries",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves the list of registered payment beneficiaries. Beneficiaries store pre-validated account details for recurring payment recipients."
        },
        {
          "info": {
            "name": "Montran Create a beneficiary",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/beneficiaries",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Registers a new payment beneficiary with pre-validated account details for use in future payments."
        }
      ]
    }
  ],
  "bundled": true
}