> ## Documentation Index
> Fetch the complete documentation index at: https://docs.piriod.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create ACH adjustment



## OpenAPI

````yaml POST /ach_transfers/adjustments/
openapi: 3.0.3
info:
  title: Piriod API
  version: 1.0.0
  description: >
    Piriod API for billing, payments, procurement and collections.


    All requests require:

    - `Authorization: Token <api_token>` header.

    - `x-simple-workspace: <workspace_id>` header (the account/workspace
    identifier).

    - Optionally `x-piriod-test-mode: true` to operate against test-mode data.


    See the Documentation tab for getting started, integration flows,
    authentication,

    error handling and pagination/filtering guides.
servers:
  - url: https://api.piriod.com
    description: Production
security:
  - TokenAuth: []
paths:
  /ach_transfers/adjustments/:
    post:
      tags:
        - Payments
      summary: Create ACH adjustment
      parameters:
        - $ref: '#/components/parameters/WorkspaceHeader'
        - $ref: '#/components/parameters/TestModeHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AchAdjustment'
      responses:
        '201':
          description: Adjustment created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchAdjustment'
components:
  parameters:
    WorkspaceHeader:
      name: x-simple-workspace
      in: header
      required: true
      schema:
        type: string
      description: Workspace (account) identifier. Required for every request.
      example: acc_01H8XYZ123ABC
    TestModeHeader:
      name: x-piriod-test-mode
      in: header
      required: false
      schema:
        type: boolean
        default: false
      description: Whether to operate against test-mode data. Defaults to `false`.
  schemas:
    AchAdjustment:
      type: object
      description: Manual adjustment applied to an ACH transfer (e.g. to balance fees).
      properties:
        id:
          type: integer
          readOnly: true
        transfer:
          type: integer
          description: ACH transfer ID.
        amount:
          type: number
        operation:
          type: string
          enum:
            - add
            - sub
            - exchange
        currency:
          type: string
          nullable: true
        base_amount:
          type: number
          nullable: true
        base_currency:
          type: string
          nullable: true
        comment:
          type: string
          maxLength: 256
          nullable: true
        created:
          type: string
          format: date-time
          readOnly: true
      required:
        - transfer
        - amount
        - operation
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: |
        Use header `Authorization: Token <api_token>`.
        API tokens are obtained from the Piriod dashboard.

````