How to store data on blockchain? I want to store the data on blockchain so that people can see and verify the data. The data format will be a simple JSON like the user details.

{'user_id': userid, 'amount': amount, 'product_id': productId, 'place_id':place'}


Is there any way to store the above data in blockchain so that people can verify their details that are not manipulated?
The traditional way to store data is via an OP_RETURN. On Bitcoin, this is limited to 40 bytes of data. Bitcoin Cash increased this limit to 220 bytes just yesterday.

You can also store arbitrary data (more or less) on ethereum via a smart contract.

Traditionally, for this kind of use case, people opt to store the hash of the data instead of the raw data itself. They can then provide the raw data to someone, who can hash it and verify that it matches the hash that was stored on the blockchain.