you won't get a refund but if you apply through the marketplace and your annual earnings already qualify you for medicaid you'll likely be instructed to apply for that program anyhow. i suggest you call the 800 number on healthcare. gov to discuss your situation and how best to proceed.
i've recently applied for medicaid but i'm forced to wait 45 days before receiving an answer of eligibility. if i buy a marketplace plan now while waiting for the answer from medicaid will i be able to get a refund on the marketplace plan if i am eligible for medicaid?