v1

latestOpenAPI 3.1.02026-07-24170121.2 MB

Find User

Get all users for the merchant

get/v1/users/{user_id}

Path parameters

user_idstring required

Response

200

Example response

{
  "data": {
    "object": "User",
    "id": "Z5pA1JZ465n1nV6J",
    "real_id": 26870,
    "name": "LIstPaymentNEWest",
    "email": "listpayment@payarc.com",
    "notification_phone_number": "1231231232",
    "created_at": 1706211057,
    "updated_at": 1729581069,
    "readable_created_at": "8 months ago",
    "readable_updated_at": "1 second ago",
    "response_content": true,
    "username": "LIstPaymentNEW",
    "role": {
      "id": 1635,
      "name": "client-engagement-team",
      "guard_name": "api",
      "display_name": "Client Engagement Team (api)",
      "description": "Role that is equivalent to team",
      "created_at": "2024-01-15T14:19:41.000000Z",
      "updated_at": "2024-01-15T14:19:41.000000Z",
      "account_id": 24,
      "name_export": "client-engagement-team",
      "display_name_export": "Client Engagement Team (api)",
      "created_at_export": "2024-01-15 14:19:41",
      "role_id_export": "KmjRMaLLzRMaQEbz",
      "description_export": "Role that is equivalent to team",
      "pivot": {
        "model_id": 26870,
        "role_id": 1635,
        "model_type": "App\\Containers\\AppSection\\User\\Models\\User"
      }
    }
  },
  "meta": {
    "include": [
      "roles"
    ]
  }
}