Send data in
POST /api/ingestion/transactions
Use it when your own systems see payments as they happen, such as a payment service, billing system, or ledger. Send each event as it occurs, and transactions and their timelines stay current all month.
Send one transaction or payment event as it happens. The first event for a transaction creates it. Later events with a new externalEventId are added to its timeline. Any user except Read-only.
Body
source | Required. Name of the sending system, up to 100 characters. |
externalEventId | Required. Your unique ID for this event, up to 255 characters. Used to recognize retries. |
transactionId | Required. Your transaction ID, up to 255 characters. |
amount | Required. Number with at most two decimal places. |
currency | Required. Three-letter code, such as USD. |
transactionDate | Required. Date and time with a time zone, such as 2026-10-08T00:00:00Z. |
reference, account | Optional. Up to 255 and 100 characters. |
eventType, eventSummary | Optional. Shown on the timeline. Up to 100 and 350 characters. |
eventOccurredAt | Optional. When the event happened, with a time zone. Defaults to when it was received. |
customerName, customerEmail, settlementId, invoiceNumber | Optional. Up to 255 characters each. All are searchable. |
POST /api/ingestion/transactions
{
"source": "processor",
"externalEventId": "evt-0481-settled",
"transactionId": "FF500-PAY-0481",
"amount": 684.47,
"currency": "USD",
"transactionDate": "2026-10-08T00:00:00Z",
"reference": "REF-FF500-0481",
"eventType": "Settled",
"eventSummary": "Settled by processor"
}
{ "transactionId": "7d3c…0481", "duplicate": false }
{ "transactionId": "7d3c…0481", "duplicate": true }
Errors: 400 a field is missing or not valid, or a date has no time zone; 409 the event ID was already used with different data, or the amount, currency, date, reference, or account differ from the stored transaction; 413 over 64 KB.
POST /api/ingestion/webhooks/{keyId}
Use it when a processor, bank, or other outside service can push events to a URL but can't sign in. The signature proves where each event came from.
The same as sending an event, for a processor or bank that pushes events to you. Instead of a token, each request is signed with a webhook secret. No token. Webhook keys and secrets are issued during setup.
Headers
X-Paritance-Timestamp | Current time in Unix seconds. Must be within five minutes of the server's time. |
X-Paritance-Signature | HMAC-SHA256 of {timestamp}.{body} using the webhook secret, as 64 hex characters. |
const timestamp = Math.floor(Date.now() / 1000).toString();
const signature = crypto.createHmac('sha256', webhookSecret)
.update(`${timestamp}.${body}`)
.digest('hex');
POST /api/ingestion/webhooks/3e7a…91c2
X-Paritance-Timestamp: 1791504000
X-Paritance-Signature: 9f2c…e41a
{ …same body as sending an event… }
Errors: 401 unknown key, wrong signature, or timestamp more than five minutes off; 400 invalid body, or source differs from the one set up for this key; 409 as for sending an event; 413 over 64 KB.
POST /api/reconciliation/start
Use it when you reconcile from exports, such as a month-end ledger file against a processor's settlement report. Run it from a script on a schedule, or whenever new files arrive.
Upload a source file and a target file and reconcile them in one step. Any user except Read-only.
Form fields
source, target | Required. CSV or XLSX files, up to 10 MB and 10,000 transactions each. Dates use YYYY-MM-DD. |
matchingStrategy | Optional. ExactMatch (default), FuzzyMatch, or RuleBasedMatch. |
sourceMappingTemplateId, targetMappingTemplateId | Optional. A saved column mapping. Without one, your default mapping for that file type is used, if you have one. |
Records are first paired by transaction ID. Pairs whose amount or currency differ become exceptions. Records left over are compared by amount, currency, a date within three days, account, and a similar reference. RuleBasedMatch requires the reference to match exactly. Five or more exceptions of the same type in one run are grouped into an incident.
POST /api/reconciliation/start
Content-Type: multipart/form-data
source=@ledger-october.csv
target=@processor-october.xlsx
matchingStrategy=ExactMatch
{ "id": "a81f…2c90", "matchingStrategy": "ExactMatch", "matches": 480, "exceptions": 30 }
Errors: 400 a file is missing, can't be read, is too large or has too many rows; the strategy isn't recognized; or a mapping doesn't exist or is for a different file type.
GET /api/mapping-templates
Use it when your integration needs to choose the right mapping for a file, or show your team which file layouts are set up.
List your saved column mappings. Any signed-in user.
[{
"id": "e52d…7b10",
"name": "Processor export",
"description": "Monthly settlement file",
"fileType": ".xlsx",
"columnMappings": { "TransactionId": "Payment ID", "Amount": "Gross", "Currency": "Ccy", "Date": "Settled on" },
"isDefault": true,
"createdAt": "2026-11-02T09:14:00Z"
}]
POST /api/mapping-templates
Use it when a system exports files with its own column names, such as "Payment ID" and "Gross" instead of TransactionId and Amount. Save the mapping once and every file from that system imports as-is.
Save how your file's column names map to transaction fields, so files import without renaming columns. Any user except Read-only.
Body
name | Required. Up to 255 characters. |
description | Optional. Up to 1,000 characters. |
fileType | Required. .csv or .xlsx. |
columnMappings | Required. Field name → your column name. TransactionId, Amount, Currency, and Date are required. Reference, Account, CustomerName, CustomerEmail, SettlementId, and InvoiceNumber are optional. Each column can be used once. |
isDefault | Use this mapping when none is chosen. One default per file type; setting a new one replaces the old. |
{ "id": "e52d…7b10" }
Errors: 400 with a message naming the problem, such as a missing required field or a column used twice.
PUT /api/mapping-templates/{id}
Use it when a system changes its export, such as a renamed column, and imports start failing.
Replace a saved mapping. Takes the same body as saving a mapping. Any user except Read-only.
{ "id": "e52d…7b10" }
Errors: 400 as for saving; 404 mapping not found.
DELETE /api/mapping-templates/{id}
Use it when a file layout is no longer used, so it stops appearing as a choice.
Remove a saved mapping. Past reconciliation runs are not affected. Any user except Read-only.
{ "message": "Mapping template deleted." }
Errors: 404 mapping not found.
Read results
GET /api/reconciliation/jobs
Use it when you want to confirm last night's run finished, or show run history and counts in your own reporting.
Past reconciliation runs, newest first. Any signed-in user.
[{
"id": "a81f…2c90",
"createdAt": "2026-11-03T08:30:00Z",
"status": "Completed",
"matchingStrategy": "ExactMatch",
"files": ["ledger-october.csv", "processor-october.xlsx"],
"matches": 480,
"exceptions": 30
}]
GET /api/reconciliation/results?jobId={id}
Use it when you want the full outcome of one run in your own tools, such as loading exceptions into a spreadsheet or a data warehouse for review.
Every matched pair and every exception from one run, with the full source and target records. Any signed-in user.
{
"id": "a81f…2c90",
"matches": [{ "source": { … }, "target": { … } }],
"exceptions": [{
"id": "c4e2…0481",
"type": "AmountMismatch",
"status": "Open",
"reason": "Transaction FF500-PAY-0481 differs: 683.97 USD vs 684.47 USD.",
"suggestedAction": "Check the amounts and currencies in both systems.",
"notes": null,
"source": { "transactionId": "FF500-PAY-0481", "amount": 683.97, … },
"target": { "transactionId": "FF500-PAY-0481", "amount": 684.47, … }
}]
}
Exception types: UnmatchedTransaction, PartialMatch, DuplicateTransaction, AmountMismatch, DateMismatch.
Errors: 404 run not found.
GET /api/exceptions
Use it when you keep exceptions in a work queue your team already uses, such as a ticketing tool. Fetch on a schedule and create a ticket for each new one.
All exceptions across all runs, newest first. Use this to sync exceptions into your own work queue. Any signed-in user.
[{
"id": "c4e2…0481",
"reconciliationJobId": "a81f…2c90",
"type": "AmountMismatch",
"status": "Open",
"reason": "Transaction FF500-PAY-0481 differs: 683.97 USD vs 684.47 USD.",
"suggestedAction": "Check the amounts and currencies in both systems.",
"notes": null,
"sourceTransactionId": "7d3c…0481",
"targetTransactionId": "91aa…0481"
}]
GET /api/transactions/search?q={text}
Use it when someone asks about a payment and only has part of the details, such as an invoice number or a customer's email. Ideal for a help desk or customer-support tool.
Find transactions by transaction ID, reference, account, customer name or email, settlement ID, or invoice number. Returns up to 50, newest first. Any signed-in user.
GET /api/transactions/search?q=FF500-PAY-0481
{
"query": "FF500-PAY-0481",
"results": [{
"id": "7d3c…0481",
"transactionId": "FF500-PAY-0481",
"reference": "REF-FF500-0481",
"account": "ACCT-006",
"amount": 683.97,
"currency": "USD",
"transactionDate": "2026-10-08T00:00:00Z",
"fileName": "ledger-october.csv",
"reconciliationStatus": "Exception",
"exceptionSummary": "Transaction FF500-PAY-0481 differs: 683.97 USD vs 684.47 USD.",
"relatedTransactionId": "91aa…0481",
"relatedTransactionCode": "FF500-PAY-0481"
}]
}
reconciliationStatus is Matched, Exception, Unmatched, or Not reconciled.
Errors: 400 search text is empty or over 200 characters.
GET /api/transactions/{id}/investigation
Use it when you need the full story of one payment in one call: what it matched, why it was flagged, and everything that happened to it, in order.
Everything about one transaction: its details, related records, exceptions, and a timeline of what happened to it. Any signed-in user.
{
"transaction": { "transactionId": "FF500-PAY-0481", "amount": 683.97, "currency": "USD", … },
"reconciliationStatus": "Exception",
"reconciliation": { "jobId": "a81f…2c90", "status": "Completed", "matchingStrategy": "ExactMatch", "matchScore": null },
"relatedRecords": [{ "transactionId": "FF500-PAY-0481", "amount": 684.47, "currency": "USD" }],
"exceptions": [{ "type": "AmountMismatch", "status": "Open", "reason": "…", "notes": null }],
"timeline": [
{ "kind": "Imported", "description": "Imported in batch Reconciliation import." },
{ "kind": "Reconciliation completed", "description": "Job status: Completed." },
{ "kind": "Exception", "description": "AmountMismatch: Transaction FF500-PAY-0481 differs: 683.97 USD vs 684.47 USD." }
]
}
Errors: 404 transaction not found.
Act and monitor
POST /api/exceptions/comment?id={id}
Use it when the review happens in another tool, such as a ticket being closed. Write the outcome back so the status and reasoning sit with the transaction.
Set an exception's status and notes. Each change is added to the timeline of the transactions involved. Any user except Read-only.
Body
status | Required. Open, Investigating, Resolved, or Dismissed. |
notes | Optional. Up to 1,000 characters. Replaces the existing notes. |
POST /api/exceptions/comment?id=c4e2…0481
{ "status": "Resolved", "notes": "Target includes a 0.50 USD surcharge. Confirmed with the processor." }
{ "message": "Exception updated." }
Errors: 400 unknown status or notes too long; 404 exception not found.
GET /api/incidents
Use it when you want to spot patterns, not single records, such as a processor adding a fee to a whole batch. Alert a team channel when a new incident appears.
Incidents, newest first. An incident is created when one run produces five or more exceptions of the same type, so a pattern isn't handled one record at a time. Any signed-in user.
[{
"id": "f0b3…a7e4",
"reconciliationJobId": "a81f…2c90",
"type": "AmountMismatch",
"status": "Open",
"createdAt": "2026-11-03T08:30:00Z",
"resolvedAt": null,
"exceptionCount": 10
}]
GET /api/incidents/{id}
Use it when someone is working an incident and needs the exceptions it covers in one place.
One incident with its notes and up to 100 of its exceptions. Any signed-in user.
{
"id": "f0b3…a7e4",
"type": "AmountMismatch",
"status": "Investigating",
"notes": "Processor added a surcharge to October payments.",
"exceptionCount": 10,
"exceptions": [{ "id": "c4e2…0481", "status": "Open", "reason": "…", "transactionId": "7d3c…0481" }]
}
Errors: 404 incident not found.
POST /api/incidents/{id}
Use it when the cause of a pattern is found and fixed, so the incident and its notes reflect what was done.
Set an incident's status and notes. Any user except Read-only.
Body
status | Required. Open, Investigating, or Resolved. |
notes | Optional. Up to 1,000 characters. |
{ "message": "Incident updated." }
Errors: 400 unknown status or notes too long; 404 incident not found.
GET /api/dashboard
Use it when you want Paritance numbers on a wall screen, an internal portal, or a morning summary message.
Headline numbers for your organization, plus the six most recent exceptions and the six most recent open ones. Any signed-in user.
{
"totalTransactions": 1000,
"matchedTransactions": 960,
"matchRate": 96.0,
"openExceptions": 30,
"activeIncidents": 3,
"recentInvestigations": [ … ],
"activeExceptions": [ … ]
}
openExceptions counts exceptions that are Open or Investigating. activeIncidents counts incidents that aren't Resolved.
GET /api/reports/operations?from={date}&to={date}
Use it when you report monthly or quarterly on reconciliation, such as for a finance review or month-end close sign-off.
Activity for a date range: records imported, runs, matches, and exceptions and incidents by status. Dates are YYYY-MM-DD in UTC, and both days are included. Any signed-in user.
GET /api/reports/operations?from=2026-10-01&to=2026-10-31
{
"from": "2026-10-01",
"to": "2026-10-31",
"transactionRecordsImported": 1000,
"reconciliationJobsStarted": 1,
"matchedPairs": 480,
"exceptions": [{ "type": "AmountMismatch", "status": "Open", "count": 10 }, … ],
"incidents": [{ "status": "Open", "count": 3 }]
}
Errors: 400 a date is missing or not in YYYY-MM-DD format, or from is after to.