











अनेक पेमेंटसाठी ऑटो संदर्भ (VS) 
व्हेरिएबल सिम्बॉल — पेमेंट ट्रॅकिंगसाठी रेफरन्स. ट्रॅक करण्यासाठी रकमेच्या शेवटी 4 अंक जोडतो; उदाहरणार्थ Tron वरील USDT मध्ये बिंदूनंतर 6 अंक. पहिले दोन वापरले जातात, उदा. 10.55 (10 डॉलर 55 सेंट), व्हेरिएबल सिम्बॉलसह 10.550001. हे एका सेंटाच्या 1000 पट कमी — खरेदीदार जास्त भरत नाही. पण पेमेंट ट्रॅक करता येते.
Merchant मोडमध्ये 10,000 कोड संपले की पुढील 10,000 साठी नवीन USDT पत्ता आपोआप जोडला जाईल — असे अविरत. दिवसाला हजारो ऑर्डर असलेल्या मोठ्या स्टोअरसाठीही पुरेसे.
नाहीतर प्रत्येक पेमेंटसाठी वेगळा पत्ता लागेल. नंतर सर्व निधी एका पत्त्यावर गोळा करण्यासाठी नेटवर्क कमिशन भरावे लागेल. उदाहरणार्थ, 100 पत्त्यांवर 100 पेमेंट्स असतील तर एका पत्त्यावर निधी गोळा करण्यासाठी (एक्सचेंज इ.) 100 वेळा कमिशन भरावे लागेल ($0.9 प्रति). वर वर्णन केलेल्या रेफरन्स नंबर्सने आम्ही हे टाळले.
app.post('/mi_webhook_subscription/', bodyParser.json(), (request, response) => {
try {
let eventObj = request.body;
const signature = request.headers['mitilena-signature'];
if (signature === endpointSecretMitilenaNewOur) {
if (!eventObj.statusObj) {
return response.status(400).send('Error, no object.');
}
let hookObj = eventObj.statusObj;
...Your private secret key:
You should only process requests to your webhook that contain this key.
statusObj = {
mitilenaInvoiceId: 'auto-683dc5-03f2c0-e3f06a-example-string', // never undefined
yourPaymentId: 'stringOrNull', // never undefined
yourProductName: 'stringOrNull', // never undefined
yourProductId: 'stringOrNull', // never undefined
secretKey: 'your-unique-secret-key', // never undefined,
stableCoinAmount: 0, // number, never undefined
stableCoinSymbol: 'USDT', // never undefined
stableCoinBlockchain: 'tether-trc20', // never undefined
stableCoinContractAddress: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t', // string | null
localCurrencyAmount: 0, // number, never undefined
localCurrencyCode: 'EUR', /// ISO 4217 currency code, never undefined
wasPaid: true, // true | false, never undefined
}
/* payment time === webhook call time.
We try to send a request immediately after the payment is detected
!!!
If the secret key is incorrect or at least one field is
undefined - this is a fake request, do not set the order
as paid in your system! */