Developer

API-first. Webhook-driven.
Built for developers.

Everything in Moigate is accessible via a clean REST API. Subscribe to real-time webhooks, use idempotency keys safely, and build reliable payment flows from day one.

API Capabilities

Everything accessible via API

Full programmatic control over your payment gateway.

Payments API

  • Create / capture / refund / void
  • Idempotency support
  • Multi-provider abstraction
  • Unified state machine

Routing API

  • Deterministic rule evaluation
  • Inspect candidate providers
  • Routing transparency
  • Latency & decision metadata

Webhooks

  • Event-driven async delivery
  • Retry with exponential backoff
  • HMAC signature verification
  • Delivery tracking

Services APIs

  • BIN lookup
  • FX rates
  • Fraud scoring
  • Standalone REST endpoints

Audit & Compliance

  • Immutable audit logs
  • Trace per transaction
  • Exportable compliance data
API Reference

Create a payment

Request
1
2
3
4
5
6
7
8
9
10
11
12
13
14
curl -X POST https://api.moigate.com/v1/payments \
-H "Authorization: Bearer {API_KEY}" \
-H "Idempotency-Key: {UUID}" \
-H "Content-Type: application/json" \
-d '{
"amount": 5000,
"currency": "USD",
"payment_method": {
"type": "card",
"token": "tok_xxxxx"
},
"merchant_id": "mer_xxxxx",
"routing_group": "default"
}'
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"id": "pay_xxxxx",
"status": "succeeded",
"amount": 5000,
"currency": "USD",
"provider": "provider_a",
"routing": {
"rule_matched": "high_value_usd",
"candidates": ["provider_a", "provider_b"],
"selected": "provider_a",
"latency_ms": 18
},
"created_at": "2024-01-15T10:30:00Z"
}
Getting Started

Integrate in three steps

From zero to production-ready in minutes.

01

Get API credentials

Create an account, generate your API key and secret from the developer dashboard.

02

Configure providers

Connect your payment providers, define routing rules and failover behavior.

03

Go live

Switch from sandbox to production. Monitor via webhooks and the observability dashboard.

Ready to start?

Create your account today

Start with usage-based pricing. No setup fee. Pay only for what you process.