API Reference

Webhook payload

Webhook payload example

{
  "requestId": "bf9348b7-2c14-46d7-868c-b597852da319",
  "id": 1,
  "createdDate": "2022-03-15T12:13:05.909616",
  "level": "SUCCESS",
  "service": "INVOICE",
  "eventType": "INVOICE_CREATE_INVOICE",
  "data": {
    "parentExternalId": 3,
    "amount": 0.01,
    "currency": "ETH",
    "fiatcurrency": "USD",
    "message": "Invoice example",
    "createdDate": "2022-03-15T12:13:03.157015",
    "type": "INVOICE_CREATE_INVOICE",
    "idempotencyKey": "5b0ca8da-6af4-4a1c-9efd-5cbfc19ace09"
  }
}

Webhooks deliver the responses to your service in JSON format. The parameters that webhook payload inсludes are listed in the table below.

ParameterTypeMandatoryDescription
requestIdstringYesid of the request that created webhook subscription.
idnumberYesid of the event.
createdDatestringYescreation date of the event.
levelstringYeslevel of the notification for the event. [SUCCESS, INFO, WARNING]
servicestringYesgroup of events which the event belongs to.
dataobjectYesset of data depending on the event type. See list of field for each event type below.

Data object depending on event type

INVOICE_CREATE_INVOICE
ParameterTypeDescription
typestringevent type: INVOICE_CREATE_INVOICE
amountnumbermoney amount of the created invoice.
messagestringtext of the invoice.
currencystringcrypto currency of the invoice. [BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC]
fiatCurrencystringfiat currency of the invoice. [USD, EUR, RUB, AED, ARS, AUD, AZN, BOB, BRL, BYN, CAD, CLP, COP, CRC, CZK, EGP, GHS, GTQ, HKD, HNL, IDR, INR, JPY, KES, KHR, KRW, KZT, MMK, MXN, MYR, NGN, NOK, NZD, PEN, PHP, PLN, RON, SAR, SEK, SGD, THB, TRY, TWD, UAH, UGX, UZS, VES, VND, XAF, XOF, ZAR]
parentExternalIdnumbersystem id of the invoice.
createdDatestringdate and time of invoice creation
idempotencyKeystringthe external id that was generated while invoice creating through api.
externalIdstringmerchant ID of invoice
INVOICE_CREATE_UNLIMITED_INVOICE
ParameterTypeDescription
typestringevent type: INVOICE_CREATE_UNLIMITED_INVOICE
messagestringtext of the invoice.
currencystringcrypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]
parentExternalIdnumbersystem id of the invoice.
createdDatestringdate and time of invoice creation
idempotencyKeystringthe external id that was generated while invoice creating through api.
externalIdstringmerchant ID of invoice
INVOICE_FUNDS_RECEIVED_FOR_INVOICE
ParameterTypeDescription
typestringevent type: INVOICE_FUNDS_RECEIVED_FOR_INVOICE
amountnumberamount of received money to invoice wallet.
transactionIdarraySystem ID of the invoice deposits.
messagestringtext of the invoice.
currencystringcrypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]
parentExternalIdnumbersystem id of the invoice.
createdDatestringdate and time of invoice creation.
senderAddressstringwallet address from where funds were sent.
idempotencyKeystringthe external id that was generated while invoice creating through api.
externalIdstringmerchant ID of invoice
paymentDatestringdate of deposit transaction creation.
transactionHashstringhash of the deposit transaction.
fiatAmountobjectinvoice amount in fiat currency.
INVOICE_PENDING_INTERVENTION
ParameterTypeDescription
typestringEvent type: INVOICE_PENDING_INTERVENTION
messagestringtext of the invoice.
parentExternalIdnumbersystem id of the invoice.
idempotencyKeystringthe external id that was generated while invoice creating through api.
externalIdstringmerchant ID of invoice
INVOICE_TRANSLATION_TO_ACCOUNT_COMPLETED
ParameterTypeDescription
typestringevent type: INVOICE_TRANSLATION_TO_ACCOUNT_COMPLETED
amountnumbermoney amount of the invoice.
messagestringtext of the invoice.
currencystringcrypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]
parentExternalIdnumbersystem id of the invoice.
createdDatestringdate and time of invoice creation.
idempotencyKeystringthe external id that was generated while invoice creating through api.
serviceFeenumberservice fee for invoice deposit.
fiatAmountobjectinvoice amount in fiat currency.
transactionIdsarraysystem IDs of deposits for invoice. Always one ID in unlimited invoices, usually one ID in single invoices, but may be more IDs if intervention occurred.
INVOICE_EXPIRED
ParameterTypeDescription
typestringEvent type: INVOICE_EXPIRED
parentExternalIdnumbersystem id of the invoice.
idempotencyKeystringthe external id that was generated while invoice creating through api.
amountnumbermoney amount of the invoice.
currencystringcrypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]
fiatCurrencystringfiat currency of the invoice. [USD, EUR, RUB, AED, ARS, AUD, AZN, BOB, BRL, BYN, CAD, CLP, COP, CRC, CZK, EGP, GHS, GTQ, HKD, HNL, IDR, INR, JPY, KES, KHR, KRW, KZT, MMK, MXN, MYR, NGN, NOK, NZD, PEN, PHP, PLN, RON, SAR, SEK, SGD, THB, TRY, TWD, UAH, UGX, UZS, VES, VND, XAF, XOF, ZAR]
messagestringdescription of the invoice.
createdDatestringdate and time of invoice creation.
expirationDatestringdate and time of invoice expiration.
externalIdstringmerchant ID of invoice
fiatAmountobjectinvoice amount in fiat currency.
INVOICE_PAID
ParameterTypeDescription
amountnumbermoney amount of the invoice.
currencystringcrypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]
descriptionstringdescription of the invoice.
externalIdstringmerchant ID of invoice
fiatAmountnumberamount in fiat currency if it was set in fiat.
fiatCurrencystringfiat currency of the invoice if it was set in fiat. [ USDT, EUR ]
idempotencyKeystringthe external id that was generated while invoice creating through api.
parentExternalIdnumbersystem id of the invoice.
realAmountnumberamount of money that client really paid for the invoice.
typestringEvent type: INVOICE_PAID.
INVOICE_MEMPOOL_FOUND
ParameterTypeDescription
amountnumbermoney amount of the invoice.
currencystringcrypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]
descriptionstringdescription of the invoice.
externalIdstringmerchant ID of invoice
fiatAmountnumberamount in fiat currency if it was set in fiat.
fiatCurrencystringfiat currency of the invoice if it was set in fiat. [ USDT, EUR ]
idempotencyKeystringthe external id that was generated while invoice creating through api.
parentExternalIdnumbersystem id of the invoice.
realAmountnumberamount of money that client really paid for the invoice.
typestringEvent type: INVOICE_MEMPOOL_FOUND.
createdDatestringdate and time of invoice creation.
transactionHashstringhash of the incoming transaction to the invoice wallet.
PAYOUT_CHANGE_STATUS
ParameterTypeDescription
hashstringtransaction hash.
typestringevent type: PAYOUT_CHANGE_STATUS.
parentExternalIdnumbersystem id of the payout.
createdDatestringdate and time of payout creation.
payoutStatusstringcurrent state of the payout.
idempotencyKeystringthe external id that was generated while payout creating through api.
currencystringcurrency of the payout.
PAYOUT_CONFIRMED
ParameterTypeDescription
typestringevent type: PAYOUT_CONFIRMED.
parentExternalIdnumbersystem id of the payout.
createdDatestringdate and time of payout creation.
approvedarraylist of users who approved the payout.
idempotencyKeystringthe external id that was generated while payout creating through api.
currencystringcurrency of the payout
PAYOUT_VALIDATION_ERROR
ParameterTypeDescription
typestringevent type: PAYOUT_VALIDATION_ERROR.
parentExternalIdnumbersystem id of the payout.
messagestringvalidation error message.
createdDatestringdate and time of payout creation.
dealWithdrawalIdnumbersystem id of withdrawal where validation error occured.
validationStatusstringthe reason of validation error.
idempotencyKeystringthe external id that was generated while payout creating through api.
currencystringcurrency of the payout.
INVOICE_COMPLIANCE_CHECK
ParameterTypeDescription
typestringevent type: INVOICE_COMPLIANCE_CHECK
amountnumberamount of received money to invoice wallet.
transactionIdarraySystem ID of the invoice deposits.
messagestringtext of the invoice.
currencystringcurrency of the invoice.
parentExternalIdnumbersystem id of the invoice.
createdDatestringdate and time of invoice creation.
senderAddressstringwallet address from where funds were sent.
idempotencyKeystringthe external id that was generated while invoice creating through api.
externalIdstringmerchant ID of invoice
paymentDatestringdate of deposit transaction creation.
transactionHashstringhash of the deposit transaction.
fiatAmountobjectinvoice amount in fiat currency.
INVOICE_COMPLIANCE_DECLINED
ParameterTypeDescription
typestringevent type: INVOICE_COMPLIANCE_DECLINED
amountnumberamount of received money to invoice wallet.
transactionIdarraySystem ID of the invoice deposits.
messagestringtext of the invoice.
currencystringcurrency of the invoice.
parentExternalIdnumbersystem id of the invoice.
createdDatestringdate and time of invoice creation.
senderAddressstringwallet address from where funds were sent.
idempotencyKeystringthe external id that was generated while invoice creating through api.
externalIdstringmerchant ID of invoice
paymentDatestringdate of deposit transaction creation.
transactionHashstringhash of the deposit transaction.
fiatAmountobjectinvoice amount in fiat currency.
TOP_UP_COMPLIANCE_CHECK
ParameterTypeDescription
typestringevent type: TOP_UP_COMPLIANCE_CHECK
amountnumberamount of received money to invoice wallet.
currencystringcurrency of the invoice.
senderAddressstringwallet address from where funds were sent.
paymentDatestringdate of deposit transaction creation.
transactionHashstringhash of the deposit transaction.
fiatAmountobjectinvoice amount in fiat currency.
TOP_UP_COMPLIANCE_DECLINED
ParameterTypeDescription
typestringevent type: TOP_UP_COMPLIANCE_DECLINED
amountnumberamount of received money to invoice wallet.
currencystringcurrency of the invoice.
senderAddressstringwallet address from where funds were sent.
paymentDatestringdate of deposit transaction creation.
transactionHashstringhash of the deposit transaction.
fiatAmountobjectinvoice amount in fiat currency
WALLET_FUNDS_DELIVERED_ACCOUNT
ParameterTypeDescription
typestringevent type: WALLET_FUNDS_DELIVERED_ACCOUNT
amountnumberamount of received money
currencystringcurrency of the invoice.
senderAddressstringwallet address from where funds were sent.
paymentDatestringdate of deposit transaction creation.
transactionHashstringhash of the deposit transaction.
fiatAmountobjectinvoice amount in fiat currency.