Subscriptions
Implement flexible subscription payments, all on-chain
Last updated
Implement flexible subscription payments, all on-chain
Last updated
StreamPayments enables simple and flexible subscription payments in any Solana currency for StreamFinance - BaaS (Blockchain-As-A-Service), digital content, Discord access, utilities, and more. We offer no-code checkout experiences and powerful APIs & developer tools to help projects build subscription payments into their apps and paywalls.
Log in to the StreamPayments dashboard. Click Create Payment --> Pay Stream
Add a Name and a description of your product or service, then click next
Set the duration (e.g. months) --> set the currency and price (e.g. 1 SOL) --> and set the maximum duration, which should be your default subscription period (e.g. 12 for a 12 months subscription period). Click next
In the Advanced options, you can select to receive customer details, limit total sales, NFT-gated access, and email notifications.
Save the Pay Stream and share the checkout link
When users pay for the subscription (e.g. 1 SOL/month for 12 months), they pre-approve the total amount (e.g. 12 SOL), which is held in a StreamPay smart contract account.
At the start of every period (e.g. month), 1 SOL is automatically withdrawn to the merchant's wallet. The user can stop the stream at any time by logging in to the StreamPay Dashboard to cancel the subscription and will receive the remaining amount back into their wallet
Monthly top-up. This requires the user to "sign" a top-up transaction with their wallet to extend the subscription.
Use StreamPayments Web Payments API and Webhooks to build & integrate Stream subscription payments into your app and paywalls