v1
latestOpenAPI 3.0.02026-07-263118119.8 KBUser Management
user
Fetch a user associated with the merchant.
The user fetched is based on the userId provided in the /token call.
<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>| Code | HTTP Status | Message |
|---|---|---|
| AP101 | 401 | No authenticated user |
get/v2/user
Headers
Content-Typestring required
authorizationstring required
A userForMerchant scoped token.
Response
Success
Example response
{
"user": {
"id": "2ac82269-9315-4bb6-8a19-f37e20d50238",
"firstName": "JohnNew",
"lastName": "DoeNew",
"type": "consumer",
"email": "test-1754932665@aeropay.com",
"phoneNumber": "+11754932665",
"createdDate": "2025-02-27T12:59:32+00:00",
"userStatus": "Active"
}
}