eventType — the envelope anddata shape are identical across the three values; only two data fields are conditional.PROCESSING and the funds sit in the unavailable balance of theACTIVE skips the flow and emits none of them — see below.eventType routingeventType | When | data.whiteListStatus | data.creditStatus | Order status | What you do |
|---|---|---|---|---|---|
DEPOSIT_WHITELIST_REQUIRED | Deposit confirmed on chain and the source address is not yet whitelisted | init | PENDING | PROCESSING | POST /v1/wallet/deposit-whitelist/transactions/{transactionId}/submit |
DEPOSIT_WHITELIST_FAILED | Submitted payer details were rejected in review | rejected | PENDING | PROCESSING | Read data.failMessage, fix it, submit again for the same transaction |
DEPOSIT_WHITELIST_CREDITED | Review passed for this deposit; funds moved into the available balance of the receiving wallet | approved | CREDITED | usually PROCESSING, can be SUCCESS | Book the funds. Not a terminal event |
data fieldsdata is always present.| Field | Present when |
|---|---|
failMessage | eventType is DEPOSIT_WHITELIST_FAILED |
creditTime | eventType is DEPOSIT_WHITELIST_CREDITED |
ACTIVE does not enter it. You getDEPOSIT_WHITELIST_REQUIRED nor DEPOSIT_WHITELIST_CREDITED — only the ordinaryDEPOSIT_ORDER_NOTIFICATION when the deposit completes. Do not make booking a repeat deposit conditional onDEPOSIT_WHITELIST_FAILED is not a failed deposit. The review was rejected, nothing is refunded andPROCESSING, creditStatus stays PENDING, the funds stay in theDEPOSIT_WHITELIST_CREDITED does not mean the deposit finished. It means the money became spendable inPROCESSING — auto-collection to the main account mayDEPOSIT_ORDER_NOTIFICATION with status SUCCESS.creditStatus, not the order status, to decide whether funds are usable. status PROCESSINGcreditStatus CREDITED is normal and means the funds are available.eventId — the same event may arriveDEPOSIT_WHITELIST_FAILED can legitimately arrive several times for one transactionDEPOSIT_ORDER_NOTIFICATION is emitted during on-chain confirmation; it arrives when the deposit iswhiteListStatus as well.GET /v1/wallet/history?whiteListStatus=init (or rejected) for the workGET /v1/wallet/transactions/{transactionId} for one transaction. The removedGET /v1/wallet/deposit-whitelist/pending-list is no longer available.200 promptly and process asynchronously.