Skip to content
Meem Payment

Solutions · Fintech

Payments infrastructure your engineers can reason about

One REST API in front of the PSP accounts you hold. Idempotent by design, traceable per payment and isolated between sandbox and production, so your product team ships features instead of provider integrations.

At a glance

  • REST API under /api/v1Available
  • Idempotency and correlation IDsAvailable
  • Signed outbound webhooksAvailable
  • PSP adapters (4)Sandbox
  • Client libraries and native SDKsPlanned

Status shows what is implemented today.

Challenges

What slows fintech payment teams down

The hard part is rarely the first integration. It is everything that happens when networks and providers misbehave.

  1. Duplicate charges on retries

    A client times out and retries. Without strict idempotency, the same request can move money twice.

  2. Every provider speaks a different dialect

    Auth schemes, error codes, webhook signatures and status models differ per PSP, and each one ends up in your codebase.

  3. No answer to "why did this payment go there?"

    Support and engineering need the exact route, attempts and provider calls for a payment, not a guess reconstructed from logs.

  4. Test and live bleeding into each other

    Shared credentials or fallbacks between environments make it easy to send a test payment to a live endpoint, or the reverse.

Use cases

What fintech teams build on Meem

Common patterns for product-led payment teams.

  • One API, several PSPs

    Authorize, capture, void and refund through one contract while Meem's adapters handle each provider.

  • Safe retries

    Send an Idempotency-Key on every money movement and retry freely on network errors.

  • Event-driven ledgers

    Update your ledger from signed payment events: authorized, captured, refunded, declined and more.

  • Support tooling

    Pull a payment's timeline, routing trace and redacted provider calls into your internal tools.

  • Routing without deployments

    Change provider priority or add a weighted split in Routing Studio, with no code release.

  • Sandbox-first development

    Build against mock simulators, then add Production accounts with their own credentials and endpoints.

How Meem helps

How Meem helps

Predictable API semantics on top of unpredictable networks.

  • Idempotency you can rely on

    Keys are scoped per merchant and endpoint. A replay returns the original response, a concurrent duplicate gets 409, and a reused key with a different body gets 422 IDEMPOTENCY_KEY_REUSED.

  • Consistent errors

    402 for declines and risk blocks, 422 validation problems with a code, 409 for conflicts, 404 for unknown or cross-tenant resources, 502 for gateway failures.

  • Traceability per payment

    Send X-Correlation-Id with each request and query the timeline, routing trace and redacted API calls for any payment.

  • Strict environment isolation

    Sandbox and Production accounts have separate credentials, endpoints and webhook secrets, and never fall back to each other.

Capabilities

Relevant capabilities

Status labels show exactly what is implemented today.

Example journeys

Example journeys

Hypothetical flows that show how the API behaves. Identifiers and amounts are illustrative.

Example journey 1Hypothetical

A network retry that does not double-charge

A wallet app's backend authorizes SAR 250 and loses the response to a timeout.

  1. Step 1: Token issued

    The backend obtains a short-lived merchant-scoped bearer token via POST /api/v1/auth/token.

  2. Step 2: First request

    It calls POST /api/v1/payments with an Idempotency-Key and an X-Correlation-Id.

  3. Step 3: Timeout and retry

    The connection drops. The client retries with the same key and body; while the first request is still in flight, Meem returns 409.

  4. Step 4: Replay

    The next retry returns the original response. Only one payment exists.

  5. Step 5: Ledger updated

    A signed payment.authorized webhook arrives and the backend verifies X-Webhook-Signature before posting.

Example journey 2Hypothetical

Answering a support ticket with evidence

A user reports that a top-up failed and asks why.

  1. Step 1: Look up the payment

    Support finds the payment by id and calls GET /api/v1/payments/{id}/timeline.

  2. Step 2: Read the routing trace

    The routing trace shows the workflow version, the condition that matched and the account chosen.

  3. Step 3: Check provider calls

    Redacted API calls show the PSP's response, normalised into a decline category.

  4. Step 4: Explain the outcome

    It was a hard decline, so no failover was attempted. Support can explain this with confidence.

Architecture

Integration architecture

Your services call one API. Meem handles provider differences and sends events back.

Integration architecture diagram

Channels

  • Your backend services
  • Web app (hosted checkout)
  • Mobile web
  • Native SDKsPlanned

Meem API (/api/v1)

  • OAuth 2.0 + idempotency
  • Risk rules
  • Routing workflow
  • Signed webhooks

Your PSP accounts, per environment

  • PSP account ASandbox
  • PSP account BSandbox
  • PSP account CSandbox
  • Sandbox and Production are separate accounts with separate credentials, and never fall back to each other.
  • Meem is orchestration technology. It does not hold funds or provide regulated payment services.

Connectivity

Integrations and payment methods

Methods available through the API today, and what is still simulated or planned.

  • Visa, Mastercard, AmexSandbox
  • madaSandbox
  • Apple PaySimulated
  • Google PaySimulated
  • STC PaySimulated
  • TamaraSimulated
  • Payment links & QRAvailable

FAQ

Frequently asked questions

Talk API with our engineers

Walk through authentication, idempotency, webhooks and routing traces against the sandbox, and map them to your product's flows.