I have a requirement of merging two different custom assets hold by same issuer, is this requirement possible? if yes please explain me how to achieve this.
It's not possible, right out of the book.
Merge only works on an account without any trust lines, data entries, or offers.
You need to remove all of these before you merge.
Merge account is only allowed when you don't have any subentries on your account (i.e. trustlines, data entries, offers).
You can easily achieve what you want using a single transaction with the following sequence of operations (ordered):
- send all assets from the first account to the account you want it merged into
- remove trustline from the account you are merging from
- merge account operation