# @oceanalt/x402

> Pre-payment checks for x402 clients. ./hook: an onBeforePaymentCreation hook for @x402/core that asks for allow, review or decline before the payment is signed and aborts when there is no answer (zero dependencies). Main entry: a fetch wrapper that screen

Latest version **0.3.0** (published 2026-10-27) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install @oceanalt/x402
pnpm add @oceanalt/x402
yarn add @oceanalt/x402
bun add @oceanalt/x402
```

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2026-10-27 |
| First published | 2026-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 18.5 KB |
| Maintainers | water66 |
| Keywords | x402, agent-payments, pre-settlement, kya, aml, onBeforePaymentCreation, x402-hook |

## Links

- npm: https://www.npmjs.com/package/@oceanalt/x402
- Homepage: https://oceanalt.com/en/api-docs
- npm.io page: https://npm.io/package/@oceanalt/x402

---
_Source: https://npm.io/package/@oceanalt/x402 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
