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

    Function isReasonWellFormed

    • Validate that the reason being declared by the server is either standard or x_*-prefixed. Catches typos before the 402 ships.

      Parameters

      • reason: string

        The dispute reason to check.

      Returns boolean