Get user

View as Markdown
Retrieve the User object associated with the Trustly ID authorization transaction.

Authentication

AuthorizationBasic

Path parameters

transactionIdstringRequired
Transaction ID retrieved from a Trustly Authorization transaction.

Query parameters

expandlist of enumsOptional
A field in the API response to be expanded in order for more details to be provided. Supported values: * `segmentedName`: returns a segmented version of the name field returned in the response.
Allowed values:

Response

OK
namestring
The full name of the user
addresslist of objects
Array of addresses associated with the user.
phonelist of strings
Array of phone numbers associated with the user.
emaillist of strings

Array of e-mail addresses associated with the user.

dateOfBirthstring

The date of birth of the user in the format YYYY-MM-DD

taxIdstring

The user’s government issued tax ID e.g. SSN (US) or SIN (CA)

deceasedboolean

If true, then the user is deceased.

driverLicenseobject
A driver's license.
eligibleboolean
Indicates if the user has got a successful result in all verifications and is eligible.
createdAtinteger
Timestamp representing the time the User Object was created.
updatedAtinteger
Timestamp representing the time the User Object was last updated.
segmentedNameobject
The segmented version of a given name.

Errors

400
Bad Request Error