Other ecash system support locking scripts and unlocking scripts on ecash tokens. The coordinator only honors a token transfer if the sender proves they are authorized to unlock their ecash token by passing in a valid unlocking script. For examples, see here:
The latter example even expands upon bitcoin script by supporting the entire Simplicity language from blockstream. Can discrete payments do something similar and honor token transfers only if a credential holder unlocks that credential with a script?