You write a letter to the depositary bank and lay out the timeline of events, then state your claim for reimbursement. Part of me wants to suggest you target the first depositary bank, because it allowed the deposit to be made without the restrictive indorsement "For mobile deposit" wording, thus enabling the fraudulent or inadvertent second deposit. But I imagine you will want to go after the second bank based on simple argument that it presented the check for payment after it had already been paid once, and their mistake in encoding the item prevented your bank's timely detection of that fact.
If you're lucky, you will get paid. But I'd say the odds are against it. Unless there is a large amount involved, it may not be justified to escalate the matter to small claims court or other legal action.
_________________________
John S. Burnett
BankersOnline.com
Fighting for Compliance since 1976
Bankers' Threads User #8