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

# Get Refund

> Get detailed information about a specific refund



## OpenAPI

````yaml GET /refund/{id}
openapi: 3.1.0
info:
  title: Clink API
  description: >-
    Official API documentation for Clink's payment processing platform. This API
    enables merchants to create and manage payment sessions, handle
    subscriptions, and process transactions.
  version: 1.0.0
servers:
  - url: https://uat-api.clinkbill.com/api/
security:
  - ApiKeyAuth: []
paths:
  /refund/{id}:
    get:
      description: Get detailed information about a specific refund
      parameters:
        - $ref: '#/components/parameters/TimestampHeader'
        - name: id
          in: path
          description: Unique identifier of the refund
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Refund details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefundGetRes'
components:
  parameters:
    TimestampHeader:
      name: X-Timestamp
      in: header
      required: true
      description: >-
        Current timestamp in milliseconds since Unix epoch (required for request
        signing)
      schema:
        type: string
        example: '1783513683000'
  schemas:
    RefundGetRes:
      type: object
      properties:
        code:
          type: integer
          description: Response status code, 200 when success
          format: int32
          example: 200
        msg:
          type: string
          example: success
          description: Brief description of what happened, 'success' when happy case
        data:
          $ref: '#/components/schemas/RefundApiVo'
    RefundApiVo:
      type: object
      properties:
        createTime:
          type: integer
          example: 1754819711382
          description: Unix timestamp when the refund was created
          format: int64
        refundId:
          type: string
          example: rfd_abc123xyz
          description: Unique identifier for the refund
        orderId:
          type: string
          example: order_def456uvw
          description: Unique identifier of the original order being refunded
        customerId:
          type: string
          example: cus_ghi789rst
          description: Unique identifier of the customer receiving the refund
        refundAmount:
          type: number
          example: 19.99
          description: Amount refunded to the customer in the specified currency
        refundCurrency:
          type: string
          example: USD
          description: Three-letter ISO currency code of the refund (e.g., USD, EUR, GBP)
        status:
          type: string
          example: success
          enum:
            - created
            - success
            - failed
            - closed
            - received
            - refunding
          description: Current status of the refund process
        refundReason:
          type: string
          example: Customer Initiated Refund
          enum:
            - Duplicate payment
            - Fraudulent activity
            - Customer Initiated Refund
            - Other
          description: Explanation for why the refund was issued
        metadata:
          type: object
          additionalProperties: true
          example:
            arn: '8377252556170253'
            merchantReferenceId: sample_id
          description: Additional refund metadata, such as ARN and merchant reference ID
        paymentInstrumentId:
          type: string
          description: Payment instrument ID associated with the refund
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Your secret API key obtained from the Clink dashboard (Developers
        section)

````