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

# Reverse Credit Funds

<Warning>
  **This API MUST be implemented by the Partner.** Platform's backend will request fund reversal in case of an operation error.
</Warning>

Our backend will consume this service by performing a `POST` request to:

`[Base-URL]/ReverseCreditFunds`.

If reversal is not supported, response must be `Success: false`, indicating the reason in `ResponseDescription`.

**Expected behavior:**
Order for total reversal of a previous credit movement associated with a `CreditTrackingNumber`. This usually occurs in case of cancellations, failures in the operation chain, or financial readjustments. The Partner must return the funds from the specified account and confirm success by returning `Success` as `true`.


## OpenAPI

````yaml swagger-client-interfaces.json POST /client-interfaces/vna/reverse-credit-funds
openapi: 3.0.0
info:
  title: ''
  version: 0.0.1
servers: []
security: []
paths:
  /client-interfaces/vna/reverse-credit-funds:
    post:
      tags:
        - Partner Implemented APIs
      summary: Reverse credit funds
      operationId: reverseCreditFundsClientApi
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReverseCreditFundsRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReverseCreditFundsResponse'
      security: []
components:
  schemas:
    ReverseCreditFundsRequest:
      properties:
        TransactionId:
          type: string
        AccountIdentifier:
          type: string
        CreditTrackingNumber:
          type: string
      required:
        - TransactionId
        - AccountIdentifier
        - CreditTrackingNumber
      type: object
      additionalProperties: false
    ReverseCreditFundsResponse:
      properties:
        Success:
          type: boolean
        TrackingIdentifier:
          type: string
        ResponseDescription:
          type: string
      required:
        - Success
        - TrackingIdentifier
      type: object
      additionalProperties: false

````