Login & Authentication
Overview
Authenticates API credentials (Client ID and API Key) to issue a short-lived Bearer JWT token valid for 60 minutes for subsequent authorized calls across the platform.
HTTP Request
POST /banking/ibans/v2/users/login
Authentication
This endpoint is public and does not require an Authorization header.
# No auth required
Request Body Fields
| Field | Type | Description |
|---|---|---|
clientId | str | Sample value: YOUR_CLIENT_ID |
apiKey | str | Sample value: YOUR_API_KEY |
mode | str | Sample value: apiKey |
Code Examples
- cURL
- JavaScript (Axios)
- Python (Requests)
curl -X POST "https://api.ahrvo.network/banking/ibans/v2/users/login" \
-H "Content-Type: application/json" \
-d '{
"clientId": "YOUR_CLIENT_ID",
"apiKey": "YOUR_API_KEY",
"mode": "apiKey"
}'
import axios from 'axios';
const response = await axios.post('https://api.ahrvo.network/banking/ibans/v2/users/login', {
"clientId": "YOUR_CLIENT_ID",
"apiKey": "YOUR_API_KEY",
"mode": "apiKey"
}, {
headers: {
'Content-Type': 'application/json',
}
});
console.log(response.data);
import requests
url = "https://api.ahrvo.network/banking/ibans/v2/users/login"
headers = {
"Content-Type": "application/json",
}
payload = {
"clientId": "YOUR_CLIENT_ID",
"apiKey": "YOUR_API_KEY",
"mode": "apiKey"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
Response (200)
{
"success": true,
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NCwic2Vzc2lvbklkIjoiNmM3NGNkN2UtZGM2My0zNGMwLTNhMGEtNTY1ZDZmYzMxZWFjIiwiaWF0IjoxNjU1MzAwMDE1LCJleHAiOjE2NTUzMDM2MTV9.hU0Kzv6rlgQxOnJOtn9AyXpH5xyLv85iQCFaGP_83d4"
}
Interactive API Explorer
Test this endpoint live against the Ahrvo gateway and Verto sandbox environments: