Skip to content
Meem Payment

Developer portal

Build on Meem Payment

One REST API in front of your payment providers. Authenticate with client credentials, create payments or hosted checkout sessions, and let your routing workflows pick the provider. Every sample on these pages is raw HTTP you can run against the sandbox.

Start here

Two ways to integrate

AspectHosted checkout (recommended)Direct Payments API
Card dataCollected on the Meem-hosted page; never reaches your server.You send a card token server-to-server.
HowPOST /api/v1/checkout/sessions → redirect to checkoutUrl → read paymentId and status on return.POST /api/v1/payments with cardToken.
RecoveryAvailable: after a conclusive decline the customer can choose another card or method.Not covered: server-to-server payments don't get the recovery page.
After paymentSame lifecycle (capture, void, refund, status) and the same webhooks.Same lifecycle and webhooks.

Payment links sit on top of hosted checkout: a link opens a checkout session for the customer. See Payment links.

Key concepts

ConceptWhat it means for your integration
Merchant and sub-accountYour API credentials belong to one merchant. Every request is scoped to it; another merchant's resources return 404. A parent merchant can act for its own sub-account with X-Merchant-Context.
Gateway accountYour contract with a PSP, stored per merchant and per environment (Sandbox or Production) with its own credentials. Meem never moves funds; your PSP does.
WorkflowA published routing graph that picks the gateway account and the failover plan for each payment. You can name one with workflowId or let triggers resolve it. See Workflow selection.
Payment and attemptsA payment has one lifecycle status and one or more gateway attempts (failover creates a new attempt, never a second charge while an outcome is unknown).
EnvironmentSandbox and Production never fall back to each other. A payment runs only on accounts of its environment.

Raw HTTP, no SDKs (yet)

Meem doesn't publish client libraries or native mobile SDKs today. The API is plain JSON over HTTPS, so every example uses what you already have: cURL, C# HttpClient, fetch in JavaScript and TypeScript, and Python requests.

  • REST API under /api/v1 with an OpenAPI (Swagger) document

    Available
  • Hosted checkout and payment links (EN/AR, RTL)

    Available
  • Hosted fields (card iframes on your own page)

    Sandbox only today; production card capture needs PSP tokenization.

    Sandbox
  • Client libraries and native mobile SDKs

    Planned

Sandbox first

The sandbox runs the real orchestration engine against two built-in mock gateways, Mock 1 and Mock 2. Test card numbers drive approvals, declines, timeouts, failover and 3-D Secure, so you can exercise every branch before connecting a PSP. See Sandbox and testing.

Build a reliable integration

Documentation reflects the platform as verified on 3 December 2026. Placeholder hosts and credentials are used throughout; your real sandbox host and keys are provided at onboarding.