DEVELOPERS
Connect any website to Main Street Points.
Use a plugin for Shopify, WooCommerce or WordPress — or one script and a small REST API for a custom site.
1. Add the widget
<script src="https://cdn.mainstreetpoints.com/widget.js" data-store="your-store" async></script>
2. Send orders from your server
POST https://api.mainstreetpoints.com/v1/orders
Authorization: Bearer msp_live_••••
Idempotency-Key: order-10482
{ "order_id": "10482",
"member": { "email": "sujin@example.com" },
"subtotal_cents": 8600 }Pick your platform
- Shopify
Orders and refunds sync, and members use points and coupons at checkout.
- WooCommerce
Install the plugin and paste your connection key. Works with orders and refunds.
- WordPress
Plugin with join pop-up, my rewards block and shortcodes.
- Custom site
One script tag for the widget and the REST API for orders and refunds.
Store owners create live and test keys in the store dashboard under Site connection & API. Keys are shown once.