X-Mart uses the perpetual inventory system to account for its merchandise. On May 1, it purchased $400 of merchandise on account with terms of 2/15, n/40. On May 3, X-Mart returned $50 of merchandise due to defect. Assuming that the purchase was paid for within the discount period, demonstrate the required journal entry for X-Mart to record the payment.