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

Parameter

Type

Description

type

string

event type: INVOICE_FUNDS_RECEIVED_FOR_INVOICE

amount

number

amount of received money to invoice wallet.

transactionId

array

System ID of the invoice deposits.

message

string

text of the invoice.

currency

string

crypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]

parentExternalId

number

system id of the invoice.

idempotencyKey

string

the external id that was generated while invoice creating through api.

createdDate

string

date and time of invoice creation.

senderAddress

string

wallet address from where funds were sent.

invoiceAddress

string

invoice address to which funds were received.

externalId

string

merchant ID of invoice

paymentDate

string

date of deposit transaction creation.

transactionHash

string

hash of the deposit transaction.

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

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

Parameter

Type

Description

type

string

event type: INVOICE_TRANSLATION_TO_ACCOUNT_COMPLETED

amount

number

money amount of the invoice.

message

string

text of the invoice.

currency

string

crypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]

parentExternalId

number

system id of the invoice.

createdDate

string

date and time of invoice creation.

idempotencyKey

string

the external id that was generated while invoice creating through api.

serviceFee

number

service fee for invoice deposit.

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

transactionIds

array

system 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

Parameter

Type

Description

type

string

Event type: INVOICE_EXPIRED

parentExternalId

number

system id of the invoice.

idempotencyKey

string

the external id that was generated while invoice creating through api.

amount

number

money amount of the invoice.

currency

string

crypto currency of the invoice. [ BNB, BTC, DAI, ETH, FRAX, MATIC, TRX, USDC, USDT, USDT_MATIC, USDT_TRX, USDC_TRX, XDG, USDT_BSC ]

fiatCurrency

string

fiat 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]

message

string

description of the invoice.

createdDate

string

date and time of invoice creation.

expirationDate

string

date and time of invoice expiration.

externalId

string

merchant ID of invoice

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

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.
FIAT_APPLIER_FIAT_FUNDS_RECEIVED
ParameterTypeDescription
parentExternalIdnumbersystem id of the fiat order.
idempotencyKeystringthe external id that was generated while fiat order creating through api.
fiatAmountstringamount in fiat currency that was received after payment.
fiatCurrencystringfiat currency of the fiat order
ratenumberrate of fiat order
FIAT_APPLIER_ORDER_UNPAID
ParameterTypeDescription
parentExternalIdnumbersystem id of the fiat order.
idempotencyKeystringthe external id that was generated while fiat order creating through api.
reasonTypestringorder expiration reason - "EXPIRED"
FIAT_APPLIER_PAYMENT_FAILED
ParameterTypeDescription
parentExternalIdnumbersystem id of the fiat order
idempotencyKeystringthe external id that was generated while fiat order creating through api
reasonstringreason for fiat order payment failed
FIAT_APPLIER_ADJUSTMENT
ParameterTypeDescription
parentExternalIdnumbersystem id of the fiat order
idempotencyKeystringthe external id that was generated while fiat order creating through api
adjustmentDatestringdate of adjustment
sumAfterAdjustmentnumberamount received in adjustment
reasonstringreason for fiat order adjustment
currencystringcurrency of adjustment
fiatCurrencystringis fiat currency adjustment ? (true/false)
FIAT_APPLIER_WITHDRAWAL_SUCCESS
ParameterTypeDescription
ratenumberrate of c2f order
typestringevent type
statestringc2f order state
orderIdstringc2f order id
currencystringcrypto currency of the с2f order
externalIdstringmerchant ID of c2f order
fiatAmountnumberfiat amount of the с2f order
fiatCurrencystringfiat currency of the с2f order
idempotencyKeystringthe external id that was generated while fiat order creating through api.
parentExternalIdnumbersystem id of the c2f order
FIAT_APPLIER_WITHDRAWAL_FAILED
ParameterTypeDescription
statestringc2f order state
typestringevent type
statestringc2f order state
orderIdstringc2f order id
externalIdstringmerchant ID of c2f order
idempotencyKeystringthe external id that was generated while fiat order creating through api.
reasonstringreason for c2f order failed
parentExternalIdnumbersystem id of the c2f order
CUSTOMER_PURSE_EXPIRED
ParameterTypeDescription
customerIdstringsystem id of the customer
customerBlockedbooleancustomer block status
purseIdstringsystem id of the purse (address)
CUSTOMER_PURSE_MEM_POOL_FOUND
ParameterTypeDescription
currencynumbercurrency of the transaction
customerIdstringsystem id of the customer
customerBlockedbooleancustomer block status
purseIdstringsystem id of the purse (address)
transactionIdnumbersystem id of the transaction
amountnumbertransaction amount
senderAddressstringtransaction sender address
createdDatestringtransaction creation date
transactionHashstringtransaction hash from the blockchain
CUSTOMER_PURSE_PENDING_COMPLIANCE
ParameterTypeDescription
currencystringcurrency of the transaction
customerIdstringsystem id of the customer
customerBlockedbooleancustomer block status
purseIdstringsystem id of the purse (address)
transactionIdstringsystem id of the transaction
amountnumbertransaction amount
CUSTOMER_PURSE_COMPLIANCE_DECLINED
ParameterTypeDescription
currencystringcurrency of the transaction
customerIdstringsystem id of the customer
customerBlockedbooleancustomer block status
purseIdstringsystem id of the purse (address)
transactionIdstringsystem id of the transaction
amountnumbertransaction amount
CUSTOMER_PURSE_FUNDS_RECEIVED_FOR_PURSE
ParameterTypeDescription
currencystringcurrency of the transaction
customerIdstringsystem id of the customer
customerBlockedbooleancustomer block status
purseIdstringsystem id of the purse (address)
transactionIdstringsystem id of the transaction
amountnumbertransaction amount
senderAddressstringtransaction sender address
transactionHashstringtransaction hash from the blockchain
createdDatestringtransaction creation date
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

