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

# Log ACH transfer event

> Log ACH transfer events



## OpenAPI

````yaml post /events/transfers/ach
openapi: 3.0.1
info:
  title: OpenAPI spec for Swift Customer Data Processing and Risk Score
  description: A specification for Swift's customer data processing and risk score APIs
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: http://sandbox.mintlify.com
security:
  - bearerAuth: []
paths:
  /events/transfers/ach:
    post:
      tags:
        - Transfer Activity
      summary: Log ACH transfer event
      description: Log ACH transfer events
      requestBody:
        description: ACH transfer event details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ACHTransferEvent'
        required: true
      responses:
        '201':
          description: ACH transfer event logged
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
components:
  schemas:
    ACHTransferEvent:
      required:
        - accountId
        - amount
        - transferType
        - timestamp
      type: object
      properties:
        accountId:
          description: ID of the account initiating/receiving the transfer
          type: string
        amount:
          description: Transfer amount in cents
          type: integer
          minimum: 0
        transferType:
          description: Type of ACH transfer
          type: string
          enum:
            - credit
            - debit
        timestamp:
          description: When the transfer was initiated
          type: string
          format: date-time
        status:
          description: Current status of the transfer
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
            - returned
        metadata:
          description: Additional transfer-specific details
          type: object
          additionalProperties: true
    EventResponse:
      required:
        - eventId
        - status
      type: object
      properties:
        eventId:
          description: Unique identifier for the logged event
          type: string
        status:
          description: Status of the event logging
          type: string
          enum:
            - success
            - failed
        timestamp:
          description: Time when the event was logged
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````