Quick Integration Guide
For developers to automatePayment Link actions
β
Step 1: Add Webhook URL to Your Payment Link
β
Step 2: Verify Signature of Incoming Webhook Request
const crypto = require('crypto');
const signature = req.headers['x-paymento-signature'];
const secretKey = 'YOUR_MERCHANT_SECRET_KEY'; // From Paymento dashboard
const computed = crypto
.createHmac('sha256', secretKey)
.update(req.rawBody)
.digest('hex');
if (signature !== computed) {
return res.status(401).send('Invalid signature');
}β
Step 3: Handle Events
Use Events to Automate Logic
Checklist β
Headers Reference
Body Structure
π Available Events
Event
Description
Signature Verification (Code Samples)
Node.js
Python
PHP
C#
Ruby
Go
Java
Last updated