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
82 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
Show which dates in a window have Back-Office data
Look up transactions directly against the Back-Office API
Get the caller's outstanding action summary
List the caller's active dashboard alerts
Get the tenant's liquidity position
List a merchant's deduction schemes
Get a deduction scheme
Read the tenant's CFO approval threshold for disbursement batches
Field-level difference between a provider profile and its catalogue default
List a provider profile's revision history
List merchants for a picker
List the tenant's disbursement rail configurations
Read a rail's funding balance
List billable-lookup invoices
List refund requests
Get a refund request
Download the client Dashboard sheet projection as CSV
One page of the client Dashboard sheet as JSON
Download the disbursement summary per MRC (with deductions) as CSV
Download the Gagal Transfer (failed transfer) report as CSV
Download the TID-keyed transaction report for one channel as CSV
Coverage matrix for the TID-keyed report
List the effective escalation ladders
List the effective notification channel policy
List effective notification and alert thresholds
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)
Preview a reconciliation-data reset
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
Dismiss a dashboard alert for the caller
Snooze a dashboard alert for the caller
Submit a deduction scheme (Sales-Support maker)
Approve a deduction scheme (checker)
Reject a deduction scheme (checker)
Create a disbursement batch from selected settlements
Discard a draft disbursement batch
Execute (push) an approved disbursement batch to the bank rail
Release a dead batch's unpaid settlements
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
Pay one billable-lookup invoice
Refresh the invoice projection from the rail
Refresh a Dispute-Amount group from the Back Office and re-reconcile it
Stage a reconciliation drop and return its total-comparison verdict
Reconcile a previously staged drop
Detect how each file would be routed and parsed, without writing anything
Re-reconcile a disputed per-MID group at transaction granularity
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
Reset the tenant's reconciliation data
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
Set or reset escalation ladders
Set or reset notification channel policies
Set or reset notification and alert thresholds
Update a settlement source
Upsert the tenant's source-adapter mode selector
Upsert the tenant's Back-Office field mapping
Discard a staged reconciliation drop
Disable a settlement source
Was this page helpful?
Marketplace Service API
The per-tenant storefront sales channel — opening hours, catalogue browse, feature switches, shipping, promo codes, buyer accounts, wishlist, reviews, fulfilment and the storefront's legal documents
Disbursement Service API
Internal money-movement service — rail configuration, funding balance, billable-lookup invoices, and idempotent transfers