Trustly Group Network Check API

The networkCheckApi API from Trustly Group — 1 operation(s) for networkcheckapi.

Operations 1

GET /customers/lookup Look up whether a user is known to Trustly #

Documentation

Specifications

Other Resources

🔗
Sandbox
https://amer.developers.trustly.com/integrate/api-fundamentals/testing
🔗
Webhooks
https://amer.developers.trustly.com/integrate/core-concepts/webhooks-and-events
🔗
ErrorCodes
https://amer.developers.trustly.com/integrate/api-fundamentals/status-codes-and-type-definitions
🔗
SDKs
https://amer.developers.trustly.com/sdks
🔗
LLMsTxt
https://amer.developers.trustly.com/llms.txt
🔗
APICatalog
https://amer.developers.trustly.com/.well-known/api-catalog
🔗
Conventions
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/conventions/trustly-conventions.yml
🔗
Idempotency
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/conventions/trustly-conventions.yml
🔗
DataModel
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/data-model/trustly-data-model.yml
🔗
ErrorCatalog
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/errors/trustly-problem-types.yml
🔗
DeclineCodes
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/errors/trustly-decline-codes.yml
🔗
Webhooks
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/asyncapi/trustly-north-america-webhooks.yml
🔗
ToolCrosswalk
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/mcp/trustly-tool-crosswalk.yml
🔗
Sandbox
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/sandbox/trustly-sandbox.yml
🔗
LLMsTxt
https://raw.githubusercontent.com/api-evangelist/trustly/refs/heads/main/llms/trustly-llms.txt

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trustly-networkcheckapi-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trustly-networkcheckapi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Network Check API
  version: 1.0.0
servers:
- url: https://sandbox.trustly.one/api/v1
  description: Sandbox
tags:
- name: networkCheckApi
paths:
  /customers/lookup:
    get:
      operationId: networkCheckApi_get-customer-lookup
      summary: Look up whether a user is known to Trustly
      description: 'Checks whether a user has previously used Trustly, based on one or more provided identifiers (email or phone).


        Merchants can use this endpoint without having to launch Trustly widget/lightbox. One such use case could be to 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, `isInTrustlyNetwork` is returned as `true`.


        **Authentication:** Requests must be authenticated with HTTP Basic Auth using your `accessId` as the username and `accessKey` as the password.'
      tags:
      - networkCheckApi
      parameters:
      - name: email
        in: query
        description: User's email address.
        required: true
        schema:
          type: string
          format: email
      - name: phone
        in: query
        description: User's phone number in ITU E.164 format.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Lookup result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerLookupResponse'
        '400':
          description: Bad Request — missing mandatory fields or invalid email
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerLookupResponse'
        '401':
          description: Access not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Get-customer-lookupRequestUnauthorizedError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                description: Any type
      security:
      - HTTPBasic: []
components:
  schemas:
    BaseException:
      type: object
      properties:
        domain:
          type: string
        code:
          type: integer
        location:
          type: string
        message:
          type: string
        occurredAt:
          type: integer
      title: BaseException
    CustomerLookupResponseErrorsListItems:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        location:
          type: string
        domain:
          type: string
        occurredAt:
          type: integer
      title: CustomerLookupResponseErrorsListItems
    Get-customer-lookupRequestUnauthorizedError:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/BaseException'
      required:
      - errors
      title: Get-customer-lookupRequestUnauthorizedError
    CustomerLookupResponse:
      type: object
      properties:
        isInTrustlyNetwork:
          type: boolean
          description: True if a transaction has ever been made with any of the provided identifiers.
        errorsList:
          type: array
          items:
            $ref: '#/components/schemas/CustomerLookupResponseErrorsListItems'
          description: Present only on error responses.
      title: CustomerLookupResponse
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic
      description: ''