---
updatedAt: 2025-06-16T23:24:39.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# /api/extension/hooks/Merchants.MoneyOut.SaveAdjustments

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Extension Hooks",
    "version": "extensionHooks"
  },
  "servers": [
    {
      "url": "https://{clientId}.corpadmin.directscalestage.com",
      "variables": {
        "clientId": {
          "default": "clientId"
        }
      }
    }
  ],
  "paths": {
    "/api/extension/hooks/Merchants.MoneyOut.SaveAdjustments": {
      "post": {
        "tags": [
          "MoneyOutHooksCallback"
        ],
        "operationId": "MoneyOutHooksCallback_SaveAdjustments",
        "parameters": [
          {
            "name": "X-DirectScale-CallbackToken",
            "in": "header",
            "description": "One-time use token. This value is sent to the endpoint configured for the hook.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-DirectScale-User",
            "in": "header",
            "description": "Sets the User Context of the request when a username is provided",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DirectScale.Disco.Extension.Hooks.Merchants.MoneyOut.SaveAdjustmentsHookRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DirectScale.Disco.Extension.Hooks.Merchants.MoneyOut.SaveAdjustmentsHookResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Extension_Token": []
          }
        ],
        "x-codegen-request-body-name": "request"
      }
    }
  },
  "components": {
    "schemas": {
      "DirectScale.Disco.Extension.Hooks.Merchants.MoneyOut.SaveAdjustmentsHookRequest": {
        "type": "object",
        "properties": {
          "Adjustments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.Adjustment"
            }
          },
          "SingleAdjustmentOnly": {
            "type": "boolean"
          }
        }
      },
      "DirectScale.Disco.Extension.Adjustment": {
        "type": "object",
        "properties": {
          "AdjustmentId": {
            "type": "integer",
            "format": "int32"
          },
          "AssociateId": {
            "type": "integer",
            "format": "int32"
          },
          "Description": {
            "type": "string"
          },
          "Amount": {
            "type": "number",
            "format": "float"
          },
          "IsTaxable": {
            "type": "boolean"
          },
          "ApprovedBy": {
            "type": "string"
          },
          "ApprovedOn": {
            "type": "string",
            "format": "date-time"
          },
          "Notes": {
            "type": "string"
          },
          "CustomData": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "PaymentStatus": {
            "type": "string",
            "enum": [
              "Submitted",
              "Pending",
              "Paid",
              "Failed",
              "Expired",
              "ForcePay",
              "ForceHold",
              "ForceForfeit"
            ]
          }
        }
      },
      "DirectScale.Disco.Extension.Hooks.Merchants.MoneyOut.SaveAdjustmentsHookResponse": {
        "type": "object",
        "properties": {
          "Adjustments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectScale.Disco.Extension.Adjustment"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "Extension_Token": {
        "type": "apiKey",
        "description": "Bearer Token For Extension",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```