---
title: "Get user"
method: GET
path: "/transactions/{transactionId}/user"
tags: ["identity"]
---

# Get user

`GET /transactions/{transactionId}/user`

## Request

- Base URL: `https://sandbox.trustly.one/api/v1`
- URL: `https://sandbox.trustly.one/api/v1/transactions/{transactionId}/user`
- Auth: HTTP basic

Retrieve the User object associated with the Trustly ID authorization transaction.

## Path parameters

- `transactionId` string, required

## Query parameters

- `expand` TransactionsTransactionIdUserGetParametersExpandSchemaItems[]

## Response `200`

OK

- User: Trustly User
  - `name` string: The full name of the user
  - `address` Address2[]: Array of addresses associated with the user.
    - `address1` string: Address Line 1.
    - `address2` string: Address Line 2.
    - `city` string: Address City.
    - `state` string: 2 character ISO State code.
    - `zip` string: 5 character US Zip Code.
    - `country` 'US', required: 2 character ISO Country code. Currently only the US is supported.
  - `phone` string[]: Array of phone numbers associated with the user.
  - `email` string[]: Array of e-mail addresses associated with the user.
  - `dateOfBirth` string: The date of birth of the user in the format YYYY-MM-DD
  - `taxId` string: The user's government issued tax ID e.g. SSN (US) or SIN (CA)
  - `deceased` boolean: If `true`, then the user is deceased.
  - `driverLicense` DriverLicense2: A driver's license.
    - `number` string: The driver's license number. Even though this field is called 'number', it may contain non-numeric characters if the country allows that.
    - `state` string: 2 character ISO State code.
  - `eligible` boolean: Indicates if the user has got a successful result in all verifications and is eligible.
  - `createdAt` integer: Timestamp representing the time the User Object was created.
  - `updatedAt` integer: Timestamp representing the time the User Object was last updated.
  - `segmentedName` SegmentedName: The segmented version of a given name.
    - `title` string: The title of a given full name.
    - `firstName` string: The first name of a given full name.
    - `middleName` string[]: The list of middle names of a given full name.
    - `lastName` string: The last name of a given full name.
    - `suffix` string: The suffix of a given full name.

## Other responses

- `400`: Bad Request

## Changes

- **2026-09-17** `dd0a38d95088`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `HTTPBasic` was added to the API
- **2026-09-12** `1d5aabcc1d16`: 1 info
  - api operation id `get-trustly-id-user-data` removed and replaced with `identity_get-trustly-id-user-data`

[Operation history](https://skmtc.dev/trustly/apis/trustly-scalar-api/changes/transactions/:transactionId/user/get.md)

---

[API](https://skmtc.dev/trustly/apis/trustly-scalar-api.md) - [All operations](https://skmtc.dev/trustly/apis/trustly-scalar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trustly/apis/trustly-scalar-api/revisions/5c376a06c899?raw)
