Skip to main content

1. Install

2. Create a PayKit instance

3. Mount the catch-all route

createEndpointHandlers generates handlers for every PayKit resource. Mount them behind a single catch-all API route:

4. Handle webhooks

Swap providers

Change one import and everything else stays the same:
See Providers for the full list.