Power Your Software Testing with AI Agents and Cloud
The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.
- TestMu AI (Formerly LambdaTest)
- /
- Use Cases
- /
- Test a wallet withdrawal with its minimum and its fee
Test a wallet withdrawal with its minimum and its fee
A rejected small transfer, a two percent fee, and a wallet that has to be debited by the gross amount.
Published on:
Getting money out of a wallet is where customers decide whether they trust the product. A withdrawal that fails, charges an unexpected fee, or debits more than it sends is the fastest way to lose someone.
This use case withdraws on the Paytem clone and checks the arithmetic on both sides of the fee.
The contract this flow keeps
Three figures move and they are all different, which is the source of nearly every complaint about withdrawal fees.
- The amount requested - 1,000 rupees.
- The fee - 20 rupees, which is two percent of the request.
- The amount credited - 980 rupees reaching the bank.
- The wallet debit - the full 1,000, taking the balance from 4,820 to 3,820.
The wallet is debited by the gross amount while the bank receives the net. Both are correct and a customer who only reads one of them will believe they have been short changed, which is exactly why both belong in the assertion.
Note: A fee flow is worth asserting on both sides, since the gross debit and the net credit are different numbers that are both right. Try it on TestMu AI. Start for free
The objective in plain English
The minimum is tested before the valid amount, which proves the rule exists rather than inferring it from a successful transfer.
---
mode: testing
url: https://my-testing-repo-main.vercel.app/paytm-clone-app/wallet?reset=true
max_steps: 40
tags: [paytm, fintech, wallet]
---
# Paytem 20.4: Wallet to bank
Catalog objective: transfer the wallet balance to the linked bank.
Key assertion: the wallet is debited and the transfer shows as initiated.
## Verify the starting balance
Verify "Paytem Wallet" reads "₹4,820.00" and "Linked bank" reads "HDFB Bank ••••8841".
## Verify the minimum is enforced
Type "50" into "Amount", click "Transfer to bank", and verify an error reads "Minimum transfer is ₹100.00."
## Set a valid amount
Replace "Amount" with "1000" and verify "Transfer fee (2%)" reads "₹20.00" and "Credited to bank" reads "₹980.00".
## Transfer and verify the debit
Click "Transfer to bank" and verify a green banner titled "Transfer initiated" says "₹980.00" will reach the bank after a fee of "₹20.00" and the wallet is now "₹3,820.00".The fee and the credited amount are asserted before the transfer is submitted, so the customer sees the deduction while deciding rather than discovering it afterwards.
Assertion by assertion
A baseline, a refusal, a quote and a transfer.
| Step | What it proves |
|---|---|
| Verify the starting balance | The wallet balance and the linked bank are both known |
| Verify the minimum is enforced | A below-minimum transfer is refused with the threshold named |
| Set a valid amount | The fee and the credited amount are disclosed before submitting |
| Transfer and verify the debit | The transfer starts and the wallet is debited by the gross amount |
Naming the linked bank in the first step is a cheap assertion that prevents the whole flow running against a destination the customer did not expect.
Putting it in CI
kane-cli testmd run tests/paytm/wallet-to-bank_test.mdAdd a withdrawal of the entire balance, since the boundary where a fee cannot be covered is where these flows break.
Withdrawal rules are the kind of thing changed by a pricing decision rather than an engineering one. Deriving a suite from written requirements covers keeping the figures tied to a source, and checking before a pull request covers catching the change.
Author
Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.
Wallet Withdrawal FAQs
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests




