Skip to Content

Payment

All funds that are earned from product purchases by organizations are held in the Payment Escrow contract.

  • Funds can only be withdrawn by the wallet that holds the Organization NFT
  • Fees are applied to all native and ERC20 token transfers
  • Tokens must be whitelisted by the ProductMint team to be used in the Payment Escrow

View all whitelisted tokens 

Check Org Balance

Check the current balance for an organization with the given token address.

/** * @param orgId Organization ID * @param token Token address. Address(0) for native tokens. * @return Balance */ function orgBalances( uint256 orgId, address token ) external view returns (uint256);

Withdraw Org Balance

Withdraw the balance for an organization with the given token address.

/** * @param orgId Organization ID * @param token Token address. Address(0) for native tokens. * @param amount Amount to withdraw */ function withdrawOrgBalance( uint256 orgId, address token, uint256 amount ) external;

Only the address that holds the Organization NFT can withdraw funds.

Last updated on