> messages that can optionally include payments
This is a weird way to put it. Transactions include state transitions which modify the state of the global blockchain permanently. Miners (in the case of bitcoin) validate these transitions and publish the block to the chain. If there is a reversal, it must come from the merchant’s account, because only they can produce a valid state transition to “return” (ie send back) your money.