1. Prerequisites
Same as Cookbook: Sell a Product: settlement, API key, verified webhooks.2. Create a recurring offer
3. Provision access from webhooks
Always Verify Webhook Signatures and enforce idempotency on subscription and invoice ids.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
End-to-end subscription setup with invoices and lifecycle webhooks.
curl -X POST "https://mapi.boomfi.xyz/v1/paylinks" \
-H "X-API-KEY: sk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Pro plan",
"amount": "29.00",
"currency": "USD",
"type": "Recurring",
"interval": "Month",
"intervalCount": 1,
"reference": "pro_monthly"
}'
| Event | Merchant action |
|---|---|
Subscription.Created | Record pending subscription |
Subscription.Updated (Active) | Grant product access |
Payment.Updated (Succeeded) | Confirm paid period |
Invoice.Created | Record open invoice |
Invoice.Overdue | Notify customer / restrict access per your policy |
Subscription.Canceled | Revoke access |