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

# Refund a travel redemption

> Refunds a completed travel redemption and marks it `REFUNDED`. For `PARTNER_ONCHAIN`, Rain only updates redemption status and sends `raindrop_redemption.refunded`; the partner updates the user balance in its own system. For `PARTNER_OFFCHAIN` and rain-managed programs, Rain records the refund balance adjustment. Only `COMPLETED` travel redemptions are eligible; repeat calls after the redemption is no longer completed generally return `404`, while races or duplicate adjustment conflicts can return `409`.



## OpenAPI

````yaml /openapi.json post /issuing/raindrops/travel-redemptions/{redemptionId}/refund
openapi: 3.0.3
info:
  title: Issuing API
  description: This is the specification for Rain's Issuing API.
  termsOfService: https://www.rain.xyz/legal/authorized-user-terms
  contact:
    email: support@rain.xyz
  version: 1.3.0
servers:
  - url: https://api-dev.rain.xyz/v1
    description: Sandbox server
  - url: https://api.rain.xyz/v1
    description: Production server
security: []
tags:
  - name: paymentRoutes
    description: >-
      **Endpoint Migration:** The `/v1/automations` endpoints have been renamed
      to `/v1/payment-routes`. The old `/v1/automations` paths remain available
      as deprecated aliases during migration. Update your integrations to use
      `/v1/payment-routes` as the deprecated endpoints will be removed in a
      future release.
  - name: simulate
    description: >-
      Transaction simulation endpoints for testing integration flows in
      non-production environments. These endpoints let you trigger transaction
      events programmatically to automate integration tests and verify webhook
      handling without depending on external systems or staging real deposits.
      **Sandbox only** — all simulation endpoints return `404 Not Found` in
      production.
  - name: raindrops
    description: >-
      Rewards and points management endpoints. Custom API keys need
      `raindrops:read`/`raindrops:write` for general rewards endpoints and
      `raindrops-travel:read`/`raindrops-travel:write` for travel redemption
      endpoints.
    x-group: rewards
paths:
  /issuing/raindrops/travel-redemptions/{redemptionId}/refund:
    post:
      tags:
        - raindrops
      summary: Refund a travel redemption
      description: >-
        Refunds a completed travel redemption and marks it `REFUNDED`. For
        `PARTNER_ONCHAIN`, Rain only updates redemption status and sends
        `raindrop_redemption.refunded`; the partner updates the user balance in
        its own system. For `PARTNER_OFFCHAIN` and rain-managed programs, Rain
        records the refund balance adjustment. Only `COMPLETED` travel
        redemptions are eligible; repeat calls after the redemption is no longer
        completed generally return `404`, while races or duplicate adjustment
        conflicts can return `409`.
      operationId: refundTravelRedemption
      parameters:
        - name: redemptionId
          in: path
          description: The ID of the redemption to refund
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Redemption refunded successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - redemptionId
                  - status
                properties:
                  redemptionId:
                    type: string
                    format: uuid
                    description: The ID of the redemption
                  status:
                    type: string
                    enum:
                      - REFUNDED
                    description: The current status of the redemption
        '401':
          description: Invalid authorization
        '403':
          description: Raindrops are not enabled for this tenant
        '404':
          description: >-
            Travel redemption not found or not eligible for refund because it is
            not currently COMPLETED
        '409':
          description: >-
            Refund processing raced with another request or a refund adjustment
            already exists
        '500':
          description: Internal server error
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Api-Key
      in: header

````