Introduction
Tutelar is a fraud prevention solution that enables you to detect, prevent and control your online fraud risk.
Tutelar provides single environment to access all available apis
Base URL : https://secctrl.tutelar.io/api/v2
Test
This key enabled for developers to test transactions, merchant onboarding and other apis
Live
This key enabled for production access.
How to generate your API Secret keys?
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.

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

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

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.

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

How to add IP whitelisting?
Step 1:Go to the Tutelar client panel and then Select IP Whitelisting under Security Settings. In the IP Whitelisting page, you can add IP address.

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.

Step 3:By clicking on the submit button IP address has been added successfully.

Generate Access Token for V2 APIs
Step 1: Copy the generated API Key and Secret Key from the API Credentials page.

Step 2: Use the generated credentials to call the Generate Token API.
POST https://secctrl.tutelar.io/api/generate-token
Post parameters description is given below
username
String
Yes
Your API key to be used as the username
password
String
Yes
Your Secret key to be used as the password
Sample Post Parameters
Step 3: Copy the generated Access Token and include it in the Authorization header while accessing all V2 API.
Token Expiry Details
Access Token
45 Minutes
Refresh Token
60 Days
Step 4: Once the Access Token expires, use the /refresh-token API to generate a new Access Token. Use the newly generated Access Token in the Authorization header for all subsequent V2 API requests.
Refresh Access Token
If the Access Token expires, generate a new Access Token using the Refresh Token.
POST https://secctrl.tutelar.io/api/refresh-token
Post parameters description is given below
username
String
Yes
Your API key to be used as the username
password
String
Yes
Your Secret key to be used as the password
refresh_token
String
Yes
Your Refresh Token to generate a new access token
Sample Post Parameters
If the Refresh Token has expired, a new Access Token and Refresh Token pair must be generated using the /generate-token API.
Last updated