Product · Recurring Web3 Billing
Non-Custodial Recurring Subscriptions.
Zero Lock-In. Gasless Permits.
Bill customers on a recurring schedule without holding custody or managing seed phrases. RobinPay uses EIP-712 typed signature authorizations and the SubscriptionVault.sol smart contract to automate SaaS subscriptions and membership renewals on Robinhood Chain.
How Recurring Billing Works
1
One-Time Permit
Customer signs a gasless EIP-712 permit specifying the billing period (e.g. 30 days) and max spending limit in USDC.
2
Automated Execution
When the renewal interval elapses, your automated worker executes the debit via SubscriptionVault.charge().
3
Zero-Trust Revocation
Subscribers maintain sovereign control. They can cancel or modify permissions directly on-chain at any moment.
SDK Code Example
Create and manage subscriptions using the typed RobinPay SDK.
import { RobinPayClient } from '@robinpay/sdk';
const client = new RobinPayClient({
network: 'testnet', // Robinhood Chain Testnet (46630)
});
// 1. Generate recurring subscription permit
const subscription = await client.subscriptions.create({
merchant: '0x2ae25f1c0e6431bc7d93c26be79762e7e02c8ead',
token: 'USDC',
intervalDays: 30,
maxAmountPerCycle: '49.00',
planName: 'Developer Pro Tier',
});
// 2. Charge active subscription on renewal
const txHash = await client.subscriptions.charge({
subscriptionId: subscription.id,
});