User Management
user
Changed onFetch 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
Request
- Base URLhttps://api.sandbox-pay.aero.inc
- Authnone declared. Required headers: Content-Type, authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
}Changes
- info
added the optional property
/to the response with the status
- info