Deposits

Integrating Deposits, using the Trever Treasury Integration Service

Crypto Deposit

1. Sequence Diagram of a Crypto Deposit

A crypto deposit can be triggered by withdrawing an asset from a wallet to the Treasury venues deposit address. Once a transaction is confirmed by the Treasury venue, Trever integrates it as a deposit and shows it on the Treasury screen. To fetch deposits from the Treasury venue on a regular basis, the Trever Treasury Integration Service uses API polling or a WebSocket, depending on the interfaces provided by the Treasury venue.

There are two ways to automatically assign a deposit to a customer:

  1. Receiver Address Matching: Every customer has their own wallet on the integrated Treasury venue and in Trever. All deposits for this wallet are automatically assigned to its underlying customer.

  2. Sender Address Matching (Whitelisting): Every customer can have multiple whitelisted wallets in Trever. If a deposit sender address matches with a whitelisted wallet, the deposit is automatically assigned to its underlying customer.

If a deposit can not be assigned to a customer, it remains in the state UNASSIGNED and can be booked manually to a customer by the user.

Fiat Deposit

2. Sequence Diagram of a Crypto Deposit

A Fiat deposit can be initiated by withdrawing a Fiat asset from a bank account to the Treasury venues bank account. Once a transaction is confirmed by the Treasury venue, Trever integrates it as a deposit and shows it on the Treasury screen. To fetch deposits from the Treasury venue on a regular basis, the Trever Treasury Integration Service uses API polling or a WebSocket, depending on the interfaces provided by the Treasury venue.

There are three ways to automatically assign a deposit to a customer:

  1. Receiver Address Matching: See crypto deposits.
  2. Receiver Address Matching: See crypto deposits.
  3. Reference Text: Bank transactions usually have a reference text or a purpose of payment. If the provided reference text matches with a wallet reference text, the deposit is automatically assigned to its underlying customer.