Is it possible to Integrate Razorpay Payments with POS in the Open point of sale for payments

I am working in a ERPNext project. I am new to ERPNext. Is it possible to setup razorpay payments for the POS? If so, can I have some guidance and if possible some sample code?

Further Information: I have installed the payments app and setup the Razorpay test credentials in the Razorpay settings.

Frappe & ERPNext: version-15