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. MDR changes are maker/checker governed — submit, then approve or reject.
List merchants
Get a merchant
List staged MDR-rate changes for a merchant
List MDR rates for a merchant
Get the currently active MDR rate for a merchant
Create a merchant
Approve a staged MDR-rate change (checker step)
Reject a staged MDR-rate change (checker step)
Submit a staged MDR-rate change (maker step)
Set merchant status
Update a merchant
Delete a merchant
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
50 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
Get the tenant's AR pivot layout
Look up transactions directly against the Back-Office API
Get the caller's outstanding action summary
List a merchant's deduction schemes
Get a deduction scheme
Read the tenant's CFO approval threshold for disbursement batches
List a provider profile's revision history
List merchants for a picker
List the tenant's disbursement rail configurations
List refund requests
Get a refund request
List the tenant's settlement sources
List settlement sources — routing projection
Get the tenant's source-adapter mode selector
Get the tenant's Back-Office field mapping
Get the workspace's ingest shape (mode only)
Approve a monthly AR deduction batch (Ops checker)
Reject a monthly AR deduction batch (Ops checker)
Dry-run an AR file against a layout
Upload a monthly per-MRC AR deduction file
Submit a deduction scheme (Sales-Support maker)
Approve a deduction scheme (checker)
Reject a deduction scheme (checker)
Create a disbursement batch from a completed reconciliation run
Execute (push) an approved disbursement batch to the bank rail
Sync a processing disbursement batch's status from the rail
Reset a provider profile to its shipped catalogue default
Preview a sample settlement/report file against a provider mapping
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)
Hold a single transaction
Approve a pending risk hold
Reject a risk hold or a requested release
Request release of an active risk hold
Ingest a BO settled-status file
Create a settlement source
Pull settlement files over SFTP for the tenant
Test the tenant's Back-Office connection
Pull the Back-Office transaction feed for a date window
Save the tenant's AR pivot layout
Change the tenant's CFO approval threshold
Upsert one disbursement rail's configuration
Update a settlement source
Upsert the tenant's source-adapter mode selector
Upsert the tenant's Back-Office field mapping
Disable a settlement source
Was this page helpful?