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, PIX, e-wallets, QR codes, mobile money, cash and cards. Multiple currencies supported (ARS, BIF, BOB, BRL, CLP, COP, ECS, INR, KRW, MXN, PEN, PKR, THB, TRY, UYU, VES).
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 or error, request_id, and processing_time fields. Successful responses return HTTP 200; most errors return HTTP 400, and a few use 403, 404, 409, 429 or 5xx (see Error Codes).

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.

Countries and Payment Methods

123hub accepts deposits and sends withdrawals in 16 countries: India, Pakistan, Thailand, South Korea, Turkey, Brazil, Mexico, Argentina, Colombia, Peru, Chile, Ecuador, Uruguay, Venezuela, Bolivia and Burundi.

Find your country

Each country page has its methods, required fields, ready-to-run requests and real response examples — nothing about other markets.
The method of a payment is defined by the service_id your account manager issues; you never send a method code. Amounts are integers in minor units of the currency.

Response Format

All responses follow a consistent envelope:
Success Response (HTTP 200)
Error Response (HTTP 400)
Successful responses return HTTP 200. Most error responses return HTTP 400; some use 403, 404, 409, 429 or 5xx — see Error Codes. 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