Skip to main content
External sources provide transaction data from systems outside your organization. This guide covers how to connect banks, payment gateways, and other external systems to Matcher.

Supported source types


Matcher supports five source types. Each represents a category of data origin:

Ingestion methods


Transaction data reaches Matcher through several paths:

File-based ingestion


The most common method for bank statements and ERP exports.

Manual upload

Use the file upload endpoint to import transaction files manually.

Bank connections


Standard Bank format

Most banks provide statements in a format Matcher parses natively — CSV, OFX, camt.053, or the Brazilian CNAB layouts:
The config object is free-form descriptive metadata — Matcher stores it but does not interpret keys like bank_name or statement_format. Parsing behavior is driven by the declared format dialect and the pinned configuration keys (error-rate policy, duplicate policy, blank_external_id, and camt.053 options), not by these labels.
API Reference: Create source

ERP and custom connections


Use the CUSTOM source type for ERP systems (SAP, Oracle, NetSuite, etc.) and any other data source that doesn’t fit the BANK, LEDGER, or GATEWAY categories.

Example: ERP source

Export transaction data from your ERP and upload it through Matcher’s file upload endpoint. Use field mapping to translate ERP-specific fields into Matcher’s canonical format.

Payment processor connections


Stripe

Adyen

Export settlement reports from your payment processor and upload them through Matcher’s file upload endpoint.

Card networks

For card network settlement files (Visa, Mastercard, Elo), use the CUSTOM source type:

Connection security


Credential storage

All credentials should be stored securely in an encrypted vault and referenced by ID in source configurations.

Ip allowlisting

Configure IP allowlisting at the infrastructure level (load balancer, API gateway, or firewall) to restrict which IPs can push data to Matcher. Source entities do not have a settings.security configuration. Manage IP restrictions outside the application.

Webhook signatures

Matcher signs outbound webhook payloads with HMAC-SHA256. For inbound data, verify signatures at the infrastructure level before data reaches Matcher. Source entities do not have a settings.webhook configuration.

Data format requirements


Required fields

Every transaction must include: Field maps use a closed canonical vocabulary: the mapping keys are fixed, and the values name the source’s raw column. These canonical keys are required:

Optional fields

No other keys are accepted—keys outside this vocabulary are rejected.

Field mapping

Manage field maps with the dedicated endpoint (not the source’s config object). The request body is a single mapping object of { canonicalKey: sourceColumnName } pairs:
cURL
Refer to Field Mapping for details.

Best practices


Check that uploaded files contain columns for the required canonical fields (external_id, amount, currency, date) before uploading. This prevents ingestion errors.
Standardize on a single format (CSV, JSON, or XML) per source to simplify field mapping and reduce errors.
Store all API keys and passwords in the vault. Never include credentials in configuration payloads.
Validate field mapping and data quality with sample files before uploading production data.

Next steps


Field Mapping

Configure how source fields map to Matcher.

Uploading Files

Manual file upload procedures.