Request in, Response out for everything else.
Pick your adapter
CI builds every package and the Next.js example and runs the unit suites; the fetch handlers share the same core as the Express and Next.js adapters.
One handler for all three routes
For anything that mounts a prefix rather than a file per route.createPaymanRouter() returns null when the request is not Payman’s, so your own 404 stays yours.
Hono
One handler per route
For frameworks that map files or explicit paths to handlers.Options
Requirements
Node 22.5 or newer, on a Node-compatible runtime. Not edge: the SDK uses node crypto andnode:sqlite.
If more than one instance of your app can serve the same customer, move off the default embedded store to sqlStore() from @paymanai/connect/stores/sql or redisStore() from @paymanai/connect/stores/redis. A connection written by one instance is otherwise missing from the next.

