











ڪيترين ادائيگين لاءِ آٽو reference (VS) 
Variable symbol — ادائيگي ٽريڪنگ لاءِ reference. ٽريڪ ڪرڻ لاءِ رقم جي آخر ۾ 4 انگ شامل ڪريون ٿا؛ مثال، Tron تي USDT ۾ ڊاٽ کان پوءِ 6 انگ. پهريان ٻه استعمال ٿين ٿا، مثال 10.55 (10 ڊالر 55 سينٽ)، ۽ variable symbol سان 10.550001. اصل ۾ هي هڪ سينٽ کان 1000 ڀيرا گهٽ آهي — خريدار وڌيڪ نه ٿو ڀري. پر ادائيگي ٽريڪ ٿي سگهي ٿي.
Merchant موڊ ۾ 10,000 ڪوڊ استعمال ٿيڻ تي خودڪار نئون USDT پتو ايندڙ 10,000 ڪوڊن لاءِ شامل ٿيندو — ۽ ائين جاري. وڏي آن لائن دڪان جون هزارين روزاني آرڊر به ھلائي سگهو ٿا.
نه ته هر ادائيگي لاءِ الڳ پتو استعمال ڪرڻو پوندو. پوءِ سڀ پئسا هڪ پتي تي گڏ ڪرڻ لاءِ بلاڪچين ڪميشن ڀرڻي پوندي. مثال طور، جيڪڏهن 100 پتين تي 100 ادائيگيون آهن، ته هڪ پتي تي پئسا گڏ ڪرڻ لاءِ (مٽاسٽا وغيره) 100 ڀيرا ڪميشن ڀرڻي پوندي (هر ڀيري 0.9$). اسان مٿي ڄاڻايل reference نمبرن سان هي مسئلو حل ڪيو.
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! */