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

# Build a one-operation approve(owner, spender, 0, 0) transaction that revokes a SEP-41 allowance (architecture.md §12). Unsigned - the caller signs and submits it.



## OpenAPI

````yaml /api-reference/openapi.json post /{network}/allowances/revoke
openapi: 3.0.0
info:
  title: LumenWipe API
  description: Programmatic close-out of Stellar accounts.
  version: 0.1.0
  contact: {}
servers:
  - url: https://api.lumenwipe.com
security: []
tags:
  - name: close
    description: Build and submit an account close-out
  - name: account
    description: Read account state and conversion paths
  - name: mediator
    description: Exchange-destination forwarding
  - name: health
    description: Service health
  - name: service
    description: Service index
  - name: admin
    description: Operator-only self-serve API key management
paths:
  /{network}/allowances/revoke:
    post:
      tags:
        - account
      summary: >-
        Build a one-operation approve(owner, spender, 0, 0) transaction that
        revokes a SEP-41 allowance (architecture.md §12). Unsigned - the caller
        signs and submits it.
      operationId: AccountController_revokeAllowance
      parameters:
        - name: network
          required: true
          in: path
          schema:
            enum:
              - testnet
              - mainnet
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - owner
                - token
                - spender
              properties:
                owner:
                  type: string
                  description: The account whose allowance this is (G...).
                token:
                  type: string
                  description: The token contract the allowance is on (C...).
                spender:
                  type: string
                  description: The spender being revoked (C... or G...).
      responses:
        '200':
          description: The unsigned revocation transaction.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevokeAllowanceResponseDto'
        '400':
          description: Invalid network, owner, token, or spender.
        '401':
          description: Missing or invalid API key.
        '422':
          description: The revocation could not be built safely.
        '429':
          description: Rate limit exceeded for this key.
      security:
        - api-key: []
components:
  schemas:
    RevokeAllowanceResponseDto:
      type: object
      properties:
        transaction:
          type: string
          description: Unsigned revocation transaction envelope (base64 XDR).
          example: AAAAAgAAAAB...
      required:
        - transaction
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: opaque
      type: http
      description: Integrator API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.