Discount retailer Target Corporation has reached an agreement to sell nearly half its credit card receivables to financial services firm JPMorgan Chase for $3.6bn.