Interactive Simulator

Test your webhooks and frontend integration without writing a single line of code.

The SamaPay Simulator is a powerful tool designed to mirror real-world payment behaviors accurately. It allows you to fire test events to your local or staging server to ensure your business logic is robust.

Simulation Strategies

StrategyPhone NumberExpected OutcomeLogic to Verify
Happy Path2207000000successFulfillment & Success Email
Edge Case2206000001insufficient_fundsUI Error Messaging
UX Test2206000002expiredAbandoned Cart Recovery
SamaPay API Playground

Redirects real POST requests to your local/production server.

API Response

Hit execute to see response

The Bridge: Webhook Stream
Waiting for successful transaction...

How it works

  1. Select Event: Choose from payment.success, payment.failed, or payout.completed.
  2. Customize Payload: Modify the JSON body to include your specific order_id or metadata.
  3. Fire: Click "Dispatch Event" to send a signed HMAC request to your configured endpoint.
  4. Debug: View the full request/response cycle in the live log below the simulator.

You can use tools like ngrok to expose your local development server to the SamaPay Simulator.

GH
TechHive SamaPay Docs
Last updated Mar 2026