---
updatedAt: 2025-06-17T13:56:37.000Z
agentTools:
  projectIndex: https://www.payretailers.dev/llms.txt
---

# Deactivate Virtual Account

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "customer-module",
    "version": "3.3"
  },
  "servers": [
    {
      "url": "https://api-sandbox.payretailers.com/api/v1/customers"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/{uniqueCustomerIdentifier}/virtual-accounts/{virtualAccountId}/deactivate": {
      "patch": {
        "summary": "Deactivate Virtual Account",
        "description": "",
        "operationId": "deactivate-virtual-account",
        "parameters": [
          {
            "name": "uniqueCustomerIdentifier",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "virtualAccountId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Ocp-Apim-Subscription-Key",
            "in": "header",
            "description": "The subscription key has a length of 32 characters and will be provided within the API keys. Will be available for new integrations from July 24th onwards.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {},
              "examples": {
                "Request Example": {
                  "value": {
                    "deactivationReason": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```