# Leaked Finicity API Token? Rotate Secrets Now

> Finicity API token or client secret exposed in code? Rotate the partner secret, audit customers and consents, and clean up. Step-by-step guide.

Source: https://leakwatch.net/secrets/finicity-api-token

---

[LeakWatch](/)

[Product](/product)[Live feed](/leaks)[Guides](/secrets)[Blog](/blog)[Free scan](/)

1.  [Home](/)
2.  [Secrets](/secrets)
3.  Finicity API Token

Payments · Secret guide

# Leaked Finicity API Token: what to do in the first hour

High severityDetected onlyLast verified October 30, 2026 · 4 min read

Finicity, a Mastercard service, aggregates bank account data. A partner has a Partner ID, a Partner Secret and an App Key, and uses them to request an access token, which authorizes calls to read connected accounts, balances and transactions of the partner’s customers. Whoever holds the secret and key can obtain such tokens, and a leaked token gives access to bank data until it expires. The main danger is exposure of sensitive financial information about your users. Rotate the secret first, then check who was accessed.

[Check your GitHub account for leaked secrets — free](/)

Provider

Finicity

Severity

High

Impact

Payments and customer data

Checked live by LeakWatch

No

## What a Finicity API token looks like

There are two secrets that LeakWatch looks for, and neither has a readable prefix:

```text
XXXXXXXX…   access token: 32 hexadecimal characters (masked)
XXXXXXXX…   client secret: 20 letters and digits (masked)
```

An access token is issued by the authentication endpoint and is valid for a limited time, two hours according to the documentation, so a leaked one is usually short-lived. The long-term secret is the Partner Secret, which does not expire and is changed by calling the modify partner secret endpoint. Partner secrets can contain letters, digits and some symbols, 12 to 255 characters, so the 20-character form is only one case. You will see these values in variables such as `FINICITY_PARTNER_SECRET` or `FINICITY_APP_KEY`, in the `Finicity-App-Key` header, and in the body of the authentication call. The Partner ID and App Key are separate values: the App Key alone cannot read data, but it ties requests to your application.

## How Finicity secrets get leaked

-   **Integration code with credentials inline.** The authentication call written with the Partner ID and secret in the source.
-   **Environment files.** `FINICITY_PARTNER_SECRET` and the App Key in a committed `.env` file.
-   **Sandbox credentials reused in production.** The same secret copied between environments and committed with test code.
-   **Logs of API calls.** A debug log that records the authentication request body or the token header.
-   **Continuous integration and shared snippets.** A pipeline definition, a support request or a forum post containing the credentials.

## What to do in the first hour

1.  **Change the Partner Secret.** Use the modify partner secret endpoint, which takes the current secret and a new one, or the credentials page in the Mastercard developer portal if your project has one. Do this before other cleanup.
2.  **Deploy the new secret** and request a fresh access token to check that the integration works.
3.  **Let the old token expire.** Access tokens expire after a short time, but if you can, treat any token created from the leaked secret as compromised and review the calls made with it.
4.  **Audit activity.** Review which customers were created, which accounts were linked and which data was read since the exposure, using your own logs and the support portal.
5.  **Check the App Key and Partner ID.** If the App Key was in the same file, ask Mastercard support whether it can be replaced, and keep a second set of credentials ready before deleting one.
6.  **Watch for lockout.** Repeated calls with a wrong secret lock the Partner ID after five attempts, so update every system promptly.
7.  **Clean up the code** and look for other secrets. See [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github).

Not sure what else leaked from the same repository? [Run a free scan](/).

[Not sure what else leaked? Run a free scan.](/)

## Revoke it at Finicity

Finicity credentials are managed in the Mastercard Developers dashboard, where each project holds its Partner ID, Partner Secret and App Key, and through the modify partner secret API. A person has not confirmed the exact menu wording for this guide, and the product has moved from Finicity’s own portal to Mastercard Open Finance, so look for the section where project credentials are listed, and follow the Mastercard Open Finance documentation. Report an unrecoverable lockout or a suspected breach through the support portal.

## How LeakWatch detects it

Two rules apply. Both need the word `finicity` in the text, then a short label, an assignment separator (`=`, `:`, `=>` and similar, with optional quotes), then the value, followed by a quote, space, semicolon, escaped line break or the end of the line. The rule called Finicity API Token accepts exactly 32 lowercase-or-uppercase hexadecimal characters, so a value with other letters or another length is refused. The rule called Finicity Client Secret accepts exactly 20 letters and digits. Without the word `finicity` before the value, neither fires. The match is case-insensitive. Both have severity **high**. These types are not checked live: LeakWatch does not send any request to Finicity or Mastercard with the values it found.

LeakWatch detects this format but does **not** check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.

## FAQ

The token expires after two hours, so is it still a problem?

Yes, if the secret leaked. The secret produces new tokens at will. A leaked short-lived token alone is less serious, but you cannot tell which one you exposed.

Does the App Key need to be rotated?

It identifies your application and sets rate limits, but it does not unlock data without the secret. Replace it if you can, and at least keep it out of the repository.

What if I am locked out after changing the secret?

Five wrong attempts lock the Partner ID. Update all systems quickly, and if locked, report the problem through the support portal.

## Related

-   [Plaid Secret Key](/secrets/plaid-secret-key)
-   [Stripe secret key](/secrets/stripe-secret-key)
-   [Square Access Token](/secrets/square-access-token)
-   [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github)
-   [Which vendors leak most this week](/leaks/trends)
-   [All secret guides](/secrets)

[Get alerted next time a secret leaks — create a free account](/)

LeakWatch is not affiliated with Finicity.

![Gabriel Diyan, founder of LeakWatch](/brand/Photo-Gabriel-Diyan.webp)

Gabriel Diyan (0xCr0c0)

Cybersecurity student, founder of LeakWatch. I built and run the scanner described here — the detection patterns, the false-positive classifier and the provider validators are mine. [More about who I am](/about).

[GitHub](https://github.com/Leakwatch-Scan) · [X](https://x.com/LeakwatchScan) · [LinkedIn](https://www.linkedin.com/in/gabriel-diyan-80a378375) · [GitHub (personal)](https://github.com/crocogab)

LeakWatch

Secrets leak into public commits every minute. This watches the forges for yours. Built and run by [Gabriel Diyan](/about), a cybersecurity student — [why LeakWatch exists](/about).

Scan

-   [Product](/product)
-   [Live feed](/leaks)
-   [Trends](/leaks/trends)
-   [API docs](/docs)
-   [CI/CD](/docs?tab=ci)

Read

-   [Blog](/blog)
-   [Secret guides](/secrets)
-   [Changelog](/changelog)
-   [About](/about)

Verify

-   [Security](/security)
-   [Privacy](/privacy)
-   [Terms](/terms)
-   [Legal](/legal)
-   [Contact](/contact)
-   [Status](https://status.leakwatch.net)

© 2026 LeakWatch

[GitHub](https://github.com/Leakwatch-Scan)[X](https://x.com/LeakwatchScan)
