---
url: https://simplepay.webmania.cc/en.md
description: >-
  SimplePay integration for Node.js, Nuxt, Next.js and Express. Unofficial
  TypeScript SDK for one-time and recurring payments, IPN, Google Pay and Apple
  Pay with the Hungarian SimplePay gateway.
---

::: warning Unofficial SDK
`simplepay-js-sdk` is a community project. It is not a product of SimplePay Zrt. (OTP Mobil), is not affiliated with it, and is not endorsed by it. SimplePay's official documentation: [docs.simplepay.hu](https://docs.simplepay.hu/).
:::

```bash
npm install simplepay-js-sdk
```

```ts
import { startPayment } from 'simplepay-js-sdk'

const { paymentUrl } = await startPayment({
  orderRef: 'order-12',
  total: 1212,
  customerEmail: 'customer@example.com',
})
// redirect the customer to paymentUrl
```
