Skip to main content
PayKit methods return the result directly. Wrap with try/catch to handle errors:

Error types

Import from @paykit-sdk/core:

Example