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

# Approve Payment Refund

> Approves a previously requested payment refund. The request body includes details such as whether the refund was processed externally and any associated documentation.



## OpenAPI

````yaml /openapi/lynx.yaml post /v1/payment/refund-approve
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/payment/refund-approve:
    post:
      tags:
        - Payment
      summary: Approve Payment Refund
      description: >-
        Approves a previously requested payment refund. The request body
        includes details such as whether the refund was processed externally and
        any associated documentation.
      operationId: approve-payment-refund
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentRefundApproveLynxModel'
      responses:
        '200':
          description: >-
            The refund approval was successfully processed, and the response
            contains the result of the approval.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefundPaymentLynxModelResponse'
components:
  schemas:
    PaymentRefundApproveLynxModel:
      type: object
      properties:
        IsRefundedExternally:
          type: boolean
          description: Indicates whether the refund was processed by an external system.
        RefundDocumentUrl:
          type: string
          nullable: true
          description: The URL to the document associated with the refund, if available.
        TransactionId:
          type: integer
          format: int64
          description: >-
            The unique identifier of the transaction for which the refund is
            being approved.
        SiteId:
          type: integer
          format: int32
          description: The unique identifier of the site where the transaction occurred.
        MachineAuTime:
          type: string
          format: date-time
          description: The machine's authorization time associated with the transaction.
      additionalProperties: false
    RefundPaymentLynxModelResponse:
      type: object
      properties:
        Result:
          type: string
          nullable: true
          description: The result of the refund request, indicating success or failure.
        Status:
          type: string
          nullable: true
          description: The current status of the refund request.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````