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

# Test API

> This API is only available in DEMO environment and intended solely for testing purposes.

The API has two categories of endpoints:

* **Endpoints for generating authorization message bodies from templates** (e.g. /v1/authorization-templates/request/retail-offline-pin, /v1/authorization-templates/request/retail-ecommerce)

  Calls to these endpoints DO NOT simulate sending of authorization messages. They only generate the correct message for endpoints of the second type based on a small number of Request parameters. The generated Response message should then be supplied into the next type of endpoints (described below) to actually simulate sending an authorization.

* **Endpoints for sending authorization messages** (e.g. /v1/authorizations/request, /v1/authorizations/reversal)

  Calling these endpoints simulates an authorization coming from a payment scheme to Enfuce. These endpoints are characterized by a bigger number of Request parameters. For the Request Body, you can use the Response generated by the first type of endpoints.

<CardGroup cols={2}>
  <Card title="Download OpenAPI specification" href="https://enfuce-public-resources.s3.eu-central-1.amazonaws.com/public/api/cia/external/test/test.json" />
</CardGroup>

For any questions, contact us:

* [Enfuce Support Portal](https://enfuce.atlassian.net/servicedesk/customer/portal/6)
* [Enfuce website](https://enfuce.com)

<CardGroup cols={2}>
  <Card title="test-auth-request-templates" icon="arrow-right" href="/payment/api/test-auth-request-templates" horizontal />

  <Card title="test-authorizations" icon="arrow-right" href="/payment/api/test-authorizations" horizontal />
</CardGroup>
