Users

List Users

Get a paginated response listing the Users

get/v2/users

Query parameters

type'BACKOFFICE' | 'PAYOR' | 'PAYEE'
Example:PAYOR

The Type of the User.

status'ENABLED' | 'DISABLED' | 'PENDING'

The status of the user when the user has been invited but not yet enrolled they will have a PENDING status

Example:ENABLED

The status of the User.

entityIdstring uuid

The entityId of the User.

pageinteger

Page number. Default is 1.

pageSizeinteger

Page size. Default is 25. Max allowable is 100.

sortstring

List of sort fields (e.g. ?sort=email:asc,lastName:asc) Default is email:asc 'name' The supported sort fields are - email, lastNmae.

Response

Paginated list of Users filtered by query parameters

Example response

{
  "links": [
    {
      "rel": "first",
      "href": "https://api.sandbox.velopayments.com/v2/users??type=PAYOR&page=1&pageSize=10"
    },
    {
      "rel": "first",
      "href": "https://api.sandbox.velopayments.com/v2/users??type=PAYOR&page=1&pageSize=10"
    }
  ],
  "page": {
    "numberOfElements": 12,
    "totalPages": 2,
    "pageSize": 25,
    "page": 1,
    "totalElements": 33
  },
  "content": [
    {
      "lastName": "Doe",
      "roles": [
        "payor.admin"
      ],
      "lockedOutTimestamp": "2000-01-23T04:56:07.000+00:00",
      "smsNumber": "11235555555",
      "entityId": "7fffa261-ac68-49e6-b605-d24a444d9206",
      "mfaStatus": "REGISTERED",
      "firstName": "John",
      "primaryContactNumber": "11235555555",
      "mfaType": "TOTP",
      "lockedOut": true,
      "id": "8bbf301c-948f-4445-b411-357eec53e441",
      "email": "foo@example.com",
      "secondaryContactNumber": "11235555550",
      "status": "ENABLED"
    },
    {
      "lastName": "Doe",
      "roles": [
        "payor.admin"
      ],
      "lockedOutTimestamp": "2000-01-23T04:56:07.000+00:00",
      "smsNumber": "11235555555",
      "entityId": "7fffa261-ac68-49e6-b605-d24a444d9206",
      "mfaStatus": "REGISTERED",
      "firstName": "John",
      "primaryContactNumber": "11235555555",
      "mfaType": "TOTP",
      "lockedOut": true,
      "id": "8bbf301c-948f-4445-b411-357eec53e441",
      "email": "foo@example.com",
      "secondaryContactNumber": "11235555550",
      "status": "ENABLED"
    }
  ]
}

Changes