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

# Overview

<Card title="Download OpenAPI specification" href="https://enfuce-public-resources.s3.eu-central-1.amazonaws.com/public/api/mycore/external/test-api/mycore-test-api.openapi.json" style={{ maxWidth: '400px', margin: '0 auto' }} />

The Test API is a simulator that enables you to recreate different use cases in a transaction lifecycle, helping you to understand the messages that Enfuce receives from the card Schemes and how we respond to them.

<Info>The Test API is available only in the integration environment. Use your specific tenancy to send requests to the Test API endpoints.</Info>

<Steps>
  <Step title="Authorisation Request">
    To initiate an authorisation request, send a message to the [Send Authorisation Request Endpoint](/api/transaction-lifecycle/test-api/test-authorisation-request).

    <Info>This is the first mandatory step in a transaction lifecycle. The following steps are optional, and are based on what scenario you want to test.</Info>
  </Step>

  <Step title="Additional Authorisation Messages">
    <AccordionGroup>
      <Accordion title="Authorisation Reversal">
        <div style={{marginLeft: '20px'}}>
          To reverse an approved authorised amount kept on hold, send a message to the [Send Authorisation Reversal Endpoint](/api/transaction-lifecycle/test-api/test-authorisation-reversal).
        </div>
      </Accordion>

      <Accordion title="Authorisation Adjustment">
        <div style={{marginLeft: '20px'}}>
          To partially reverse an approved authorised amount kept on hold, send a message to the [Send Authorisation Adjustment Endpoint](/api/transaction-lifecycle/test-api/test-authorisation-adjustment).
        </div>
      </Accordion>

      <Accordion title="Incremental Authorisation">
        <div style={{marginLeft: '20px'}}>
          To send an additional authorisation request for increasing the total authorised amount, send a message to the [Send Incremental Authorisation](/api/transaction-lifecycle/test-api/test-authorisation-incremental).
        </div>
      </Accordion>

      <Accordion title="STIP Authorisation">
        <div style={{marginLeft: '20px'}}>
          To simulate a STIP processing, when the Scheme approves/declines an authorisation on behalf of the processor (Enfuce/client), send a message to the [Send a Stand-In Processing Authorisation Endpoint](/api/transaction-lifecycle/test-api/test-authorisation-STIP).
        </div>
      </Accordion>

      <Accordion title="Authorisation Advice">
        <div style={{marginLeft: '20px'}}>
          After an authorisation request is approved/declined, the Scheme sends an advisory message to Enfuce. To send an authorisation advice, send a message to the [Send Authorisation Advice Endpoint](/api/transaction-lifecycle/test-api/test-authorisation-advice).
        </div>
      </Accordion>

      <Accordion title="Purge Authorisation">
        <div style={{marginLeft: '20px'}}>
          To simulate an authorisation request that is purged and the account block is released after a specific period, send a request to the  [Send Purge Authorisation Request Endpoint](/api/transaction-lifecycle/test-api/test-purge-authorisation).
        </div>
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Clearing Message">
    To simulate a clearing message for a previously authorised transaction, send a request to the [Send Clearing Message Endpoint](/api/transaction-lifecycle/test-api/test-clearing-transaction).
  </Step>

  <Step title="Batch Transactions">
    <AccordionGroup>
      <Accordion title="Batch Transactions in Sequence">
        <div style={{marginLeft: '20px'}}>
          To send multiple authorisation messages in a specific sequence, send a request to the [Send Batch Transactions](api/transaction-lifecycle/test-api/test-batch-transactions).
        </div>
      </Accordion>

      <Accordion title="Legacy Batch Transactions">
        <div style={{marginLeft: '20px'}}>
          This endpoint is for testing **legacy** batch transactions; send a message to the [Send Batched Authorisation Requests (Legacy Load-Test) Endpoint](api/transaction-lifecycle/test-api/test-batch-transactions-legacy).
        </div>
      </Accordion>
    </AccordionGroup>
  </Step>
</Steps>
