@sumup/sdk
    Preparing search index...

    Type Alias BadRequest

    BadRequest

    400 Bad Request

    type BadRequest = {
        errors: {
            detail?: string;
            type:
                | "INVALID_BEARER_TOKEN"
                | "INVALID_USER_AGENT"
                | "NOT_ENOUGH_UNPAID_PAYOUTS"
                | "DUPLICATE_HEADERS";
        };
    }
    Index

    Properties

    Properties

    errors: {
        detail?: string;
        type:
            | "INVALID_BEARER_TOKEN"
            | "INVALID_USER_AGENT"
            | "NOT_ENOUGH_UNPAID_PAYOUTS"
            | "DUPLICATE_HEADERS";
    }

    Type Declaration

    • Optionaldetail?: string

      Fuller message giving context to error

    • type:
          | "INVALID_BEARER_TOKEN"
          | "INVALID_USER_AGENT"
          | "NOT_ENOUGH_UNPAID_PAYOUTS"
          | "DUPLICATE_HEADERS"

      Key indicating type of error