> ## 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.

# Create a return

> Creates a return for a deposit.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/getivy/openapi.documented.yml post /api/service/return/create
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/return/create:
    post:
      tags:
        - Return
      summary: Create a return
      description: Creates a return for a deposit.
      operationId: ExternalReturnController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateReturnRequestDto'
      responses:
        '200':
          description: Return created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnResponseDto'
      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 _return = await client.returns.create({ depositId:
            '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' });


            console.log(_return.id);
components:
  schemas:
    CreateReturnRequestDto:
      type: object
      properties:
        depositId:
          description: The ID of the associated deposit
          type: string
          format: uuid
      required:
        - depositId
    ReturnResponseDto:
      type: object
      properties:
        id:
          description: The ID of the return
          type: string
          format: uuid
        depositId:
          description: The ID of the associated deposit
          type: string
          format: uuid
        transactionId:
          description: The ID of the resulting return transaction
          type: string
          format: uuid
        status:
          description: The status of the return
          type: string
          enum:
            - initiated
            - succeeded
            - failed
            - returned
          x-enumNames:
            - Initiated
            - Succeeded
            - Failed
            - Returned
        amount:
          description: The amount of the return
          type: number
        currency:
          description: The currency of the return
          type: string
          enum:
            - EUR
            - GBP
            - PLN
            - SEK
            - DKK
            - USD
            - USDC
            - BTC
            - ETH
            - SOL
            - POL
        createdAt:
          description: The date and time the return was created
          type: string
          format: date-time
        failedAt:
          description: The date and time the return failed if applicable
          type: string
          format: date-time
        succeededAt:
          description: The date and time the return succeeded if applicable
          type: string
          format: date-time
      required:
        - id
        - depositId
        - status
        - amount
        - currency
        - createdAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Ivy-Api-Key
      description: API key for authentication

````