Guide
How the money moves
Your payment waits in a contract on QIE. It can only go to Todoku after delivery, back to you, or to you again after the reclaim delay.


The four endings
| Ending | When | Who triggers it | Where the money goes |
|---|---|---|---|
| Released | The provider confirms delivery | Todoku's operator key | Todoku's treasury |
| Refunded | The provider fails, refuses or reverses | Todoku's operator key | Back to your wallet, in QUSDC |
| Taken back | The reclaim delay has passed and the order is still held | You, from the order page | Back to your wallet, in QUSDC |
| Not paid | You never paid the price | Nobody | Nothing moved |
Money the escrow owes can only go to three places: Todoku's treasury, the wallet that paid, or a drop's funder. The admin can sweep only the surplus above what it owes. It is not upgradeable, so nobody can change those rules after it is deployed.
Step by step
- A price, signed. Todoku prices the bill in QUSDC and signs it (EIP-712). The price holds for 60 seconds; the sheet re-prices just before it runs out.
- One signature. Paying in QIE calls
payWithQIE: the escrow swaps on QIEDEX for the exact QUSDC the bill costs and sends any leftover QIE straight back to you. Paying in QUSDC is an approval, thenpayWithQUSDC. - Held. The escrow emits
OrderPaid. Todoku's worker sees it within seconds and buys the bill from the provider (VTpass for Nigeria). - Delivered or not. Only the provider's answer settles it. Delivered:
release. Failed:refund. Still unsure: Todoku asks again after 15 seconds, then 1 minute later, then 5 minutes later, then every 15 minutes, and after 24 hours an operator reviews it. - Your fallback. While the money is still held, the wallet that paid can call
reclaimafter the delay set in the contract when it is deployed: 24 hours planned for production, 10 minutes on the test build. The app reads the real value from the contract. The order page shows the exact time and a Take back button.
What it costs
There is no fee line: the review sheet shows Our fee ₦0. Todoku earns the provider's commission, and it prices QUSDC at 1% under the reference rate (Paycrest's USDC to naira), so the price carries a 1% margin. Paying in QIE adds the QIEDEX swap cost, shown on the sheet as a percentage. Refunds return the full QUSDC you paid.