Yes, JetBlue offers a 24-hour cancellation policy for most flights. This policy allows you to cancel your flight within 24 hours of booking for a full refund, as long as the flight is at least seven days away. 
To confirm your eligibility, you can contact JetBlue's support team at +1 (804 853 9001)