Case study · Financial services

Closing authorisation gaps in a payments platform before launch

A payments company preparing to open its platform to partner integrations asked Elytrix Labs to test its customer web app and public APIs. Testing exposed cross-tenant access flaws, which were fixed and verified before launch.

  • Series C fintech, 400 staff
  • API Security Testing
Closing authorisation gaps in a payments platform before launch

Results at a glance

critical cross-tenant flaws fixed before launch
3
of partner API operations tested across roles and tenants
100%
open high or critical findings at retest
0
partner launch date maintained
On time

The challenge

The client was weeks away from launching a partner API that would let online marketplaces initiate payouts on behalf of their sellers. The platform had grown quickly, and authorisation logic was implemented differently across services written in three programming languages.

Banking partners required independent assurance, and leadership wanted a definitive answer to one question: could one partner ever see or move another partner's funds?

Our solution

We ran a combined grey-box web application and API engagement over three weeks, using accounts in four separate tenants and every user role.

  • Built a complete endpoint inventory from API specifications and captured traffic, revealing deprecated endpoints that were still reachable in production.
  • Tested object-level and function-level authorisation for every operation across tenants.
  • Reviewed OAuth 2.0 client-credential flows, token scopes and webhook signature validation.
  • Worked with the platform team to design shared authorisation middleware instead of endpoint-by-endpoint patches.

Approach

Because the biggest risk was one customer reaching another customer's money, we designed the engagement around authorisation rather than generic vulnerability categories. Testers created matched pairs of accounts in separate tenants and replayed every API operation with swapped identifiers, tokens and roles. The endpoint inventory proved essential: an older version of the payout API, no longer documented, accepted a tenant identifier from the request body instead of deriving it from the access token. Combined with predictable payout references, this would have allowed a malicious partner to view and cancel other partners' pending payouts.

Two further critical issues followed the same pattern in different services: authorisation was enforced on read operations but not on a bulk export, and a webhook configuration endpoint allowed a partner to point another tenant's notifications at an external address. Each was reported on the day it was confirmed, with a proof of concept the developers could replay.

Outcome

All three critical issues were fixed within a week of being reported, and the retest confirmed that the shared middleware enforced tenant boundaries consistently across every service, including the deprecated endpoints, which were then retired. Twelve medium and low findings, mostly around token lifetimes and verbose error messages, were scheduled into normal sprints. The client shared our attestation letter with its banking partners, and the partner API went live on the planned date.

Lessons learned

  • Undocumented and deprecated endpoints deserve the same scrutiny as current ones; they are often where old assumptions survive.
  • Tenant context should always come from the authenticated identity, never from client-supplied input.
  • Central authorisation middleware fixed all three critical issues and prevents the same class of flaw in future services.

The client now runs a focused API retest before each major partner release, and the endpoint inventory is maintained as part of its release checklist.

This is an illustrative, anonymised case study. Client details have been changed or combined to protect confidentiality.

Facing a similar challenge?

Describe your situation in confidence. We will tell you honestly whether we can help and how we would approach it.