Skip to main content
A UniFi payment separates user authorization from transaction execution.

Payment lifecycle

1

Select an asset on a network

A payment is always explicit, for example USDT on Ethereum. The asset and chain are part of the request and receipt.
2

Preflight the payment

UniFi checks the available stablecoin balance, Permit2 allowance state, and estimated stablecoin-denominated fee.
3

Authorize

The wallet approves Permit2 if necessary, then signs payment-specific data with a 15-minute expiry.
4

Execute

UniFi verifies the request and submits the onchain transfer. The recipient receives the selected stablecoin; the payer does not need native gas for the supported payment step.
5

Track

The receipt records the payment status, estimated and actual fees, transaction hash, block number, and timestamps.

Fee inclusion

The is_fee_incl payment option controls whether the entered amount includes the UniFi fee. Make this choice visible to the payer before authorization; it changes the amount accounting even though the transfer asset stays the same.

Custodial and non-custodial identifiers

API paths use a user_id. Depending on the integration, this can identify a UniFi-managed user or an EVM wallet address. Authorization is still enforced for protected routes.