---
updatedAt: 2026-03-25T12:23:57.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# Update processing code

Update a processing code. Only fields passed are updated.

 This endpoint generates a [Orgs operation updated](https://developers.pismo.io/events/docs/orgs-operation-update-1) event.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Platform setup - Orgs operation",
    "description": "Orgs operations management endpoints.",
    "version": "v1.0",
    "contact": {
      "name": "Pismo Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo."
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io",
      "description": "Sandbox API server for testing"
    }
  ],
  "security": [
    {
      "S2SAuthentication": []
    }
  ],
  "tags": [
    {
      "name": "Processing codes",
      "description": "Manage processing codes"
    }
  ],
  "components": {
    "parameters": {
      "ProcessingCodePath": {
        "name": "processingCode",
        "in": "path",
        "required": true,
        "description": "Processing code ID",
        "schema": {
          "type": "string",
          "example": "PC0000"
        }
      }
    },
    "schemas": {
      "PartialReversalProcessingCode": {
        "type": "string",
        "description": "Partial reversal processing code. Processing code for partial reversal cancellation. Used in transactions and accounting flow to post the correct entries related to partial cancellation. \n\nEvery `AUTHORIZATION` processing code is **REQUIRED** to have a reversal and a partial reversal processing code. If a partial code isn't provided, a default one is assigned based on `balance_impact`. \n\nFor more information, refer to [default reversal processing codes](https://developers.pismo.io/pismo-docs/docs/processing-codes-and-transaction-types#default-reversal-processing-codes).\n",
        "example": "578739"
      },
      "PcDescription": {
        "type": "string",
        "maxLength": 50,
        "description": "Processing code description"
      },
      "ProcessingCodeUpdateRequest": {
        "type": "object",
        "properties": {
          "description": {
            "$ref": "#/components/schemas/PcDescription"
          },
          "reversal_processing_code": {
            "$ref": "#/components/schemas/ReversalProcessingCode"
          },
          "partial_reversal_processing_code": {
            "$ref": "#/components/schemas/PartialReversalProcessingCode"
          },
          "tags": {
            "$ref": "#/components/schemas/Tags"
          },
          "translations": {
            "$ref": "#/components/schemas/Translations"
          }
        }
      },
      "ReversalProcessingCode": {
        "type": "string",
        "minLength": 2,
        "maxLength": 6,
        "description": "Reversal processing code. Processing code for cancellation. Used in transactions and accounting flow to post the correct entries related to cancellation. \n\nEvery `AUTHORIZATION` processing code is **REQUIRED** to have a reversal and a partial reversal processing code. If a partial code isn't provided, a default one is assigned based on `balance_impact`. \n\nThe reversal processing code can either currently exist or not. If it exists, its `balance_impact` must be the opposite of the main processing code and its type must be `REVERSAL`.\n\nFor more information, refer to [default reversal processing codes](https://developers.pismo.io/pismo-docs/docs/processing-codes-and-transaction-types#default-reversal-processing-codes).\n",
        "example": "578739"
      },
      "Tags": {
        "type": "array",
        "description": "Processing code tags.  These tags apply **ONLY** to `AUTHORIZATION` type processing codes. You cannot add tags to reverse processing codes as they may be associated with more than one authorization processing code.\n",
        "items": {
          "type": "string",
          "description": "Processing code tag.",
          "enum": [
            "GLOBAL",
            "BRAZIL",
            "ARGENTINA",
            "INDIA",
            "NETWORK",
            "VISA",
            "MASTERCARD",
            "ELO",
            "RUPAY",
            "TECBAN",
            "UPI",
            "PIX",
            "FPS",
            "TRANSACTION_BANKING",
            "BNPL",
            "LENDING",
            "DEPRECATED"
          ],
          "example": "INDIA"
        }
      },
      "TranslatedLanguage": {
        "type": "string",
        "description": "Translation language. \n\nFor example, the code for English (United States) is `en-US`. The prefix, `en`, is a language code following the ISO 639-1 standard. The suffix, `US`, is a country code following the ISO 3166-1 Alpha-2 standard.\n",
        "example": "en-US"
      },
      "Translations": {
        "type": "array",
        "description": "Processing code descriptions translation in different languages",
        "items": {
          "type": "object",
          "properties": {
            "language": {
              "$ref": "#/components/schemas/TranslatedLanguage"
            },
            "description": {
              "type": "string",
              "maxLength": 50,
              "description": "Translated description"
            }
          }
        }
      },
      "HTTPError": {
        "type": "object",
        "description": "Code and error message.",
        "properties": {
          "code": {
            "type": "string",
            "description": "HTTP error code"
          },
          "message": {
            "type": "string",
            "description": "HTTP error message"
          }
        }
      }
    },
    "securitySchemes": {
      "S2SAuthentication": {
        "type": "http",
        "scheme": "bearer",
        "description": "All requests must be previously authenticated with an account token"
      }
    }
  },
  "paths": {
    "/orgs-operation/v1/processing-codes/{processingCode}": {
      "patch": {
        "summary": "Update processing code",
        "description": "Update a processing code. Only fields passed are updated.\n\n This endpoint generates a [Orgs operation updated](https://developers.pismo.io/events/docs/orgs-operation-update-1) event.\n",
        "operationId": "ProcessingCodeUpdate",
        "tags": [
          "Processing codes"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ProcessingCodePath"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcessingCodeUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad request error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    }
  }
}
```