{
  "opencollection": "1.0.0",
  "info": {
    "name": "Montran Corporate Payments Portal Account Information Virtual Accounts API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Virtual Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Montran List virtual accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/virtual-accounts",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by account status"
              },
              {
                "name": "currency",
                "value": "",
                "type": "query",
                "description": "Filter by ISO 4217 currency code"
              },
              {
                "name": "parentAccountId",
                "value": "",
                "type": "query",
                "description": "Filter by parent physical account"
              },
              {
                "name": "accountHolder",
                "value": "",
                "type": "query",
                "description": "Filter by account holder name"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a list of virtual accounts managed on the platform. Supports filtering by status, currency, parent account, and account holder. Returns account details including virtual IBAN, balance, and hierarchy information."
        },
        {
          "info": {
            "name": "Montran Create a virtual account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/virtual-accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new virtual account mapped to an existing physical bank account. The virtual account can optionally be assigned a Virtual IBAN for receiving incoming payments. Supports multi-currency virtual accounts and can be configured for POBO/COBO, escrow, or general segregation purposes."
        },
        {
          "info": {
            "name": "Montran Get virtual account details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.montran.com/corporate/v1/virtual-accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the virtual account"
              }
            ]
          },
          "docs": "Retrieves the full details of a specific virtual account including its virtual IBAN, mapped physical account, balance, transaction history summary, and position within the account hierarchy."
        },
        {
          "info": {
            "name": "Montran Update a virtual account",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.montran.com/corporate/v1/virtual-accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the virtual account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of a virtual account including its name, metadata, and allocation rules. Cannot change the mapped physical account or virtual IBAN."
        },
        {
          "info": {
            "name": "Montran Close a virtual account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.montran.com/corporate/v1/virtual-accounts/:accountId/close",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the virtual account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Closes a virtual account. The account must have a zero balance before it can be closed. Any associated virtual IBANs are deactivated upon closure."
        }
      ]
    }
  ],
  "bundled": true
}