Skip to content

feat: @agentaos/pay SDK v1.0.0#9

Merged
PancheI merged 4 commits intomainfrom
feat/payment-sdk
Mar 18, 2026
Merged

feat: @agentaos/pay SDK v1.0.0#9
PancheI merged 4 commits intomainfrom
feat/payment-sdk

Conversation

@PancheI
Copy link
Contributor

@PancheI PancheI commented Mar 18, 2026

Summary

  • New @agentaos/pay SDK — accept regulated stablecoin payments programmatically
  • Added @types/node to devDependencies
  • Includes changeset for major version bump (0.2.1 → 1.0.0)

Release flow

Once merged, trigger the Release workflow (workflow_dispatch) to:

  1. Create the version PR (bumps package.json + generates CHANGELOG)
  2. After merging that PR, re-trigger to publish to npm

Test plan

  • Build passes (pnpm build)
  • All tests pass (pnpm test)
  • Changeset correctly targets only @agentaos/pay (no other packages affected)

PancheI and others added 4 commits March 17, 2026 12:19
New package: packages/pay/ (@agentaos/pay v0.2.1)

SDK:
- AgentaOS client with browser guard, API key validation
- checkouts: create, list, retrieve, cancel (standalone or from payment link)
- paymentLinks: create, list, retrieve, cancel
- transactions: list with direction/date filters
- invoices: list, retrieve, void, downloadPdf, downloadStatement, exportCsv
- webhooks: verify signatures (HMAC-SHA256, timing-safe)
- HTTP layer: retry on 5xx, 429 handling, timeout, idempotency keys
- Zero dependencies (native fetch + crypto)
- ESM only, Node.js 20+

Example:
- examples/pay-express-shop/ - complete Express e-commerce integration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@PancheI PancheI merged commit cb90955 into main Mar 18, 2026
1 check passed
@PancheI PancheI deleted the feat/payment-sdk branch March 18, 2026 11:06
@github-actions github-actions bot mentioned this pull request Mar 18, 2026
PancheI pushed a commit that referenced this pull request Mar 18, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @agentaos/pay@1.0.0

### Major Changes

- [#9](#9)
[`cb90955`](cb90955)
Thanks [@PancheI](https://github.com/PancheI)! - Accept regulated
stablecoin payments programmatically

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant