Skip to content
Meem Payment

Meem Operations

See exactly what happened to a payment, and why

When a customer says a payment failed, support should not need an engineer. Meem Operations puts the whole story in one place: the routing decision, every provider attempt, the redacted provider calls, the webhooks and the audit trail.

Transaction searchImplementedRouting traceImplementedUnknown-outcome handlingImplementedAlerts (console only)Implemented
Payment pay_sample_7f3a · SAR 450.00
Illustrative
  1. 10:42:01Payment created
  2. 10:42:01Routed by workflow v12 → Gateway A
  3. 10:42:03Gateway A: ISSUER_UNAVAILABLE (soft decline)
  4. 10:42:03Eligible for failover → Gateway B
  5. 10:42:05Gateway B: authorised
  6. 10:42:05Webhook payment.succeeded delivered
Illustrative UI · sample values, not product data

What it does

One place for support, operations and finance to answer “what happened?”

Every payment carries its own evidence: what was asked, which workflow ran, which providers were tried and what each one said. Operators can act on it with controls that leave a record.

  • Find it

    Search by reference and filter by state, provider, method, currency, date and amount; save views you use often.

  • Explain it

    Read the lifecycle timeline, the routing trace and each gateway attempt with its normalised decline code.

  • Act on it, on the record

    Capture, void, refund, replay events and approve remediation tasks, each written to the append-only audit log.

Capabilities

Operational tooling built into the console

Each capability is labelled with its current status from the capability registry.

What the labels mean
Implemented
Implemented on the platform's main branch and covered by automated tests. Not independently verified in production.
Mock tested
Implemented and tested against mocks built from the provider's documentation. Not yet verified against the live provider sandbox.
Simulated
Available as a labelled simulation for demos and testing only. No real provider is called.
Planned
On the roadmap. Not available.
  • Implemented

    Transaction search and filters

    Filter by state, provider, method, currency, date and amount range; open any payment in a detail view.

  • Implemented

    Lifecycle timeline

    Created, routed, attempted, authorised, captured, refunded: each event in order with timestamps.

  • Implemented

    Gateway attempts and failover path

    Every provider attempt with its outcome and normalised decline code, and why a failover did or didn't happen.

  • Implemented

    Routing trace

    The workflow version, the nodes evaluated and the rule that chose the provider.

  • Implemented

    Redacted provider calls

    Provider requests and responses with card numbers masked and CVV and secrets removed, for support and PSP tickets.

  • Implemented

    Webhook monitoring and replay

    Failed outbound deliveries listed with a manual replay after automatic retries end.

  • Implemented

    Inbound provider events

    Provider notifications logged and replayable one at a time.

  • Implemented

    Unknown outcomes and remediation

    Unknown results are resolved by provider inquiry, never by a blind retry. Duplicate or orphan charges raise a task that runs only after a person approves it.

  • Implemented

    Append-only audit log

    Configuration changes and operator actions, with who, when, before-and-after values and a correlation id.

  • Implemented

    Operational alerts

    Threshold alerts shown in the console and logs. No email, Slack or SMS delivery yet.

Investigation

From a customer complaint to a clear answer

Open a payment and read it top to bottom: the request, the routing decision, each provider attempt, the provider's own response (redacted) and every webhook sent. The same view serves support, operations and the PSP ticket.

  • Timeline, attempts, routing trace and API calls on one detail pageImplemented
  • Normalised decline codes alongside the raw provider codeImplemented
  • Card numbers masked to first six and last four digits; CVV and secrets removed before storageImplemented
Payment detail page in the Meem console with timeline, routing decision, amounts and card details
Meem console screenshot, sandbox: a demo payment processed by a mock gateway.

Unknown outcomes

When nobody knows if the customer was charged

A timeout or a dropped connection leaves the outcome unknown. Meem never retries such a payment on another provider, because that could charge the customer twice. A background sweeper asks the original provider for the result: payments still processing after two minutes are checked automatically for up to seven days, then left to operators.

  • No automatic retry or failover on an unknown outcomeImplemented
  • Provider inquiry by a background sweeper (default every 60 seconds)Implemented
  • Duplicate and orphan charges raise void/refund tasks that a person approvesImplemented
How recovery differs from failover
Unknown outcome · sample
Illustrative
  1. Gateway A request timed out
  2. No failover: the customer may already be charged
  3. Sweeper asks Gateway A for the result after 2 min
  4. Gateway A reports: authorised → payment succeeded
Illustrative UI · sample values, not product data

Events and webhooks

Replay instead of re-processing by hand

Outbound webhooks retry automatically six times over about 31 minutes, then wait for a manual replay. Inbound provider events are logged and can be replayed one at a time, so a missed notification can be processed again without touching the database.

  • Outbound retries at 1, 2, 4, 8 and 16 minutes, then manual replayImplemented
  • Inbound provider event log with single-event replayImplemented
  • Every replay recorded in the audit logImplemented
Webhooks reference
Webhook deliveries · sample
Illustrative
payment.succeededDelivered · 1/6
refund.succeededFailed · 6/6Replay
payment.failedRetrying · 3/6
Illustrative UI · sample values, not product data

Interactive example

Investigate a payment, step by step

A synthetic payment that failed over from one provider to another. Step through what an operator sees.

Payments API reference

All data in this example is synthetic. Provider names are anonymised.

How it works

Evidence is recorded as the payment runs

  1. Step 1

    Request recorded

    The payment request and its idempotency key are stored; card data never is.

  2. Step 2

    Routing decision traced

    The workflow version, nodes evaluated and chosen provider are written to the trace.

  3. Step 3

    Attempts and calls logged

    Each provider attempt and its redacted request and response are kept with the payment.

  4. Step 4

    Actions audited

    Every operator action and configuration change goes to the append-only audit log.

For engineers

The same evidence is available through the API

Merchant-scoped endpoints return the timeline, routing trace and redacted provider calls for a payment.

Relevant API endpoints

  • GET/api/v1/paymentsSearch and filter payments
  • GET/api/v1/payments/{id}/timelineLifecycle events
  • GET/api/v1/payments/{id}/routing-traceRouting decision
  • GET/api/v1/payments/{id}/api-callsRedacted provider calls
  • POST/api/v1/gateway-events/{id}/replayReplay an inbound provider event
  • POST/api/v1/remediation-tasks/{id}/approveApprove a remediation task
# Illustrative. See the API reference for the full schema.
GET /api/v1/payments/{id}/timeline        # lifecycle events in order
GET /api/v1/payments/{id}/routing-trace   # workflow nodes evaluated, rule matched, PSP chosen
GET /api/v1/payments/{id}/api-calls       # provider requests and responses, redacted
GET /api/v1/gateway-events                # inbound provider events (webhooks, notifications)
POST /api/v1/gateway-events/{id}/replay   # re-process one inbound event

Specifications

Stalled-payment threshold
2 minutes
Automatic inquiry window
7 days
Outbound webhook attempts
6 (about 31 minutes), then manual replay
Alert delivery
Console and logs onlyImplemented

Frequently asked questions

Questions

See Meem Operations on your own payment flows

Book a demo and we'll walk through an investigation in the console.