feat(specs): Add subscribe scheme specification for recurring payments#1133
Open
asghaier76 wants to merge 2 commits intocoinbase:mainfrom
Open
feat(specs): Add subscribe scheme specification for recurring payments#1133asghaier76 wants to merge 2 commits intocoinbase:mainfrom
asghaier76 wants to merge 2 commits intocoinbase:mainfrom
Conversation
🟡 Heimdall Review Status
|
|
@asghaier76 is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
Introduces a new payment scheme to complement the existing scheme,
enabling subscription-based recurring payments for internet resources.
Key features:
- Subscription lifecycle: discovery, subscribe, access with proof, renew/cancel
- Pre-authorized renewals via EIP-3009 or Permit2 signatures
- Subscription proof header for efficient access verification without per-request payments
- Grace period handling for failed renewals
- Support for multiple billing cycles (daily, weekly, monthly, annual)
- AI agent optimization for automatic payment scheme selection
Includes:
- specs/schemes/subscribe/scheme_subscribe.md - Scheme overview
- specs/schemes/subscribe/scheme_subscribe_evm.md - EVM-specific implementation with
reference smart contracts (x402SubscriptionRegistry, x402SubscriptionProxy)
References: coinbase#512
6d00aab to
1872aac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces a new payment scheme to complement the existing scheme,
enabling subscription-based recurring payments for internet resources.
Key features:
Includes:
References: #512
Description
Tests
Checklist