How does NFT transfer work in ERC1155?

I want to implement the logic that when NFTs are purchased with a credit card (and NFTs are listed in fiat (USD) but NOT in cryptocurrency), transfer the ownership from the original owner who minted the item to buyer. Wonder how this works in ERC1155

Iā€™m thinking the below scenario and is this the best practice?

trigger Moralis cloud functions when user click checkout button => call stripe endpoint and payment confirmed => transfer ownership