---
updatedAt: 2026-09-23T20:14:23.000Z
agentTools:
  projectIndex: https://mediroutes-api.readme.io/llms.txt
---

# Deactivate Funding Source

Deactivates an existing funding source. Note.. You must have the ability to manage users

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "V1",
    "title": "MediroutesAPI V1"
  },
  "paths": {
    "/api/v{version}/fundingsources": {
      "delete": {
        "tags": [
          "FundingSource"
        ],
        "summary": "Deactivate Funding Source",
        "description": "Deactivates an existing funding source. Note.. You must have the ability to manage users",
        "operationId": "delete-fundingsource",
        "parameters": [
          {
            "name": "api_key",
            "in": "query",
            "description": "[required]",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "funding_source_name",
            "in": "query",
            "description": "[required] Name of the funding source to deactivate.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "access token",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Result Message",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          },
          "401": {
            "description": "User management is not allowed for this api_key."
          },
          "403": {
            "description": "The api key used does not have access to this resource."
          }
        },
        "x-ai-description": "Soft-deactivates a funding source identified by funding_source_name (not a hard delete - it remains visible via includeInactiveFundingSources). Requires user-management permission (401 without it).",
        "x-ai-when-to-use": "The user asks to deactivate/retire a funding source and you know it by NAME. Use deactivateFundingSourceById when you have the id. Administrative - confirm intent.",
        "x-ai-side-effects": "deactivates-funding-source",
        "x-ai-returns": "ApiResponse with a success message.",
        "x-ai-required-permission": "billingAndPayers",
        "x-ai-inputs": [
          {
            "name": "funding_source_name",
            "label": "Funding Source Name",
            "control": "text"
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.mediroutes.com"
    }
  ],
  "components": {
    "schemas": {
      "ApiResponse": {
        "type": "object",
        "properties": {
          "StatusCode": {
            "format": "int32",
            "type": "integer"
          },
          "Message": {
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```