Rather than generating a different paymentId or dividendId, use the requestId in the context. The requestId can be stored in the paymentId/dividendId/assetId column in the database.
assetId = requestId; we want to keep these two separate ( as if you do events on these assets later; eg update some data we want to retain the requestId separate from the key of the asset)
Rather than generating a different paymentId or dividendId, use the requestId in the context. The requestId can be stored in the paymentId/dividendId/assetId column in the database.