Strapi 5 server plugin for MakePay payment links, customers, bookkeeping invoices, and signed webhooks.
POST /api/makepay/payment-linksGET /api/makepay/payment-links/:uidPOST /api/makepay/customersPOST /api/makepay/bookkeeping/invoicesPOST /api/makepay/bookkeeping/invoices/:invoiceId/payment-linkPOST /api/makepay/webhooks- Server-side credential handling through Strapi plugin config.
- HMAC verification for
X-MakePay-Signature.
npm install strapi-plugin-makepayEnable and configure the plugin:
// config/plugins.tsexportdefault({ env })=>({makepay: {enabled: true,config: {baseUrl: env('MAKEPAY_BASE_URL','https://www.makecrypto.io'),keyId: env('MAKEPAY_KEY_ID'),keySecret: env('MAKEPAY_KEY_SECRET'),webhookSecret: env('MAKEPAY_WEBHOOK_SECRET'),},},});curl -X POST http://localhost:1337/api/makepay/payment-links \
-H 'content-type: application/json' \
-d '{ "payload": { "title": "Pro plan", "amount": "49.00", "currency": "USD", "returnUrl": "https://example.com/billing/return" } }'Configure MakePay webhooks to:
https://your-strapi.example/api/makepay/webhooks
The webhook route verifies the raw body with X-MakePay-Signature before
returning the decoded event payload.
npm ci
npm test
npm run build
npm run validate