Skip to main content

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 the method field in the request body.
Example Request
Example Response

Available Methods

Features

Accept payments via bank transfers, UPI, e-wallets, cash payments, card payments, and cryptocurrency. Multiple currencies supported (ARS, AUD, INR, LKR, MXN, TRY, UYU).
Receive instant notifications when payment status changes. Secure webhook delivery with SHA512 signatures and automatic retries.
All API operations go through one URL. The method field in the request body determines the action. Simplifies integration and reduces configuration overhead.
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 requires X-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)
Successful responses return HTTP 200. Error responses return HTTP 400 (or HTTP 404 for unknown methods). Always check the success field in the response body to determine if the request succeeded.

Need Help?

API Reference

Explore all available methods and parameters

Support

Contact our developer support team