Skip to main content
The @arcenpay/node package is the server-side SDK for ArcenPay. It provides ArcenClient for authenticated API calls, verifyWebhookSignature for webhook HMAC verification, x402Middleware for Express payment enforcement, and optional advanced services for billing automation.

Installation

Exports

Environment variables

Quick example

ArcenClient constructor

Error handling

All client methods throw ArcenApiError on non-2xx responses:

Next steps

Last modified on September 19, 2026