USD
收款币种:



未选择地址


Webhook URL 

https://....yourwebsite.com

选择用于收款的加密货币:

USDT, TRC20

USDT, BEP20

USDT, ERC20

BTC, Bitcoin

VMT, Mitilena

APFC, ERC20
多笔付款的自动参考号(VS) 
通过 API 全自动接收加密货币。 API 总览说明 可在任意环境中实现,以及 适用于 Wordpress WooCommerce 网店的插件.
可变符号 — 用于追踪付款的参考码。为追踪付款,我们在金额末尾添加 4 位数字;例如 Tron 网络上的 USDT 小数点后有 6 位。使用前两位,例如 10.55(10 美元 55 美分),加上可变符号后为 10.550001。实际上比 1 美分还小 1000 倍 — 买家不会多付。但您可以追踪其付款。
在 Merchant 模式下用完约 10,000 个代码后,会自动添加新的 USDT 地址承载下一批 10,000 个代码 — 如此无限延伸。即使是日订单上千的大型网店也能服务。
否则您需要为每笔付款使用单独地址,然后再支付网络手续费将资金归集到一个地址。 例如,若有 100 笔付款分布在 100 个地址,要归集到一个地址(用于兑换等),就需支付 100 次手续费(每次约 0.9$)。我们通过上文所述的参考编号巧妙绕过了这一问题。
Your server must be able to accept a POST request to the address you specified as the webhook. Here is an example in Javascript (Express.js framework)
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;
...We will send you an object in JSON format. The object will have the following fields, as well as a secret key.
Your private secret key:
You should only process requests to your webhook that contain this key.
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! */当您收到此类对象并完成校验后,可将数据库中的订单标记为已支付。 我们有更完整的说明 在我们的博客上。
生成 QR 码
