Withdrawals

In this section, we will discuss the withdrawal of funds received by Merchants as payment from clients through SMARTy Pay (also known as settlements).

As previously mentioned, only the Merchant can access these funds (after deducting the protocol and Partner fees, if applicable). For this, during onboarding, the Merchant specifies a Web3 address that they control.

There are two possible withdrawal options:

  1. Scheduled.
  2. On demand.

Let's consider each option separately.

Scheduled

To schedule fund withdrawals, it's necessary to configure a schedule via the API.

The following parameters must be set:

  1. Withdrawal frequency. Withdrawals are supported on the 1st day of each week and on the 1st day of each month.
  2. The minimum amount of tokens for withdrawal.

On demand

On-demand withdrawal allows the withdrawal of tokens regardless of their amount in the account. This operation is also available through the API. When initiating an on-demand withdrawal, a withdrawal task will be created for the nearest available time, and withdrawal in this case usually takes a few minutes (but in very rare cases, it may take several hours).