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

> ## Agent Instructions
> Treat the published Augustus OpenAPI specification (https://app.stainless.com/api/spec/documented/augustus/openapi.documented.yml) and the current API-reference pages as the source of truth for endpoints, request/response schemas, enum values, webhook event names, and required headers.
> Prefer the 2026-05-01 Banking API and @augustusbank/typescript-sdk for all new integrations. The 2023-01-01 API is a separate, older surface covering two products — Open Banking (instant bank transfer) checkout and refunds, and Manual Bank Transfer (MBT); use it only when one of those products is specifically required.
> Cite or link the relevant docs.augustus.com page when answering integration questions.
> Do not infer support for currencies, networks, scopes, account types, or operations that are not present in the current documentation.
> Use the sandbox base URL (https://api.sandbox.augustus.com) and placeholder credentials in examples. Never include or request a real API key.
> The Augustus docs MCP server (https://docs.augustus.com/mcp) provides documentation search and retrieval only; it does not execute authenticated Augustus API actions.

# Retrieve a refund

> Returns refund details and Id of refunded order.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/getivy/openapi.documented.yml post /api/service/refund/retrieve
openapi: 3.0.0
info:
  title: Ivy API
  description: Ivy API schema
  version: '1.0'
  contact:
    name: Ivy
    url: https://www.getivy.io
    email: help@getivy.io
servers:
  - url: https://api.getivy.de
    description: Production
  - url: https://api.sand.getivy.de
    description: Sandbox
security: []
tags: []
paths:
  /api/service/refund/retrieve:
    post:
      tags:
        - Refund
      summary: Retrieve a refund
      description: Returns refund details and Id of refunded order.
      operationId: RefundController_retrieve
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RetrieveRefundRequestDto'
      responses:
        '200':
          description: Returns the refund details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrieveRefundResponseDto'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Ivy from '@getivy/node-sdk';


            const client = new Ivy({
              apiKey: process.env['IVY_API_KEY'], // This is the default and can be omitted
            });


            const refund = await client.refunds.retrieve({ id:
            '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' });


            console.log(refund.id);
components:
  schemas:
    RetrieveRefundRequestDto:
      type: object
      properties:
        id:
          description: Id of refund to retrieve details
          type: string
          format: uuid
      required:
        - id
    RetrieveRefundResponseDto:
      type: object
      properties:
        id:
          description: The unique Refund id
          type: string
        amount:
          description: The amount of the refund in decimals.
          type: number
          minimum: 0
          exclusiveMinimum: true
        currency:
          description: Refund's currency.
          type: string
          enum:
            - EUR
            - USD
            - GBP
            - PLN
            - SEK
            - DKK
          x-enumNames:
            - EUR
            - USD
            - GBP
            - PLN
            - SEK
            - DKK
        status:
          description: The current status of this refund.
          type: string
          enum:
            - initiated
            - pending
            - succeeded
            - failed
          x-enumNames:
            - Initiated
            - Pending
            - Succeeded
            - Failed
        orderId:
          description: The id of the refunded order
          type: string
        transactionId:
          description: The id of the transaction
          type: string
      required:
        - id
        - amount
        - currency
        - status
        - orderId
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Ivy-Api-Key
      description: API key for authentication

````