You can only deduct what you actually paid. So if you paid that 40% fee, you can deduct it.
When you file your return, you enter all the money (received through the 1099-MISC or otherwise) on the return to report your gross income. Then you enter all the expenses that you paid to arrive at your net income. So, you paid that fee, you can deduct it.