Documentation
Stablecoin Webhook

Stablecoin Webhooks

Stablecoin webhooks are fired when a customer send or receive stablecoin (USDC or USDT)


Receive USDT Success Webhook

This webhook is triggered when a customer successfully receives USDT.

JSON
{
  "event": "stablecoin.usdt.received.success",
  "data": {
    "id": "00000000-000f-0de0-00c0-b00d0000f0000",
    "fees": "0",
    "hash": "dd5b379860230220ea2d9f52f5acdd689c5e57e3fae8e9829b77a0b1df8fad26",
    "type": "credit",
    "chain": "tron",
    "action": "receive_usdt",
    "amount": "11.81",
    "address": "TWSUGichZgXfcrkyPnars1TMV7QmKb1VRj",
    "channel": "onchain",
    "centFees": "0",
    "companyId": "00000000-000f-0de0-00c0-b00d0000f0000",
    "reference": "RCV_USDT_efb561a0ec00",
    "centAmount": "1181",
    "description": "received USDT payment",
    "confirmations": 19
  }
}

Receive USDC Success Webhook

This webhook is triggered when a customer successfully receives USDC.

JSON
{
  "event": "stablecoin.usdc.received.success",
  "data": {
    "id": "00000000-000f-0de0-00c0-b00d0000f0000",
    "fees": "0",
    "hash": "dd5b379860230220ea2d9f52f5acdd689c5e57e3fae8e9829b77a0b1df8fad26",
    "type": "credit",
    "chain": "tron",
    "action": "receive_usdc",
    "amount": "11.81",
    "address": "TWSUGichZgXfcrkyPnars1TMV7QmKb1VRj",
    "channel": "onchain",
    "centFees": "0",
    "companyId": "00000000-000f-0de0-00c0-b00d0000f0000",
    "reference": "RCV_USDT_efb561a0ec00",
    "centAmount": "1181",
    "description": "Received USDC payment",
    "confirmations": 19
  }
}

Send USDC Success Webhook

This webhook is triggered when a customer successfully sends USDC.

JSON
{
  "event": "stablecoin.usdc.send.success",
  "data": {
    "id": "00000000-000f-0de0-00c0-b00d0000f0000",
    "fees": "2",
    "hash": "0xbe4b8b8daf66f1fb3b015ff12780e60a5f2e75d4",
    "type": "debit",
    "chain": "ethereum",
    "action": "send_usdc",
    "amount": "130.18",
    "address": "0x9EE9F5642216Afe3a04",
    "channel": "onchain",
    "centFees": "200",
    "companyId": "00000000-000f-0de0-00c0-b00d0000f0000",
    "reference": "cbb23e5f1f5e7a9c6d1f",
    "centAmount": "13018",
    "description": "USDC transfer for business request 6000101234",
    "confirmations": 19
  }
}

Send USDT Success Webhook

This webhook is triggered when a customer successfully sends USDT.

JSON
{
  "event": "stablecoin.usdt.send.success",
  "data": {
    "id": "00000000-000f-0de0-00c0-b00d0000f0000",
    "fees": "1",
    "hash": "0xbe4b8b8daf66f1fb3b015ff12780e60a5f2e75d4",
    "type": "debit",
    "chain": "tron",
    "action": "send_usdt",
    "amount": "9",
    "address": "TGP4pyM7riSfsgKo7eXgsqvAysKoQ3",
    "channel": "onchain",
    "centFees": "100",
    "companyId": "00000000-000f-0de0-00c0-b00d0000f0000",
    "reference": "SND_STABLE_5b5f1b6e",
    "centAmount": "900",
    "description": "Transferred  $9.00 of USDT to TGP4pyM7riSfsgKo7eXgsqvAysKoQ3j",
    "confirmations": 19
  }
}

Send USDT Failed Webhook

This webhook is triggered when a customer's USDT transfer fails.

JSON
{
  "event": "stablecoin.usdt.send.failed",
  "data": {
    "id": "00000000-000f-0de0-00c0-b00d0000f0000",
    "fees": "1",
    "hash": null,
    "type": "debit",
    "chain": "tron",
    "action": "send_usdt",
    "amount": "22",
    "address": "TGDUnNhzQuAqRuFzGeuqymas2pd1ymbuqD",
    "channel": "onchain",
    "centFees": "100",
    "companyId": "00000000-000f-0de0-00c0-b00d0000f0000",
    "reference": "SND_STABLE_22c9db81",
    "centAmount": "2200",
    "description": "Transferred  $22.00 of USDT to TGDUnNhzQuAqRuFzGeuqymas2pd1ymbuqD",
    "confirmations": null
  }
}

Send USDC Failed Webhook

This webhook is triggered when a customer's USDC transfer fails.

JSON
{
  "event": "stablecoin.usdc.send.failed",
  "data": {
    "id": "00000000-000f-0de0-00c0-b00d0000f0000",
    "fees": "1",
    "hash": null,
    "type": "debit",
    "chain": "tron",
    "action": "send_usdc",
    "amount": "22",
    "address": "TGDUnNhzQuAqRuFzGeuqymas2pd1ymbuqD",
    "channel": "onchain",
    "centFees": "100",
    "companyId": "00000000-000f-0de0-00c0-b00d0000f0000",
    "reference": "SND_STABLE_22c9db81",
    "centAmount": "2200",
    "description": "Transferred  $22.00 of USDT to TGDUnNhzQuAqRuFzGeuqymas2pd1ymbuqD",
    "confirmations": null
  }
}