API penetration testing for payment and lending APIs
An API (application programming interface) is the door other software uses to reach yours. In a fintech product it moves money, changes limits and returns personal data. This test checks what happens when a caller with a valid key asks for something it should not get. The testing firm named on the report does the testing. Fusion Byte Shield scopes and coordinates it.
- What you receive
- A test report listing every endpoint in scope, the cases run and the findings
- Who signs
- The testing firm named on the report. The proposal names it before you sign
- How long it stays current
- Describes the API version and test dates it names. A new version or a new partner flow needs its own test
- What sets the timing
- Signed authorisation, an endpoint list or API specification, and at least two test accounts for each role
Last checked 1 December 2026
How it sits in a year
| Item | What the drawing shows |
|---|---|
| Full API test and retest | Illustration only. A full API test early in the year, then fixes and a retest. |
| Vulnerability assessment | Illustration only. An authenticated vulnerability assessment at mid-year. |
| New partner flow | Illustration only. A smaller test when a new partner integration is released, followed by a retest. |
When you need it
- Partners, merchants or lenders connect to your API and one of them asked for a penetration test report.
- You receive payment, refund or mandate status through callbacks from another company.
- Your mobile or web app is thin and the rules about money sit in the API.
- You are a non-bank payment system operator. Paragraph 24 of RBI's directions of 5 November 2026 lists API measures (authentication and authorisation, confidentiality, integrity, availability and threat protection) and asks you to follow recognised API security frameworks.
- You are retiring an API version and are not sure who still calls it.
When you do not
- You call other companies' APIs and publish none. Test the application that makes the calls, under the main VAPT scope.
- The API returns public data, has no accounts and changes nothing. An automated scan and a configuration check are enough.
- Your rule says the test must be done by a CERT-In empanelled auditor. That work is not sold here. Use CERT-In's published list.
- The API belongs to a vendor. Ask the vendor for its report. Testing it needs the vendor's written permission.
Choose the scope that answers the request
Partner and public APIs
Keys, signatures, IP allow-lists and tenant separation, tested with two partner identities so that each can try to reach the other's customers.
APIs behind your app
The calls your own web or mobile app makes, tested directly, without the app's checks in the way. Often combined with a mobile app test.
Payment callbacks and webhooks
Messages that tell you a payment, refund, mandate or disbursal has changed state. The tests send forged, altered, repeated and out-of-order messages from outside.
Internal and admin APIs
Operations, support and reconciliation endpoints, tested from inside the network and with the lowest-privilege staff account.
Code-assisted test
The testers read the authorisation code and the route list while testing. It shortens discovery and shows endpoints that no document mentions.
What is examined
- Object-level access
- Change the loan, order, account or beneficiary ID in a request and see whether another customer's record comes back. First on the OWASP API Security Top 10 (2023 edition). The check is needed in every function that takes an ID from the caller.
- Property-level access
- Look for fields the caller should not see, and send fields the caller should not set, such as status, amount, interest rate, KYC flag or credit limit.
- Function-level access
- Call maker, checker, support and admin functions with a customer or partner token.
- Tokens and authentication
- Expired, swapped, stripped and reused tokens, weak signing, OTP guessing, and device binding that only the app enforces.
- Callback trust
- Whether the receiver verifies the signature on the exact body received, checks the amount and order against its own record, and confirms status with the sender before releasing value.
- Replay and race
- Send the same debit, payout or refund twice, in sequence and in parallel. Reuse an idempotency key with a different amount.
- Limits and cost
- OTP, bureau pull, penny-drop and search endpoints that cost money or leak data when called in bulk. Rate limits for each account, key and device.
- Inventory and third parties
- Old versions, test hosts and debug routes still reachable, server-side requests to addresses you did not intend, and blind trust in data returned by a partner API.
How the work runs
1Inventory
- You
- Share the specification, collections and gateway export.
- Fusion Byte Shield
- Build the endpoint and role list. Mark which calls move money.
- Signing or testing firm
- Confirms coverage and marks endpoints that need a partner's permission.
2Authorisation
- You
- Sign as owner. Get written permission from a payment partner whose sandbox or callback is used.
- Fusion Byte Shield
- Draft the authorisation with hosts, hours, request rates and stop conditions.
- Signing or testing firm
- Countersigns. No request is sent before that.
3Test data
- You
- Create two or more accounts for each role with dummy money and dummy KYC.
- Fusion Byte Shield
- Keep the list of keys issued so that each can be revoked afterwards.
- Signing or testing firm
- Maps each role to the calls it should and should not be able to make.
4Testing
- You
- Watch logs and alerts, and note which tests your monitoring noticed.
- Fusion Byte Shield
- Coordinate with partners and your gateway team.
- Signing or testing firm
- Works through the role map, then through payment and lending cases by hand.
5Report and retest
- You
- Fix the cause in shared code, then search for the same pattern elsewhere.
- Fusion Byte Shield
- Plan the retest within the terms agreed in the proposal.
- Signing or testing firm
- Signs the report and retests the reported findings.
What you receive
- The endpoint list with what was tested, by which role, and what was left out
- Each finding as a request and response pair with secrets and personal data masked, a CVSS 4.0 score and the fix
- A role map that shows which role could call what, and where that differs from your intent
- Money-movement cases listed with pass or fail, including those that passed
- A partner-safe summary without exploit detail
- A retest report, where the proposal includes a retest
What changes the price
- Number of endpoints, and how many of them change state
- Number of roles and partner types
- Callback sources and payment rails in scope
- REST, GraphQL, gRPC, SOAP or file-based interfaces
- Quality of the specification and of the test data
- Retest scope and rounds
Who signs, and how to check
- Who signs
- The testing firm named on the report. The firm is named in your proposal, with its licence or accreditation, before you sign anything.
- What we do
- Scope, authorisation paperwork, coordination and retest planning.
- How you check
- Ask for tester names, qualifications and the method used. Where a rule requires a CERT-In empanelled auditor, check CERT-In's published list. Open the register
- Vulnerability assessment and penetration test reports
Independence. The testing firm should not have built the API or the gateway rules. For non-bank payment system operators, paragraph 37 of RBI's directions says the system auditor and its sister concerns should not have given you any type of service in the last two financial years. The text says any type of service, so keep the two firms separate unless your lawyer agrees.
Overlap with other work. The role map and findings are useful in a PCI DSS assessment, a SOC 2 examination and an RBI system audit, where API security is part of the scope (paragraph 38(xix) of the PSO directions). None of those accepts this report as a substitute. A mobile app test and this test share accounts, so run them together.
Questions buyers ask
Can we get a scan of our API from the contact form?
No. No test starts from a form. Please do not send keys, hostnames or collections there either. Testing starts after you have signed the authorisation and the rules of engagement.
Why are two accounts needed for each role?
Because the most common question is whether one customer can reach another's data. Comparing a user ID in the token with the ID in the request is not enough to prove it, as OWASP explains, so the testers try real objects that belong to someone else.
How are rate limits tested without harm?
At an agreed rate, in agreed hours, with a stop condition. On AWS there is an extra rule: the provider's testing policy prohibits request flooding, including API and login floods, so limits are checked with small controlled bursts.
Can you test against a payment partner's live system?
Only with that partner's written permission. Otherwise the test covers your side: what you send, and how you treat what comes back.
Is the OWASP API Security Top 10 enough?
It is a starting list, with ten categories in the 2023 edition. CERT-In's audit policy tells empanelled auditors not to treat limited lists such as the OWASP Top 10 as audit standards. Payment and lending rules need cases written for your product.
Read next
Sources
Facts on this page were last checked on 1 December 2026 against these sources:
- OWASP Top 10 API Security Risks, 2023 edition
- OWASP API1:2023 Broken Object Level Authorization
- OWASP API3:2023 Broken Object Property Level Authorization
- OWASP API10:2023 Unsafe Consumption of APIs
- OWASP Web Security Testing Guide, v4.2
- FIRST: CVSS version 4.0
- RBI non-bank PSO Master Directions, 5 November 2026, paragraphs 24, 37 and 38(xix)
- CERT-In Comprehensive Cyber Security Audit Policy Guidelines, v1.0, section 8
- AWS customer support policy for penetration testing
Tell us what you were asked for
Send the request from a customer, bank, investor or regulator. We reply with the questions that decide scope.