Parameter

Type

Description

type

string

event type: INVOICE_COMPLIANCE_CHECK

amount

number

amount of received money to invoice wallet.

transactionId

array

System ID of the invoice deposits.

message

string

text of the invoice.

currency

string

currency of the invoice.

parentExternalId

number

system id of the invoice.

createdDate

string

date and time of invoice creation.

senderAddress

string

wallet address from where funds were sent.

idempotencyKey

string

the external id that was generated while invoice creating through api.

externalId

string

merchant ID of invoice

paymentDate

string

date of deposit transaction creation.

transactionHash

string

hash of the deposit transaction.

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

INVOICE_COMPLIANCE_DECLINED

Parameter

Type

Description

type

string

event type: INVOICE_COMPLIANCE_DECLINED

amount

number

amount of received money to invoice wallet.

transactionId

array

System ID of the invoice deposits.

message

string

text of the invoice.

currency

string

currency of the invoice.

parentExternalId

number

system id of the invoice.

createdDate

string

date and time of invoice creation.

senderAddress

string

wallet address from where funds were sent.

idempotencyKey

string

the external id that was generated while invoice creating through api.

externalId

string

merchant ID of invoice

paymentDate

string

date of deposit transaction creation.

transactionHash

string

hash of the deposit transaction.

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

TOP_UP_COMPLIANCE_CHECK

Parameter

Type

Description

type

string

event type: TOP_UP_COMPLIANCE_CHECK

amount

number

amount of received money to invoice wallet.

currency

string

currency of the invoice.

senderAddress

string

wallet address from where funds were sent.

paymentDate

string

date of deposit transaction creation.

transactionHash

string

hash of the deposit transaction.

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

TOP_UP_COMPLIANCE_DECLINED

Parameter

Type

Description

type

string

event type: TOP_UP_COMPLIANCE_DECLINED

amount

number

amount of received money to invoice wallet.

currency

string

currency of the invoice.

senderAddress

string

wallet address from where funds were sent.

paymentDate

string

date of deposit transaction creation.

transactionHash

string

hash of the deposit transaction.

fiatAmount

object

invoice amount in fiat currency

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}

WALLET_FUNDS_DELIVERED_ACCOUNT

Parameter

Type

Description

type

string

event type: WALLET_FUNDS_DELIVERED_ACCOUNT

amount

number

amount of received money

currency

string

currency of the invoice.

senderAddress

string

wallet address from where funds were sent.

paymentDate

string

date of deposit transaction creation.

transactionHash

string

hash of the deposit transaction.

fiatAmount

object

invoice amount in fiat currency.

Example: "fiatAmount":{"EUR":31.994837336,"USD":36.844106264}