Admin
Current User
Get current logged-in user details
GET
Returns details of the currently authenticated user.
Request
string
required
Bearer <token> - JWT access tokenResponse
string
User ID
string
Email address
string
First name
string
Last name
string
User role
string
Account status (
active, inactive, suspended)string
Phone number
string
Last login timestamp (ISO 8601)
string
Account creation timestamp
boolean
Whether user has PEP account access
Examples
Use Cases
- Validate session on page load
- Display user info in dashboard header
- Check user permissions
Errors
Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Response
OK
For processors
For processors
"admin" or "processor"