Introduction
OleqPay hosted checkout SDK for the browser, React, and NestJS.
@oleq-ai/pay opens OleqPay hosted checkout from your site — either as a modal iframe or a full-page redirect.
Packages
| Import | Use when |
|---|---|
@oleq-ai/pay | Vanilla JS / any bundler |
@oleq-ai/pay/react | React / Next.js client components |
@oleq-ai/pay/nest | NestJS server-side URL minting |
Two integration styles
- Client payload — pass
apikey,amount,orderid, andreferencein the browser. Fine for demos; amounts can be edited in DevTools. - Server-minted URL (recommended) — call
buildUrl()on your backend, then hand the URL toopenIframe()/redirect()in the browser.