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

# Delete a payout method

> Payout methods that have been used in a transaction cannot be deleted; return 403 in that case. Deactivate instead.




## OpenAPI

````yaml https://api.withacclaim.com/openapi.yaml delete /payees/{payee_id}/payout_methods/{payout_method_id}
openapi: 3.1.0
info:
  title: Acclaim API
  version: 1.0.0
  description: >
    Payments infrastructure built for the insurance industry. This specification
    describes

    the core resources and operations for treasury accounts, payouts, funding,
    and more.


    Authentication uses a secret API key passed as a Bearer token. The API is
    JSON-only

    and available via HTTPS only.
servers:
  - url: https://api.withacclaim.com/v1
security:
  - bearerAuth: []
tags:
  - name: Treasury / Treasury Accounts
    description: Manage treasury accounts and balances.
  - name: Payees
    description: Manage recipients of payouts.
  - name: Payout Methods
    description: Manage payout methods (e.g. bank accounts) for a payee.
  - name: Payouts
    description: Create and track individual payouts.
  - name: Payout Batches
    description: Create and track groups of payouts.
  - name: Treasury / Funding
    description: Move funds between settlement accounts and treasury accounts.
  - name: Payment Requests
    description: Create and manage payment requests for collecting payments.
  - name: Setup Requests
    description: Create and manage setup requests for securely storing payment methods.
  - name: Refunds
    description: Create and manage refunds for payments.
  - name: Payers
    description: Create and manage payers for payment collection.
  - name: Payment Methods
    description: Manage payment methods (e.g. cards, bank accounts) for a payer.
paths:
  /payees/{payee_id}/payout_methods/{payout_method_id}:
    delete:
      tags:
        - Payout Methods
      summary: Delete a payout method
      description: >
        Payout methods that have been used in a transaction cannot be deleted;
        return 403 in that case. Deactivate instead.
      parameters:
        - $ref: '#/components/parameters/PayeeId'
        - $ref: '#/components/parameters/PayoutMethodId'
      responses:
        '204':
          description: Payout method deleted.
        '403':
          description: >-
            Payout method cannot be deleted because it has been used; deactivate
            instead.
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  parameters:
    PayeeId:
      name: payee_id
      in: path
      required: true
      schema:
        type: string
      description: ID of the payee.
    PayoutMethodId:
      name: payout_method_id
      in: path
      required: true
      schema:
        type: string
      description: ID of the payout method.
  responses:
    ErrorResponse:
      description: Error payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
              example: 'Missing required field: amount'
            details:
              type: object
              additionalProperties: true
            request_id:
              type: string
              example: req_7lYt4o2x
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````