Hi,
Unfortunately, namecheap’s API is not supported in DNS validation, which means you need to enter the DNS records manually. (And renew manually)
Here are the steps. (From certbot.eff.org)
certbot --manual --preferred-challenges dns
(and it will output the txt records you need to add)
(Remember, it’s two DNS records instead of one!)
Thank you