# API Environment

{% hint style="danger" %}
TLS1.2(or higher) is required for the client side to connect to the Scan2Pay API server.
{% endhint %}

## Scan2Pay API

<mark style="color:green;">`POST`</mark> `https://intella-server-domain/allpaypass/api/general`

**Scan2Pay API**

#### Request Body

| Name      | Type   | Description                 |
| --------- | ------ | --------------------------- |
| "ApiKey"  | string | RSA-encrypted AES Key       |
| "Request" | string | AES-Encrypted JSON contents |

{% tabs %}
{% tab title="200 " %}

```
{
    "Response":"aes-encrypted-string"
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Please contact intella for the domain name of the Scan2Pay API server.
{% endhint %}

{% hint style="warning" %}
At development stage, testing the payment transaction might require the test version of third-party payment apps. Please contact intella for more information if you need to perform payment tests on test(staging) server.
{% endhint %}
