
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@agonx402/types
Advanced tools
Shared TypeScript type definitions for the Agon payment protocol.
Used internally by @agonx402/client and @agonx402/platform. You typically don't need to install this directly — it's included as a dependency of both SDKs.
npm install @agonx402/types
Account, AccountBalance, AutoRefillSettings, deposit/withdrawal typesAuthorizeRequest/Response, ConsumeRequest/Response, ReleaseRequest/ResponseSpendingControls, SpendingOverride, SpendingLimitExceededDetailsApiPlatform, RegisterPlatformRequest/ResponseProxyRequest/Response for x402 compatibility modeSettlement, SettlementBatch for batch on-chain payoutsAgonError class with typed error codes and helper methodsAgonPlatformConfig, OverrideSigner, pricing utilitiesAGON_HEADERS, USDC (mints, decimals), parsePrice()1 USDC = 1_000_000 unitssnake_case, SDK-facing types use camelCaseAGON is an early-stage, devnet payment infrastructure project. It functions as a custodial service: after deposit, funds are swept to and held in project-controlled wallets.
While the core payment flows are operational, the platform is still under active development and has not yet undergone a formal security audit or obtained insurance coverage. The project is also in the process of completing VASP registration in Georgia.
As with any early-stage financial technology, there are material risks including (but not limited to) technical failures, operational errors, or unforeseen events that could result in loss of funds.
We strongly recommend testing with very small amounts only and monitoring your activity closely.
We are committed to transparency and continuous improvement — live Proof of Reserves, public multisig wallets, and regular updates are available on the site.
MIT
FAQs
Shared type definitions for the Agon payment SDK
We found that @agonx402/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.