Yes, the cancellation rules can be shown on your website before the customer pays, and on a B2C portal that is worth setting up properly because most complaints come from people who thought they could cancel for free. The usual place for it is on the room or room type when they pick it, again on the review page just before the payment step, and once more on the confirmation that is emailed out, so there is no argument later about what they were told.
How much detail you can show depends on the supplier and on what their API sends back. Some suppliers give the full policy with the exact deadline and what is held back after that date, and all of that can be printed straight onto the page. Others only tell you whether the rate is refundable or not, and some only release the detailed wording once the booking is actually confirmed. Where the supplier gives you very little, the honest thing is to show a short plain line saying the rate is non refundable, or that the hotel rules apply, rather than inventing a policy that may not match.
On top of whatever the supplier sends, you can add your own terms, such as your service fee being non refundable or how long you need to process a cancellation request, and you can make the customer tick a box to accept before paying. That tick is stored with the booking, so when somebody rings up months later your staff can open the booking and see exactly which rules were accepted at the time.
The thing to check next is what each of your suppliers actually returns in their search response, because that decides whether you can show real deadlines or only a refundable and non refundable label.