curl --location --request POST '/v1/agent/auth/login' \
--header 'Authorization: Bearer {{agentJwt}}' \
--header 'X-Device-Id: {{deviceId}}' \
--header 'X-Agent-Id: {{agentId}}' \
--header 'X-Request-Id: {{requestId}}' \
--header 'Idempotency-Key: {{idempotencyKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "agent001",
"password": "***",
"otp": "123456",
"device_info": {
"platform": "android",
"model": "SM-A53",
"os": "14",
"attestation": "OK"
}
}'{
"token": "jwt",
"agent": {
"id": "agt_123",
"name": "Jane Agent"
},
"rBAC": [
"cashin:execute",
"cashout:execute"
]
}