Funding protocols determine how a card is provided with available balance and how the Immersve platform can settle or refund. A Funding Protocol is selected by specifying the Funding Type when creating a Funding Channel.
Protocol Variants
Four different variants classify immersve card funding protocols: deposit-based, approval-based, custodial, and mock.
Deposit Based Funding
Deposit-based funding requires cardholders to transfer assets into an Immersve smart contract. Deposits can be withdrawn at any time. Deposit-based funding is further classified into two sub-variants based on where tokens are deposited: universal and flexi.
Universal — The universal variant pools tokens into a single partner-scoped contract and is optimized for gas usage so it can operate on any blockchain. The Universal EVM Funding Protocol implements universal deposit-based funding.
Flexi — The flexi variant holds deposits in a smart contract per cardholder. The cardholder balance can be inspected on-chain, and permissionless withdrawals are supported. A cardholder contract will need to be deployed as part of cardholder onboarding. The Algorand Funding Protocol implements flexi deposit based funding.
Approval Based Funding
Approval-based protocols can spend tokens directly from a cardholder's existing wallet. The Universal EVM Funding Protocol supports approval-based funding on some EVM chains.
Custodial Funding
Custodial protocols enable the integrating partner to perform off-chain payment authorizations in real-time. Custodial funding leverages one of the on-chain deposit-based funding protocols for settlement. See Custodial Funding Protocol.
Mock Funding
Mock funding enables the creation of test cards without building any funding integration. This is useful for testing card-issuing user experiences when your funding solution is not fully implemented. See Simulator Funding Protocol.
Available Chains
Chain | Protocols | Network Names |
---|---|---|
Algorand | Algorand Funding Protocol | algorand-mainnet, algorand-testnet |
Arbitrum | Universal EVM Funding Protocol | arbitrum-mainnet, arbitrum-sepolia |
Base | Universal EVM Funding Protocol | base-mainnet, base-sepolia |
Ethereum | Universal EVM Funding Protocol | ethereum-mainnet, ethereum-sepolia |
Polygon | Universal EVM Funding Protocol | polygon-amoy, polygon-mainnet |