# Introduction

## Environments

Payment Session has two environments:

| Environment | Endpoint URL                                     |
| ----------- | ------------------------------------------------ |
| Sandbox     | <https://sandbox.securepay.my/api/apis/payments> |
| Production  | <https://securepay.my/api/apis/payments>         |

## Credentials

There are 2 types of credential values&#x20;

| Type                  | Format                               |
| --------------------- | ------------------------------------ |
| API UID (username)    | 2aaa1633-e63f-4371-9b85-91d936aa56a1 |
| Auth Token (password) | ZyUfF8EmyabcMWPcaocX                 |

{% hint style="info" %}
Merchant can generate multiple API credential.
{% endhint %}

## API Credentials

![API credentials from SecurePay dashboard](https://1585239032-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHFsN346MN-4Eibh12Q%2F-MKStHpYipOFmmU843tY%2F-MKSwjrme80ReF3XzCbw%2FScreenshot%202020-10-25%20at%2011.59.36%20AM.png?alt=media\&token=d9016ca5-ad12-4eaa-8b42-d490e6fb39e1)
