Skip to main content

Snippet status

Open a merchant → Overview → App. The badge is Snippet status. Check snippet (title Re-check this merchant now and update the shared snapshot) re-checks this merchant only. Install the tag itself from Merchant Snippet Integration.

Where to find it​

Merchant detail → App / environment card area → Snippet status, with Check snippet to refresh. The same card lists Pages with embed snippets from that snapshot, and Detected snippet when the scanned environment disagrees with the App badge. Check env on that card runs Check snippet and then Environment integrity.

How it is computed​

Status comes from merchant-api snapshot checks (monitor + source verification) and refreshes on demand via Check snippet.

  • Monitor API path: /api/snippets/snapshots/* on merchant-api
  • Monitor backend: Cloud Function monitor in europe-west2

Check snippet​

Check snippet on the App card (title Re-check this merchant now and update the shared snapshot) re-checks only the open merchant. Check env runs this first, then Environment integrity.

  1. Toast Checking snippet... as soon as the click is accepted.
  2. The write is POST /api/snippets/snapshots/merchant/:id with that merchant’s known URLs. It updates today’s shared snapshot (the same file Sync Snippets rebuilds for every merchant) and this row’s Snippet status, details, timestamp, scanned environment / domain, Pages with embed snippets, and source-verification extras.
  3. Success toast Snippet check updated. The App card and merchants table badge reload from that response. If you were in Edit Merchant, edit mode exits so the card can redraw.
  4. Failure toast is the API message / error, or Failed to check snippet. The previous snapshot stays until a later check succeeds.

Daily snapshot vs on-demand: Snippet snapshot.

Status meanings​

These labels appear on the merchants table and the App card. Snapshot JSON still uses internal keys (deployed, not_deployed, no_domain, error, checking, unknown).

BadgeInternal keyMeaning
Snippet founddeployedMonitor / source scan confirmed an active FinMatch SDK.
Snippet missingnot_deployedNo active FinMatch SDK detected (including commented-out).
No domainno_domainMerchant has no domain configured to scan.
ErrorerrorScan failed (network / service / runtime).
CheckingcheckingSnapshot load or Check snippet is in progress.
Unknownunknown / emptyNot in the latest snapshot, or the row has no status.

There is no operator badge named Deployed or Missing. Older docs used those words for the same two states as Snippet found and Snippet missing.

Use Snippet details for the exact scan result text behind the badge.

How the shared daily snapshot is built: Snippet snapshot.

Snippet details​

Common detail strings:

Detail textMeaning
Found in <head>Snippet script found in head.
Found in DOMSnippet found outside head.
Found commented script - needs activationScript present but commented out.
Snippet not detectedNo active FinMatch snippet found.
No domain configuredMerchant has no domain to scan.
No domain providedMonitor received no domain value.
Source verification detected…Source scan found the SDK even when the monitor did not.
Monitor failed: …Monitor endpoint / HTTP error.
Other error textRaw network / runtime error from the scan.