# Introduction

### **Tutelar provides single environment to access all available apis**

Base URL : <https://secctrl.tutelar.io/api/v1>

| Keys | Description                                                                              |
| ---- | ---------------------------------------------------------------------------------------- |
| Test | This key enabled for developers to test transactions, merchant onboarding and other apis |
| Live | This key enabled for production access.                                                  |

### Authentication

| Basic Auth | Credentials |
| ---------- | ----------- |
| username   | API Key     |
| password   | Secret Key  |

### How to generate your API Secret keys?&#x20;

**Step 1:** Go to the Tutelar client panel and then Select **API Credentials** under **Security Settings.** In the API settings page, you can generate your API keys and use it.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2FLLs4Iq1QLwWBy0uXIwl7%2F96B1CECF-568E-4A0A-A5FA-D112900B6BA8_4_5005_c.jpeg?alt=media&#x26;token=d852fd38-e7ab-49b1-be79-d6e8fc04e0dd" alt=""><figcaption></figcaption></figure>

**Step 2:** On the API credentials page click on the Generate key

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2FhfDUS5dF2VorrvPMqnUs%2FScreenshot%202023-06-15%20at%203.51.05%20PM.png?alt=media&#x26;token=35619bb7-ab29-4a5e-a3d9-5fdb20588f3d" alt=""><figcaption></figcaption></figure>

**Step 3:** By clicking on the Generate key it will open a popup.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2FcQ1jRcYTGkM36RSwoF5T%2FScreenshot%202024-04-18%20at%2011.00.09%20AM.png?alt=media&#x26;token=c3100038-fd84-43e6-adb4-bc83ac9ad306" alt=""><figcaption></figcaption></figure>

**Step 4:** Once the popup opens, you need to enter the Label name. After that you need to Select Which Product you want to generate API Keys. By default, Expiry Time is set at 6 months, however it can be changed. After giving the respective mode and password the keys will get generated.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2FMREFLEwNqxRLI99mCrUh%2FScreenshot%202024-04-18%20at%201.14.59%20PM.png?alt=media&#x26;token=3ab06319-86e3-466c-ad30-8eaae19e1722" alt=""><figcaption></figcaption></figure>

**Step 5:** To view the API key and Secret key click on the "API key" button on the API credential page.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2F8GFP5xypsXk3FkmZQr0c%2FScreenshot%202023-06-26%20at%2011.49.35%20AM.png?alt=media&#x26;token=92e7caee-f3d8-4224-9b27-990de0cc5649" alt=""><figcaption></figcaption></figure>

### How to add IP whitelisting?

**Step 1:**&#x47;o to the Tutelar client panel and then Select **IP Whitelisting** under **Security Settings.** In the IP Whitelisting page, you can add IP address.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2Fgl4Kl2ZksRQvrwobDAb2%2FScreenshot%202024-04-18%20at%2011.22.09%20AM.png?alt=media&#x26;token=4bbdfbe6-553b-4888-9350-9027aabe699b" alt=""><figcaption></figcaption></figure>

**Step 2:** On the Add IP address page, Select User Type, Select User, Select IP Type and Enter the Valid IP Address then Click on submit button.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2FeQ0m9dxetHNDLFRLGlMl%2FScreenshot%202024-04-18%20at%2011.28.49%20AM.png?alt=media&#x26;token=3532b2fc-19bd-4f00-810c-815ecbd0bf4f" alt=""><figcaption></figcaption></figure>

**Step 3:**&#x42;y clicking on the submit button IP address has been added successfully.

<figure><img src="https://73045143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMqARVnz5ewLPhJvT16pD%2Fuploads%2FdyBq0TlryNt9I9j44WTZ%2FScreenshot%202024-04-18%20at%2011.34.48%20AM.png?alt=media&#x26;token=b4f41666-59ae-4859-a36a-5c172a9b9a15" alt=""><figcaption></figcaption></figure>
