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
namestringOptional
The full name of the user
addresslist of objectsOptional
Array of addresses associated with the user.
phonelist of stringsOptional
Array of phone numbers associated with the user.
emaillist of stringsOptional

Array of e-mail addresses associated with the user.

dateOfBirthstringOptional

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

taxIdstringOptional

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

deceasedbooleanOptional

If true, then the user is deceased.

driverLicenseobjectOptional
A driver's license.
eligiblebooleanOptional
Indicates if the user has got a successful result in all verifications and is eligible.
createdAtintegerOptional
Timestamp representing the time the User Object was created.
updatedAtintegerOptional
Timestamp representing the time the User Object was last updated.
segmentedNameobjectOptional
The segmented version of a given name.

Errors

400
Bad Request Error