# @requestnetwork/payment-processor

> Payment processing using ethers.

Latest version **0.63.0** (published 2026-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @requestnetwork/payment-processor
pnpm add @requestnetwork/payment-processor
yarn add @requestnetwork/payment-processor
bun add @requestnetwork/payment-processor
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.63.0 |
| Published | 2026-09-18 |
| First published | 2020-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=22.0.0 |
| Dependencies | 11 |
| Unpacked size | 628.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | request-bot, yomarion, aimensahnoun, mantisclone-requestnetwork, rodrigopavezi-request, bassgeta-rn |
| Keywords | requestnetwork |

## Links

- npm: https://www.npmjs.com/package/@requestnetwork/payment-processor
- Repository: https://github.com/RequestNetwork/requestNetwork
- Homepage: https://github.com/RequestNetwork/requestNetwork/tree/master/packages/payment-processor#readme
- Issues: https://github.com/RequestNetwork/requestNetwork/issues
- npm.io page: https://npm.io/package/@requestnetwork/payment-processor

## Dependencies (11)

- [tslib](https://npm.io/package/tslib.md) 2.8.1
- [ethers](https://npm.io/package/ethers.md) 5.7.2
- [near-api-js](https://npm.io/package/near-api-js.md) 4.0.2
- [@hinkal/common](https://npm.io/package/@hinkal/common.md) 0.2.12
- [@requestnetwork/types](https://npm.io/package/@requestnetwork/types.md) 0.60.0
- [@requestnetwork/utils](https://npm.io/package/@requestnetwork/utils.md) 0.60.0
- [@openzeppelin/contracts](https://npm.io/package/@openzeppelin/contracts.md) 4.9.6
- [@requestnetwork/currency](https://npm.io/package/@requestnetwork/currency.md) 0.34.0
- [@superfluid-finance/sdk-core](https://npm.io/package/@superfluid-finance/sdk-core.md) 0.5.0
- [@requestnetwork/smart-contracts](https://npm.io/package/@requestnetwork/smart-contracts.md) 0.54.0
- [@requestnetwork/payment-detection](https://npm.io/package/@requestnetwork/payment-detection.md) 0.60.0

## Recent versions

- 0.63.0 (latest) — 2026-09-18
- 0.62.1-next.b2a1665f.0 (next) — 2026-08-31
- 0.62.1-next.18be89d7.0 — 2026-08-31
- 0.62.1-next.6df923e2.0 — 2026-08-31
- 0.62.1-next.af792b64.0 — 2026-06-09
- 0.62.1-next.f220532d.0 — 2026-06-08
- 0.62.1-next.ba2344ff.0 — 2026-06-05
- 0.62.1-next.ada584b1.0 — 2026-06-05
- 0.62.0 — 2026-06-03
- 0.61.1-next.053cae94.0 — 2026-05-28
- 0.61.0 — 2026-05-25
- 0.60.1-next.2d9d2486.0 — 2026-05-24
- 0.60.0 — 2026-02-16
- 0.59.0 — 2025-12-18
- 0.58.0 — 2025-12-12
- … 706 more at https://npm.io/package/@requestnetwork/payment-processor/versions

## README

# @requestnetwork/payment-processor

`@requestnetwork/payment-processor` is a typescript library part of the [Request Network protocol](https://github.com/RequestNetwork/requestNetwork).
It contains client-side payment methods for:

- ERC20 proxy contract
- ETH input data

### Test

To run the payment-processor tests we need a local running ganache with all our smart contracts deployed.
Do not define "NETWORK" variable in the smart-contracts .env file.
You can open two terminals and do:

```
# Terminal 1
cd ../smart-contracts/
yarn ganache

# Terminal 2
cd ../smart-contracts/
yarn deploy
cd ../payment-processor
yarn test
```

### Basic Usage

see [ERC20](/packages/usage-examples/src/pay-erc20-request.ts) and [ETH](/packages/usage-examples/src/pay-eth-request.ts) usage examples.

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