txnref webhook, leaving an order
in PENDING even after the customer completes payment. Reconcile pulls the canonical
state from Telr and writes through.
All admin endpoints below require:
- JWT with
role = SUPER_ADMIN IpAllowlistGuard— caller IP must be in the operator allowlistGeoBlockGuard— caller geo must be permitted
403.When to use
POST /admin/telr/reconcile/:transactionId
Manually reconciles a single Telr transaction. Bypasses any env-level reconciliation gating (the endpoint is the recovery path of last resort). Accepts either:- The Telr
cartid/txnref(issued at intent creation) - Our internal order
ObjectId(24-char hex)
TelrTransaction, calls Telr’s
/gateway/order.json to refetch settlement state, then writes through to the order and
unified-transaction projection.
Authentication
Path parameters
Request body
Empty —POST with no body.
Response — 200 OK
Error responses
Example
Operational context
The reconcile endpoint exists because:- Telr’s hosted checkout posts back to
txnrefcallback URL after redirect — if the customer closes the tab before redirect completes, the webhook is the only signal. - Telr’s webhook retry policy is short (3 attempts within 1 hour). After that, the order
stays
PENDINGindefinitely unless an operator reconciles. - Sandbox runs (
ivp_test=1) frequently skip webhook delivery; reconcile is the only reliable way to confirm a test settled.
Related
- Telr integration guide — payment flow, cohort matrix, sandbox setup.
- Bonum admin endpoints — same reconcile pattern + per-merchant config CRUD.
- PSP health — confirm the Telr breaker is closed before reconciling at scale.