@sumup/sdk
    Preparing search index...

    Type Alias Unauthorized

    Unauthorized

    401 Unauthorized

    type Unauthorized = {
        errors: {
            detail: string;
            type?: "INVALID_ACCESS_TOKEN" | "INVALID_PASSWORD";
        };
    }
    Index

    Properties

    Properties

    errors: { detail: string; type?: "INVALID_ACCESS_TOKEN" | "INVALID_PASSWORD" }

    Type Declaration

    • detail: string

      Fuller message giving context to error

    • Optionaltype?: "INVALID_ACCESS_TOKEN" | "INVALID_PASSWORD"

      Key indicating type of error. Present only for typed 401 responses (e.g. invalid token, invalid password). Absent for generic unauthorized responses.