> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

# Payment Refunded

POST 

Triggered when a payment is refunded.

Notification name: `refundedpayment`

Reference: https://docs.payabli.com/developers/webhooks/payin-payment-refunded

## OpenAPI 3.1 Webhook Specification

```yaml
openapi: 3.1.0
info:
  title: webhooks-oas
  version: 1.0.0
paths: {}
webhooks:
  subpackage_payInWebhooks.refundedPayment:
    post:
      operationId: subpackage_payInWebhooks.refundedPayment
      summary: Payment Refunded
      description: |-
        Triggered when a payment is refunded.

        Notification name: `refundedpayment`
      responses:
        '200':
          description: Webhook received successfully
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefundedPaymentContent'
components:
  schemas:
    RefundedPaymentContent:
      type: object
      properties:
        Event:
          type: string
          enum:
            - RefundedPayment
          description: Event type identifier
        Paypoint:
          type: string
          description: The name of the merchant/paypoint
        Text:
          type: string
          description: Human-readable description of the event
        transId:
          type: string
          description: Unique transaction identifier
        CustomerId:
          type: string
          description: The unique identifier for the customer
        CustomerNumber:
          type: string
          description: Internal customer identifier
        Method:
          type: string
          description: Payment processing method
        WalletType:
          type:
            - string
            - 'null'
          description: Digital wallet type, when applicable
        EntryPoint:
          type: string
          description: System entry point identifier
        ExternalPaypointId:
          type: string
          description: External paypoint system identifier
        NetAmount:
          type: string
          description: Net amount in currency format
        Fee:
          type: string
          description: Fee amount in currency format
        TotalAmount:
          type: string
          description: Total transaction amount including fees
        transTime:
          type: string
          description: Transaction timestamp
        Notes:
          type: string
          description: Transaction notes
        RefundingTransactionId:
          type: string
          description: Identifier of the refunding transaction
        ResponseCode:
          type: string
          description: Gateway response code
        ResponseCodeText:
          type: string
          description: Gateway response code description
        ResultCode:
          type: string
          description: Processor result code
        ResultCodeText:
          type: string
          description: Processor result code description
      required:
        - Event
        - Paypoint
        - Text
        - transId
        - CustomerId
        - CustomerNumber
        - Method
        - WalletType
        - EntryPoint
        - ExternalPaypointId
        - NetAmount
        - Fee
        - TotalAmount
        - transTime
        - Notes
        - RefundingTransactionId
        - ResponseCode
        - ResponseCodeText
        - ResultCode
        - ResultCodeText
      title: RefundedPaymentContent

```