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

# Withdraw a request I filed



## OpenAPI

````yaml /openapi.json post /api/v1/transfer_requests/{proposal_id}/withdraw
openapi: 3.1.0
info:
  title: HEVN API
  description: Backend API for HEVN mobile neobank
  version: 0.1.2
servers: []
security: []
paths:
  /api/v1/transfer_requests/{proposal_id}/withdraw:
    post:
      tags:
        - Transfer requests
      summary: Withdraw a request I filed
      operationId: >-
        withdraw_transfer_request_api_v1_transfer_requests__proposal_id__withdraw_post
      parameters:
        - name: proposal_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Proposal Id
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferRequestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TransferRequestResponse:
      properties:
        id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Id
        status:
          anyOf:
            - $ref: '#/components/schemas/TransferRequestStatus'
            - type: 'null'
        txHash:
          anyOf:
            - type: string
            - type: 'null'
          title: Txhash
        transactionId:
          anyOf:
            - type: string
            - type: 'null'
          title: Transactionid
        accountId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Accountid
        appId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Appid
        requestedByUserId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Requestedbyuserid
        contactId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Contactid
        quoteId:
          anyOf:
            - type: string
            - type: 'null'
          title: Quoteid
        invoiceId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Invoiceid
        amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount
        memo:
          anyOf:
            - type: string
            - type: 'null'
          title: Memo
        requestedTime:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Requestedtime
        chatId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Chatid
        approvalUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Approvalurl
      type: object
      title: TransferRequestResponse
      description: >-
        One outcome shape for both ways a transfer attempt can end.


        Spent straight away: ``txHash`` only. Needs approval: the request that
        was

        filed, with the deep link to approve it. ``transactionId`` appears once
        an

        approved transfer has been reported back. A decline reason is not a
        field —

        it is a message in ``chatId``, the request's thread.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TransferRequestStatus:
      type: string
      enum:
        - requested
        - approved
        - declined
        - failed
      title: TransferRequestStatus
      description: >-
        Client-facing status of a ``transfer_request`` proposal.


        The record is a proposal (seven statuses); this is the short vocabulary
        the

        API keeps for the agent and the web app, mapped from `ProposalStatus` by

        :meth:`from_proposal`.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````