Look up whether a user is known to Trustly

View as Markdown
Checks whether a user has previously used Trustly, based on one or more provided identifiers (email, phone, or your own customer ID). Merchants can use this endpoint early in the payment funnel — before the user reaches the payment selection screen — to determine whether to surface Trustly as the top payment option. A `true` response indicates the user is already familiar with Pay by Bank and is more likely to complete a Trustly-powered transaction. **How it works:** The lookup queries Trustly's user database across all stored identifiers. If any provided identifier matches a known Trustly user, `isTrustlyUser` is returned as `true`. **Authentication:** Requests must be authenticated with HTTP Basic Auth using your `accessId` as the username and `accessKey` as the password.

Authentication

AuthorizationBasic

Query parameters

emailstringRequiredformat: "email"
User's email address.
externalIdstringRequired
Your external identifier for the Customer.
phonestringOptional
User's phone number in ITU E.164 format.

Response

Lookup result
isTrustlyUserboolean
True if any provided identifier matches a TRM user.
errorsListlist of objects
Present only on error responses.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error