Get Merchant
curl --request GET \
--url https://api-staging.eximpe.com/partners/merchants/{merchant_id}/ \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://api-staging.eximpe.com/partners/merchants/{merchant_id}/"
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<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>'}
};
fetch('https://api-staging.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-staging.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-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-staging.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>")
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-staging.eximpe.com/partners/merchants/{merchant_id}/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.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>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Sub-merchant details retrieved successfully",
"data": {
"id": "3604346598",
"settlement_details": {
"bank_account_number": "1234567890",
"bank_account_name": "Example Company Ltd",
"bank_swift_code": "ABCDUS33",
"bank_name": "Example Bank",
"bank_branch_name": "Main Branch",
"bank_address": "456 Bank St",
"bank_city": "New York",
"bank_state": "NY",
"bank_country": "United States",
"bank_pincode": "10002",
"routing_number": "021000021",
"settlement_currency": "USD"
},
"created_at": "2025-06-19T18:06:05.523720Z",
"updated_at": "2025-06-19T18:06:05.523752Z",
"invoice_file": null,
"company_details": {
"legal_name": "shrine",
"brand_name": "TechSubshrine",
"registration_number": "REG123456",
"international_org_type": "PRIVATE_LIMITED",
"tax_id": "TAX789012",
"website": "https://techsub.example.com",
"monthly_avg_transaction_value": "50000.00",
"monthly_avg_transaction_volume": "100",
"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": "TECHNOLOGY",
"business_mode": "B2B",
"commodity": "Software Services",
"payment_terms": "NET_30",
"hs_codes": [
"84713010",
"85423100"
],
"category": "E-commerce",
"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",
"purpose_code": "P0101"
}
}
}{
"success": true,
"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-staging.eximpe.com/partners/merchants/{merchant_id}/ \
--header 'X-Client-ID: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://api-staging.eximpe.com/partners/merchants/{merchant_id}/"
headers = {
"X-Client-ID": "<api-key>",
"X-Client-Secret": "<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>'}
};
fetch('https://api-staging.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-staging.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-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-staging.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>")
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-staging.eximpe.com/partners/merchants/{merchant_id}/")
.header("X-Client-ID", "<api-key>")
.header("X-Client-Secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.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>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Sub-merchant details retrieved successfully",
"data": {
"id": "3604346598",
"settlement_details": {
"bank_account_number": "1234567890",
"bank_account_name": "Example Company Ltd",
"bank_swift_code": "ABCDUS33",
"bank_name": "Example Bank",
"bank_branch_name": "Main Branch",
"bank_address": "456 Bank St",
"bank_city": "New York",
"bank_state": "NY",
"bank_country": "United States",
"bank_pincode": "10002",
"routing_number": "021000021",
"settlement_currency": "USD"
},
"created_at": "2025-06-19T18:06:05.523720Z",
"updated_at": "2025-06-19T18:06:05.523752Z",
"invoice_file": null,
"company_details": {
"legal_name": "shrine",
"brand_name": "TechSubshrine",
"registration_number": "REG123456",
"international_org_type": "PRIVATE_LIMITED",
"tax_id": "TAX789012",
"website": "https://techsub.example.com",
"monthly_avg_transaction_value": "50000.00",
"monthly_avg_transaction_volume": "100",
"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": "TECHNOLOGY",
"business_mode": "B2B",
"commodity": "Software Services",
"payment_terms": "NET_30",
"hs_codes": [
"84713010",
"85423100"
],
"category": "E-commerce",
"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",
"purpose_code": "P0101"
}
}
}{
"success": true,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}