T402 API Reference - v2.9.0
    Preparing search index...

    Function isReasonSupported

    • Check whether a reason is in the server's accepted list. Supports x_*-prefixed custom values per spec.

      Parameters

      • reason: string

        The reason claimed in the dispute.

      • supported: DisputeReason[]

        The list of reasons the server accepts.

      Returns boolean