Quickstart
Build your first paid endpoint.
Install the PayAccept x402 SDK, configure an endpoint, return 402 Payment Required, verify stablecoin payment, and grant access — with Trust Layer receipts and webhooks included.
Steps
- 1
Create a PayAccept developer account (coming soon)
- 2
Install @payaccept/x402
- 3
Register a paid endpoint
- 4
Return payment requirements on 402
- 5
Verify payment and unlock access
- 6
Receive receipt and webhook events
npm install @payaccept/x402