Authentication & Security Headers

All API requests must include your secret API key in the HTTP Authorization header as a Bearer token, along with your X-Merchant-Id header.

Header Type Required Description
Authorization string Required Bearer API Token (e.g. Bearer tente_sk_live_...)
X-Merchant-Id string Required Your account Merchant ID (e.g. MT5116509106) found in your Developer Hub.
Content-Type string Required application/json
Accept string Required application/json
🔐
Keep your API Keys Secure!

Never expose your secret keys in client-side code, mobile applications, or public repositories.

🛡️
Mandatory IP Whitelisting

Requests are only accepted from whitelisted IP addresses configured on your API key. Calls from unlisted IPs return 214 IP_NOT_WHITELISTED.

curl -X GET https://tente.com.ng/api/v1/balance \
  -H "Authorization: Bearer tente_sk_live_9f823a7b" \
  -H "X-Merchant-Id: MT5116509106" \
  -H "Accept: application/json"
const axios = require('axios');

async function getBalance() {
  const response = await axios.get('https://tente.com.ng/api/v1/balance', {
    headers: {
      'Authorization': 'Bearer tente_sk_live_9f823a7b',
      'X-Merchant-Id': 'MT5116509106',
      'Accept': 'application/json'
    }
  });
  console.log(response.data);
}

getBalance();
use Illuminate\Support\Facades\Http;

$response = Http::withToken('tente_sk_live_9f823a7b')
    ->withHeaders([
        'X-Merchant-Id' => 'MT5116509106',
    ])
    ->acceptJson()
    ->get('https://tente.com.ng/api/v1/balance');

$data = $response.json();
import requests

url = "https://tente.com.ng/api/v1/balance"
headers = {
    "Authorization": "Bearer tente_sk_live_9f823a7b",
    "X-Merchant-Id": "MT5116509106",
    "Accept": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())