The Agent Login API authenticates agents and returns user details and session information.
URL: https://techvibs.com/api_agents_login.php
Method: POST
Content-Type: application/json
Field | Type | Required | Description |
---|---|---|---|
fintech_id | String | Yes | Fintech identifier (e.g., SmartPay). |
email | String | Yes | Agent's email address. |
password | String | Yes | Agent's password. |
Example Request:
{
"fintech_id": "SmartPay",
"email": "dayoallen@mbbsolutions.tech",
"password": "your_password"
}
Status Code: 200 OK
{
"status": "success",
"data": {
"id": 123,
"fintech_id": "SmartPay",
"firstname": "Dayo",
"middlename": "",
"lastname": "Allen",
"email": "dayoallen@mbbsolutions.tech",
"virtualbal": 1000.00,
"virtualaccnum": "1234567890",
"virtualaccname": "Dayo Allen",
"virtualbank": "SmartBank",
"bankcode": "001",
"customer_id": "CUST123"
},
"session": {
"id": "session_abc123",
"expires_at": "2025-04-30 12:00:00"
}
}
Status Code: 200 OK
{
"status": "error",
"message": "Invalid credentials"
}
SmartPay
dayoallen@mbbsolutions.tech
Response will appear here...