What doesn’t change
Wallet functionality is identical across both program models. The following guides apply to both:- Wallet creation and authentication
- Backup and recovery and key export
- Balances and history
- Receiving funds
- Sending funds and gas sponsorship
Comparing program models
The table below summarizes how card funding, authorization, and settlement differ between Rain managed and partner managed programs.
For more detail on each program model, see Managing collateral, Rain managed programs, Partner managed programs, and Transaction lifecycle.
Rain managed programs
In Rain managed programs, the user’s wallet owns the collateral contract that backs their card spending.- Register the wallet. Include the wallet address in the user or company application. Once approved, Rain deploys a collateral contract with the registered wallet as its owner.
- Fund the contract. Users deposit funds into their collateral contract from their Rain wallet or another source.
- Authorize and settle transactions. Rain authorizes card transactions against available spending power, manages settlement, and maintains the ledger of record. Your application receives transaction webhooks.
- Withdraw collateral. Users can withdraw available collateral by signing with their wallet. Your backend retrieves the required admin signature from Rain.
- Enable real-time funding. For eligible programs, users can authorize their collateral contract to spend from their wallet, allowing funds to be transferred when card transactions are authorized instead of depositing collateral in advance.
Partner managed programs
In standard partner managed programs outside the US, embedded wallets allow users to hold and transfer stablecoins but do not directly fund card spending. Instead, your program maintains the collateral reserve that backs card transactions.- Manage collateral. You fund and replenish your program’s reserve, which Rain uses to settle card transactions.
- Authorize transactions. You approve or decline transactions through the
transaction.requestedwebhook and maintain your own records of user balances and activity. - Fund accounts from wallets. If users fund their card accounts from their wallets, your application facilitates a user authorized transfer to an address you control. You are responsible for reconciling those transfers and crediting users in your ledger. Rain does not orchestrate these transfers, and delegated signing and real time funding are not available.
Identify your program model
Your program is configured as either Rain managed or partner managed. Confirm your program model with your Rain account manager.What’s next
Card funding and settlement
The Rain-managed flow end to end.
Transaction lifecycle
Authorization, settlement, and the webhooks along the way.