Get Merchant
curl --request GET \
--url https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/ \
--header 'X-API-Version: <api-key>' \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/"
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<api-key>",
"X-API-Version": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Client-ID': '<api-key>',
'X-Client-Secret': '<api-key>',
'X-API-Version': '<api-key>'
}
};
fetch('https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Version: <api-key>",
"X-Client-ID: <api-key>",
"X-Client-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-ID", "<api-key>")
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-API-Version", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.header("X-API-Version", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-ID"] = '<api-key>'
request["X-Client-Secret"] = '<api-key>'
request["X-API-Version"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Sub-merchant details retrieved successfully",
"data": {
"id": "3604346598",
"settlement_details": {
"bank_account_number": "9876543210123456",
"bank_account_name": "InnovateTech Solutions Private Limited",
"bank_swift_code": "CHASUS33XXX",
"bank_name": "JPMorgan Chase Bank",
"bank_branch_name": "Corporate Banking Division",
"bank_address": "270 Park Avenue",
"bank_city": "New York",
"bank_state": "NY",
"bank_country": "United States",
"bank_pincode": "10017",
"routing_number": "021000021",
"settlement_currency": "USD"
},
"created_at": "2025-06-19T18:06:05.523720Z",
"company_details": {
"legal_name": "InnovateTech Solutions Private Limited",
"brand_name": "InnovateTech Solutions",
"registration_number": "US-CORP-2024-IT789456",
"international_org_type": "Private Limited Company",
"tax_id": "94-8765432",
"website": "https://www.innovatetech.com",
"monthly_avg_transaction_volume": "BETWEEN_20_K_AND_50_K",
"communication_address": "123 Tech Street",
"communication_city": "San Francisco",
"communication_state": "CA",
"communication_country": "United States",
"communication_pincode": "94105",
"same_as_registered_address": true,
"registered_address": "123 Tech Street",
"registered_city": "San Francisco",
"registered_state": "CA",
"registered_country": "United States",
"registered_pincode": "94105",
"business_category": "E-commerce (physical goods & cross-border shipping)",
"business_mode": "b2b",
"hs_codes": [
"84713010",
"85423100"
],
"description_of_products_and_services": "We provide comprehensive IT solutions including software development, cloud migration, data analytics, and digital transformation services for enterprises. Our solutions help businesses streamline operations, improve efficiency, and accelerate digital adoption.",
"agreement_details": "global_company aggrement",
"email": "[email protected]",
"phone_number": "+919876543210",
"business_category_other": null
},
"last_updated_at": "2025-06-19T18:06:05.523752Z",
"kyc_status": "PENDING"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Merchant
Get Merchant
Retrieve the details of a specific merchant by its ID.
GET
/
partners
/
merchants
/
{merchant_id}
/
Get Merchant
curl --request GET \
--url https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/ \
--header 'X-API-Version: <api-key>' \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/"
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<api-key>",
"X-API-Version": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Client-ID': '<api-key>',
'X-Client-Secret': '<api-key>',
'X-API-Version': '<api-key>'
}
};
fetch('https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Version: <api-key>",
"X-Client-ID: <api-key>",
"X-Client-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-ID", "<api-key>")
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-API-Version", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.header("X-API-Version", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-ID"] = '<api-key>'
request["X-Client-Secret"] = '<api-key>'
request["X-API-Version"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Sub-merchant details retrieved successfully",
"data": {
"id": "3604346598",
"settlement_details": {
"bank_account_number": "9876543210123456",
"bank_account_name": "InnovateTech Solutions Private Limited",
"bank_swift_code": "CHASUS33XXX",
"bank_name": "JPMorgan Chase Bank",
"bank_branch_name": "Corporate Banking Division",
"bank_address": "270 Park Avenue",
"bank_city": "New York",
"bank_state": "NY",
"bank_country": "United States",
"bank_pincode": "10017",
"routing_number": "021000021",
"settlement_currency": "USD"
},
"created_at": "2025-06-19T18:06:05.523720Z",
"company_details": {
"legal_name": "InnovateTech Solutions Private Limited",
"brand_name": "InnovateTech Solutions",
"registration_number": "US-CORP-2024-IT789456",
"international_org_type": "Private Limited Company",
"tax_id": "94-8765432",
"website": "https://www.innovatetech.com",
"monthly_avg_transaction_volume": "BETWEEN_20_K_AND_50_K",
"communication_address": "123 Tech Street",
"communication_city": "San Francisco",
"communication_state": "CA",
"communication_country": "United States",
"communication_pincode": "94105",
"same_as_registered_address": true,
"registered_address": "123 Tech Street",
"registered_city": "San Francisco",
"registered_state": "CA",
"registered_country": "United States",
"registered_pincode": "94105",
"business_category": "E-commerce (physical goods & cross-border shipping)",
"business_mode": "b2b",
"hs_codes": [
"84713010",
"85423100"
],
"description_of_products_and_services": "We provide comprehensive IT solutions including software development, cloud migration, data analytics, and digital transformation services for enterprises. Our solutions help businesses streamline operations, improve efficiency, and accelerate digital adoption.",
"agreement_details": "global_company aggrement",
"email": "[email protected]",
"phone_number": "+919876543210",
"business_category_other": null
},
"last_updated_at": "2025-06-19T18:06:05.523752Z",
"kyc_status": "PENDING"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Overview
Retrieve the full details of a specific sub-merchant by its ID, including company information, settlement details, and current KYC status.Request Parameters
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| merchant_id | string | Yes | The unique identifier of the sub-merchant (e.g., 6692437779) |
Response
The response includes the same fields as Create Merchant and Update Merchant responses.| Name | Type | Description |
|---|---|---|
| id | string | Unique merchant identifier |
| company_details | object | Company registration, business, and contact details |
| settlement_details | object | Bank settlement details including settlement currency |
| kyc_status | string | Current KYC/onboarding status (PENDING, IN_REVIEW, CHANGES_REQUESTED, APPROVED, REJECTED) |
| created_at | string | ISO 8601 timestamp of creation |
| last_updated_at | string | ISO 8601 timestamp of last update |
Response Example
{
"success": true,
"message": "Sub-merchant details retrieved successfully",
"data": {
"id": "6692437779",
"company_details": {
"legal_name": "Acme Corp Pvt Ltd",
"brand_name": "Acme",
"email": "[email protected]",
"phone_number": "+919876543210",
"registration_number": "U12345MH2020PTC123456",
"international_org_type": "Private Limited Company",
"tax_id": "AACCA1234A",
"website": "https://acme.com",
"monthly_avg_transaction_volume": "BETWEEN_20_K_AND_50_K",
"communication_address": "123 Business Park",
"communication_city": "Mumbai",
"communication_state": "Maharashtra",
"communication_country": "India",
"communication_pincode": "400001",
"same_as_registered_address": true,
"registered_address": "123 Business Park",
"registered_city": "Mumbai",
"registered_state": "Maharashtra",
"registered_country": "India",
"registered_pincode": "400001",
"business_category": "Digital goods / software / downloads",
"business_category_other": null,
"business_mode": "b2b",
"hs_codes": ["84713010"],
"description_of_products_and_services": "Software development and IT consulting services",
"agreement_details": "Service agreement dated 2024-01-15"
},
"settlement_details": {
"bank_account_number": "1234567890",
"bank_account_name": "Acme Corp",
"bank_swift_code": "SBININBB",
"bank_name": "State Bank of India",
"bank_branch_name": "Main Branch",
"bank_address": "123 Bank Street",
"bank_city": "Mumbai",
"bank_state": "Maharashtra",
"bank_country": "India",
"bank_pincode": "400001",
"routing_number": "SBIN0001234",
"settlement_currency": "USD"
},
"kyc_status": "PENDING",
"created_at": "2026-04-28T07:54:33.468589Z",
"last_updated_at": "2026-04-28T09:39:10.007872Z"
}
}
{
"success": false,
"error": {
"code": "ERR_MERCHANT_001",
"message": "Validation error",
"details": "Not found."
}
}
Error Codes
| Code | Message | Description |
|---|---|---|
| ERR_MERCHANT_001 | Validation error | Merchant not found or access denied |
Authorizations
Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.
Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.
API Version - Specifies which version of the API to use (e.g., '1.X.X', '2.X.X', or '3.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.
Path Parameters
The ID of the merchant to retrieve.
⌘I