Our contribution just went live on the official AWS Builder Center Blog.
The article
How we metered a SaaS product through AWS Marketplace with the AWS SDK for JavaScript v3
A technical deep-dive covering the full AWS Marketplace SaaS integration:
- ResolveCustomer. validating the registration token on the fulfillment URL.
- MeterUsage / BatchMeterUsage. reporting per-agent and per-inference usage daily through AWS.
- GetEntitlements. checking contract entitlements for tiered feature gating.
- Verified SNS webhooks. handling
subscribe-success,unsubscribe-success, andentitlement-updatedlifecycle events with signature verification. - Bridging to an on-chain x402 paywall. routing AWS subscription state into the three.ws x402 agent payment layer.
All of it is open source at github.com/nirholas/three.ws/tree/main/api/aws-marketplace.
Related
Originally published on the AWS Builder Center.