No, it is not mandatory to have a GST number in PayPal. Normally PayPal is used for offshore payments. As the export of services is exempted from GST along with a requirement of the total turnover of above ₹20L. So PayPal has not made it mandatory to have the GSTIN or GST Number.
However, one needs to use a Purpose Code For using PayPal.