# Environments

Transact provides multiple environments for use with the Transact API.

## User Acceptance Testing (UAT)

Transact provides a UAT environment for you to test your software against a non-production environment.

Please [Contact Us](../contact-us.mdx) and ask for access to the UAT environment. The UAT environment will be available
to you for two months. When further access is required, just ask.

:::note

All data changes made within the UAT environment are cleared every night, with the exception of OAuth settings.
OAuth settings (client secret, URIs) are typically cleared around the second Monday of each month. A 403 response can indicate that these
need to be [set up](../getting-started/registration.md#set-up-your-account) again.

:::

### UAT environment details

| **Property**                | **Description**                              |
| --------------------------- | -------------------------------------------- |
| Transact Online             | https://demo.transact-online.co.uk           |
| Transact API                | https://apidemo.transact-online.co.uk        |
| Authorisation Endpoint      | https://authdemo.transact-online.co.uk       |
| Token Endpoint              | https://authdemo.transact-online.co.uk/token |
| Refresh Token Lifespan      | 2 hours                                      |
| Access Token Lifespan       | 10 minutes                                   |
| Authorisation Code Lifespan | 10 seconds                                   |

## Production

Once you are ready to integrate with real client data, connect to the live production environment
using the details below.

### Production environment details

| **Property**                | **Description**                          |
| --------------------------- | ---------------------------------------- |
| Transact Online             | https://user.transact-online.co.uk       |
| Transact API                | https://api.transact-online.co.uk        |
| Authorisation Endpoint      | https://auth.transact-online.co.uk       |
| Token Endpoint              | https://auth.transact-online.co.uk/token |
| Refresh Token Lifespan      | 1 year                                   |
| Access Token Lifespan       | 10 minutes                               |
| Authorisation Code Lifespan | 10 seconds                               |
