Stripe starter module
Agentic commerce
Accepts agent-initiated payments with scoped Shared Payment Tokens and resumes flows that need buyer action.
- Files
- 3
- Lines
- 429
- Languages
- TypeScript + Markdown
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/agentic/accept-agent-payment.ts
Creates and confirms a scoped agent payment with a Shared Payment Token.
TypeScript
253 lines
src/agentic/MACHINE_PAYMENTS.md
The seller-side payment code in this module can also charge an agent for API access.
Markdown
36 lines
src/agentic/spt-webhooks.ts
Routes Shared Payment Token state changes to buyer action and payment resumption handlers.
TypeScript
140 lines