Available on crate feature
server only.Expand description
Paygate-level lifecycle hooks.
Unlike facilitator-level FacilitatorHooks
which fire inside verify / settle, these hooks fire at the HTTP
paygate layer and let integrators:
- bypass payment for API-key holders,
- enforce IP allow-lists / KYT checks,
- short-circuit the request with a custom error response.
Structs§
- Noop
Paygate Hooks - No-op
PaygateHooksimplementation used as the default when no hooks are configured.
Enums§
- Protected
Request Outcome - Outcome returned by
PaygateHooks::on_protected_request.
Traits§
- DynPaygate
Hooks - Dyn-compatible shim over
PaygateHooks. - Paygate
Hooks - Lifecycle hooks for the HTTP paygate layer.