Use any PayKit provider with MedusaJS via the PayKit adapter.
The Medusa adapter plugs PayKit into Medusa’s Payment Collections and Sessions.
See an example Medusa server using PayKit: GitHub