The ornamental design for a displayscreen or portion thereof with a graphicaluserinterface for a digital card, as shown and described.
The FIGURE is a front view of a display screen with a graphical user interface for a digital card.
The broken lines of the FIGURE depict portions of a user device and a display screen with a graphical user interface for a digital card. These broken lines depict environmental subject matter and form no part of the claimed design.