Recon Service API
Reconciliation runs, settlements, disbursements, exceptions, deductions, risk holds, rules, and merchant management
The Recon Service is the back-office reconciliation engine for 505pay. It ingests settlement files from PSPs, matches them against payment intents, flags exceptions, manages the disbursement approval workflow, and produces the financial reports that treasury and finance rely on.
Base URLs
| Environment | Hostname |
|---|---|
| Sandbox | https://sandbox.505pay.link |
| Production | https://api.505pay.link |
All endpoints require Authorization: Bearer <jwt> issued by the Auth Service with the appropriate recon.* permissions. The Recon Service is operator-facing — end-customers do not interact with it directly.
Reconciliation run lifecycle
A reconciliation run is created when a settlement file is uploaded from a PSP. The service matches each PSP transaction row against a payment intent and flags rows that don't match as exceptions.
Period locks are immutable
Once a period is locked (createPeriodLock), no new reconciliation runs can be created for that period. Unlock by deleting the lock — only operators with recon.period_lock.delete can do this.
Endpoint reference
Dashboard
KPI cards, trend graphs, and obligation tables for the recon console landing page.
Merchants & MDR rates
Recon-side merchant registry and Merchant Discount Rate configuration.
Reconciliation runs
Upload PSP settlement files and track the matching pipeline.
Transactions
Query individual payment transactions and list paginated transaction records.
Exceptions
Rows from PSP files that couldn't be automatically matched. Must be resolved before disbursement.
List exceptions
Get an exception
Get candidate transactions for manual match
List notes on an exception
Get exception statistics
Download exceptions report as CSV
Assign an exception to a user
Escalate an exception
Manually match an exception to a transaction
Add a note to an exception
Resolve an exception
Bulk update exception statuses
Refresh aging days for open exceptions
Settlements
Manage and update settlement records and SLA status.
Disbursements
Multi-step approval workflow — submit → ops approve → CFO approve → mark paid.
List disbursement batches
Get a disbursement batch
List items in a disbursement batch
Download disbursement batch report (CSV; PDF returns 501)
Approve a disbursement batch
CFO approval for a disbursement batch
CFO rejection for a disbursement batch
Mark a disbursement batch as paid
Reject a disbursement batch
Submit a disbursement batch for approval
Deductions
PSP-side deductions (MDR, interchange, penalties) that reduce settlement amounts.
Risk holds
Funds held pending investigation — fraud review, compliance, or SLA breach.
Period locks
Freeze a calendar period so no new runs can be started against it.
Integrations
Connect PSP file-delivery channels (SFTP, S3, API pull) and validate field mappings.
Rules engine
Configurable matching rules that automate exception classification.
Reports & schedules
Monthly reports, scheduled export jobs, and report download.
Notifications
In-app notifications, read-state management, and delivery channel configuration.
List notification preferences for the current user
Get notification preference for an event type
List notification channels
Get a notification channel
List notifications for the current user
Get unread notification count for the current user
Create a notification channel
Enable or disable a notification channel
Mark a notification as read
Mark all notifications as read for the current user
Create or update notification preference for an event type
Update a notification channel
Delete notification preference for an event type
Delete a notification channel
Audit trail
Immutable audit log of all operator actions.
Settings & webhooks
Global recon settings and back-office webhook configuration.
Files & utilities
Upload files for format auto-detection and mapping validation.
Ungrouped operations
19 operations in the spec are not listed in the groups file. Add their operationIds to content/docs/api/recon.groups.json.
List monthly AR deduction batches
Get an AR batch with its staged lines
List staged MDR-rate changes for a merchant
List refund requests
Get a refund request
Approve a monthly AR deduction batch (Ops checker)
Reject a monthly AR deduction batch (Ops checker)
Upload a monthly per-MRC AR deduction file
Create a disbursement batch from a completed reconciliation run
Approve a staged MDR-rate change (checker step)
Reject a staged MDR-rate change (checker step)
Submit a staged MDR-rate change (maker step)
Submit a refund request (Risk maker)
Approve a refund request (Ops checker)
Reject a refund request (Ops checker)
Forward a refund request for checker approval (Ops maker)
Approve a pending risk hold
Request release of an active risk hold
Ingest a BO settled-status file
Was this page helpful?