Financial APIs Designed
for Modern Development Teams

Embed multi-currency account, bulk payment, and smart reconciliation capabilities into your core business system with just a few lines of code. We provide the clearest documentation and most modern aggregated interfaces for developers.

Node.js Python Go Java PHP
Developer Experience

Elegant RESTful Architecture Design

Say goodbye to complex XML and SOAP. Our API uses standard JSON format, predictable resource URLs, and clear error handling based on HTTP status codes.

  • Comprehensive API documentation and Postman Collection
  • Fully isolated Sandbox environment for safely testing all features
  • Multi-language official SDK for rapid integration
Node.js
// Create a cross-border payment transfer
const mothpay = require('mothpay')('sk_test_12345');

const payment = await mothpay.payments.create({
  amount: 500000, // 5,000.00
  currency: 'USD',
  destination_account: 'acc_8f99e2b1',
  purpose_code: 'SERVICES',
  metadata: {
    order_id: 'ORD-948123'
  }
});

console.log(payment.status); // 'processing'
Event Driven

Real-time Webhook Event Push

No need for repeated polling to check status. When your account receives a new incoming payment or your payment has reached the recipient's account, we immediately push event notifications to your server.

  • Real-time notifications for payment status changes, account balance updates, and KYB review results
  • Signature Verification ensures message source security
  • Built-in automatic retry mechanism and event log retention
Webhook_Event_Payload
{
  "id": "evt_9831jd123",
  "type": "payment.succeeded",
  "created": 1698244102,
  "data": {
    "object": {
      "id": "pay_abc123",
      "amount": 500000,
      "currency": "USD",
      "status": "succeeded",
      "completed_at": 1698244101
    }
  }
}

Ready to Start Building?