v1

latestOpenAPI 3.0.02026-07-263118119.8 KB
User 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>
CodeHTTP StatusMessage
AP101401No authenticated user
</details>
get/v2/user

Headers

Content-Typestring required
authorizationstring required

A userForMerchant scoped token.

Response

Success

OR

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"
  }
}