Accept Crypto Subscriptions
🚀 How It Works
✅ Step 1: Create a Product
Every subscription plan is associated with a product. Create the product first using the following API request:
The response will include a unique productId
. Save this for the next step.
✅ Step 2: Create a Subscription Checkout Session
Using the created product’s ID, generate a checkout session to enable the user to subscribe:
The API response will provide a hosted checkout session URL. Redirect your user to this URL to complete the subscription.
✅ Step 3: Automate Recurring Billing
Copperx’s smart contracts automatically handle the recurring charges based on the interval (monthly
, yearly
, etc.) and send blockchain-verified payment confirmations.
✅ Step 4: Stay Updated with Webhooks
Copperx sends webhook events for key actions:
customer.subscription.created
customer.subscription.started
customer.subscription.unpaid
Use these events to manage access and provide real-time updates to your users.
Last updated