123hub Payment Gateway API
123hub is a modern payment gateway that enables merchants to accept payments, process payouts, and manage their financial operations through a single API endpoint using method-based routing.Quick Start
Get up and running with your first API call in minutes
Authentication
Learn how to authenticate with Application ID and SHA512 hash
Payments Guide
Create deposits, withdrawals, and check payment status
Webhooks
Receive real-time notifications about payment events
How It Works
All API interactions go through a single POST endpoint with method-based routing. Instead of different URLs for different operations, you specify themethod field in the request body.
Example Request
Example Response
Available Methods
Features
Multiple Payment Methods
Multiple Payment Methods
Accept payments via bank transfers, UPI, e-wallets, cash payments, card payments, and cryptocurrency. Multiple currencies supported (ARS, AUD, INR, LKR, MXN, TRY, UYU).
Real-time Webhooks
Real-time Webhooks
Receive instant notifications when payment status changes. Secure webhook delivery with SHA512 signatures and automatic retries.
Single Endpoint, Method-Based Routing
Single Endpoint, Method-Based Routing
All API operations go through one URL. The
method field in the request body determines the action. Simplifies integration and reduces configuration overhead.Unified Response Format
Unified Response Format
Every response follows the same envelope structure with
success, result, error, request_id, and processing_time fields. Successful responses return HTTP 200, errors return HTTP 400 (or 404 for unknown methods).Base URL
All API requests are made to:All requests use the
POST method. The same endpoint is used for both test and production environments. Your credentials determine which environment is active.Authentication
Every request requiresX-Data-Application-Id and X-Data-Hash. The timestamp
and nonce are an optional pair:
See the Authentication page for full details and code examples.
Supported Payment Methods
Supported Currencies
Response Format
All responses follow a consistent envelope:Success Response (HTTP 200)
Error Response (HTTP 400)
Need Help?
API Reference
Explore all available methods and parameters
Support
Contact our developer support team
