Skip to main content
POST
/
partners
/
merchants
Create Merchant
curl --request POST \
  --url https://api-pacb-uat.eximpe.com/partners/merchants/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-Version: <api-key>' \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '
{
  "settlement_details": {
    "bank_account_number": "6789123450987654",
    "bank_account_name": "InnovateTech Solutions Private Limited",
    "bank_swift_code": "CHASINUS33XXX",
    "bank_name": "JPMorgan Chase Bank",
    "bank_branch_name": "Financial District Branch",
    "bank_address": "270 Park Avenue, New York",
    "bank_city": "New York",
    "bank_state": "NY",
    "bank_country": "United States",
    "bank_pincode": "10017",
    "routing_number": "021000021"
  },
  "company_details": {
    "legal_name": "InnovateTech Solutions Private Limited",
    "brand_name": "InnovateTech",
    "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": "Suite 1200, 101 California Street",
    "communication_city": "San Francisco",
    "communication_state": "CA",
    "communication_country": "United States",
    "communication_pincode": "94111",
    "same_as_registered_address": false,
    "registered_address": "1455 Market Street, Suite 1600",
    "registered_city": "San Francisco",
    "registered_state": "CA",
    "registered_country": "United States",
    "registered_pincode": "94103",
    "business_category": "E-commerce (physical goods & cross-border shipping)",
    "business_mode": "b2b",
    "hs_codes": [
      "85234910",
      "84715000"
    ],
    "description_of_products_and_services": "InnovateTech provides cutting-edge cloud computing solutions, artificial intelligence platforms, and enterprise software systems. We specialize in machine learning algorithms, data analytics, and scalable cloud infrastructure for Fortune 500 companies.",
    "agreement_details": "Master Service Agreement for Cloud Solutions dated 2024-03-15",
    "email": "[email protected]",
    "phone_number": "+919876543210"
  }
}
'
{
  "success": true,
  "message": "Sub-merchant created successfully",
  "data": {
    "id": "6182929449",
    "settlement_details": {
      "bank_account_number": "9876543210",
      "bank_account_name": "GlobalTech Solutions Inc.",
      "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-01-15T10:30:00.000000Z",
    "company_details": {
      "legal_name": "GlobalTech Solutions Inc.",
      "brand_name": "GlobalTech",
      "registration_number": "US-CORP-99887766",
      "international_org_type": "Private Limited Company",
      "tax_id": "94-1234567",
      "website": "https://www.globaltech.io",
      "monthly_avg_transaction_volume": "BETWEEN_20_K_AND_50_K",
      "communication_address": "500 Mission Street, Suite 2400",
      "communication_city": "San Francisco",
      "communication_state": "CA",
      "communication_country": "United States",
      "communication_pincode": "94105",
      "same_as_registered_address": false,
      "registered_address": "1600 Amphitheatre Parkway",
      "registered_city": "Mountain View",
      "registered_state": "CA",
      "registered_country": "United States",
      "registered_pincode": "94043",
      "business_category": "E-commerce (physical goods & cross-border shipping)",
      "business_mode": "b2b",
      "hs_codes": [
        "85234910",
        "84715000"
      ],
      "description_of_products_and_services": "GlobalTech provides cloud-native enterprise software, including AI-powered analytics platforms, CRM solutions, and infrastructure automation tools. We enable digital transformation for Fortune 500 companies through scalable and secure software systems.",
      "agreement_details": "Master Service Agreement dated 2024-01-10 with Global Clients",
      "email": "[email protected]",
      "phone_number": "+919876543210",
      "business_category_other": null
    },
    "last_updated_at": "2025-01-15T10:30:00.000000Z",
    "kyc_status": "PENDING"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.eximpe.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Create Merchant endpoint allows Payment Aggregators (PSPs) to programmatically onboard sub-merchants. It creates a new merchant account with company details, settlement bank information, and contact details. After creation, the sub-merchant status depends on the environment:
  • Production: Status is set to PENDING (requires approval)
  • Non-production: Status is set to APPROVED (auto-approved for testing)

Request Parameters

Required Parameters

  • company_details: Company registration, business information, and contact details
  • settlement_details: Bank account details for settlements

Parameter Definitions

Top-level

NameTypeRequiredDescriptionConstraints
company_detailsobjectYesCompany, business, and contact details.See Company Details
settlement_detailsobjectYesBank account details for settlements.See Settlement Details

Company Details

NameTypeRequiredDescriptionConstraints
emailstringYesContact email for the sub-merchant.RFC 5322 email format
phone_numberstringYesContact phone number with country code.E.164 format (e.g., +919876543210)
legal_namestringYesLegal name of the company.Max 255 chars
brand_namestringYesBrand/trade name.Max 255 chars
registration_numberstringYesCompany registration number.Alphanumeric with dashes
international_org_typestringYesType of organization.Enum: Private Limited Company, Public Limited Company, Limited Liability Company, Joint Stock Company, Free Zone Company / Entity, Partnership / LLP, Sole Proprietorship, Other
tax_idstringYesTax identification number.Alphanumeric with dashes
websitestringYesCompany website URL.Must include https:// prefix
monthly_avg_transaction_volumestringYesExpected monthly transaction volume.Enum: LESS_THAN_5_K, BETWEEN_5_K_AND_20_K, BETWEEN_20_K_AND_50_K, BETWEEN_50_K_AND_100_K, BETWEEN_100_K_AND_250_K, BETWEEN_250_K_AND_500_K, ABOVE_500_K
business_categorystringYesBusiness category (comma-separated for multiple).Enum: E-commerce (physical goods & cross-border shipping), Digital goods / software / downloads, SaaS / subscriptions / recurring billing, Services (delivered cross-border), Marketplace / platform (multiple sellers), Other
business_category_otherstringConditionallyDescription when category includes “Other”.Required if business_category includes Other
business_modestringYesMode of business.Enum: b2b, b2c, marketplace
description_of_products_and_servicesstringYesDetailed description of products/services.Max 1024 chars
mccstringNoMerchant Category Codes.Comma-separated 4-digit codes (e.g., 5411,5812)
hs_codesarrayNoHS codes for goods traded.Array of HS code strings
agreement_detailsstringNoAgreement details with the merchant.Max 1024 chars
registered_addressstringYesRegistered office address.Max 255 chars
registered_citystringYesRegistered office city.Max 255 chars
registered_statestringYesRegistered office state/province.Max 255 chars
registered_countrystringYesRegistered office country.Full country name (e.g., India, United States)
registered_pincodestringYesRegistered office postal code.Max 20 chars
same_as_registered_addressbooleanYesWhether communication address matches registered.true or false
communication_addressstringConditionallyCommunication address.Required if same_as_registered_address is false
communication_citystringConditionallyCommunication city.Required if same_as_registered_address is false
communication_statestringConditionallyCommunication state.Required if same_as_registered_address is false
communication_countrystringConditionallyCommunication country.Required if same_as_registered_address is false
communication_pincodestringConditionallyCommunication postal code.Required if same_as_registered_address is false
Notes:
  • When same_as_registered_address is true, communication address fields are auto-populated from registered address.
  • Multiple business categories can be comma-separated (e.g., "E-commerce (physical goods & cross-border shipping),SaaS / subscriptions / recurring billing").

Settlement Details

NameTypeRequiredDescriptionConstraints
bank_account_numberstringYesBank account number.Alphanumeric
bank_account_namestringYesName on the bank account.Max 255 chars
bank_swift_codestringYesSWIFT/BIC code.Standard SWIFT format
bank_namestringYesName of the bank.Max 255 chars
bank_branch_namestringYesBranch name.Max 255 chars
bank_addressstringYesBank branch address.Max 255 chars
bank_citystringYesBank city.Max 255 chars
bank_statestringYesBank state/province.Max 255 chars
bank_countrystringYesBank country.Full country name (e.g., India, United States)
bank_pincodestringYesBank postal code.Max 20 chars
routing_numberstringYesRouting/IFSC number.Alphanumeric

Examples

{
  "company_details": {
    "email": "[email protected]",
    "phone_number": "+919876543210",
    "legal_name": "Acme Technologies Pvt Ltd",
    "brand_name": "AcmeTech",
    "registration_number": "U72200MH2020PTC123456",
    "international_org_type": "Private Limited Company",
    "tax_id": "AACCA1234A",
    "website": "https://acmetech.com",
    "monthly_avg_transaction_volume": "BETWEEN_20_K_AND_50_K",
    "business_category": "Digital goods / software / downloads",
    "business_mode": "b2b",
    "description_of_products_and_services": "Cloud-based enterprise resource planning software for mid-market companies",
    "mcc": "5734",
    "registered_address": "Tower A, Techpark, Whitefield",
    "registered_city": "Bangalore",
    "registered_state": "Karnataka",
    "registered_country": "India",
    "registered_pincode": "560066",
    "same_as_registered_address": true,
    "communication_address": "Tower A, Techpark, Whitefield",
    "communication_city": "Bangalore",
    "communication_state": "Karnataka",
    "communication_country": "India",
    "communication_pincode": "560066"
  },
  "settlement_details": {
    "bank_account_number": "1234567890123456",
    "bank_account_name": "Acme Technologies Pvt Ltd",
    "bank_swift_code": "HDFCINBB",
    "bank_name": "HDFC Bank",
    "bank_branch_name": "Whitefield Branch",
    "bank_address": "100 Feet Road, Whitefield",
    "bank_city": "Bangalore",
    "bank_state": "Karnataka",
    "bank_country": "India",
    "bank_pincode": "560066",
    "routing_number": "HDFC0001234"
  }
}

Response Examples

{
  "success": true,
  "message": "Sub-merchant created successfully",
  "data": {
    "id": "6182929449",
    "company_details": {
      "legal_name": "Acme Technologies Pvt Ltd",
      "brand_name": "AcmeTech",
      "email": "[email protected]",
      "phone_number": "+919876543210",
      "registration_number": "U72200MH2020PTC123456",
      "international_org_type": "Private Limited Company",
      "tax_id": "AACCA1234A",
      "website": "https://acmetech.com",
      "monthly_avg_transaction_volume": "BETWEEN_20_K_AND_50_K",
      "communication_address": "Tower A, Techpark, Whitefield",
      "communication_city": "Bangalore",
      "communication_state": "Karnataka",
      "communication_country": "India",
      "communication_pincode": "560066",
      "same_as_registered_address": true,
      "registered_address": "Tower A, Techpark, Whitefield",
      "registered_city": "Bangalore",
      "registered_state": "Karnataka",
      "registered_country": "India",
      "registered_pincode": "560066",
      "business_category": "Digital goods / software / downloads",
      "business_category_other": null,
      "business_mode": "b2b",
      "hs_codes": [],
      "description_of_products_and_services": "Cloud-based enterprise resource planning software for mid-market companies",
      "agreement_details": null
    },
    "settlement_details": {
      "bank_account_number": "1234567890123456",
      "bank_account_name": "Acme Technologies Pvt Ltd",
      "bank_swift_code": "HDFCINBB",
      "bank_name": "HDFC Bank",
      "bank_branch_name": "Whitefield Branch",
      "bank_address": "100 Feet Road, Whitefield",
      "bank_city": "Bangalore",
      "bank_state": "Karnataka",
      "bank_country": "India",
      "bank_pincode": "560066",
      "routing_number": "HDFC0001234",
      "settlement_currency": "USD"
    },
    "kyc_status": "PENDING",
    "created_at": "2026-04-28T06:30:00.000000Z",
    "last_updated_at": "2026-04-28T06:30:00.000000Z"
  }
}

Error Codes

CodeMessageDescription
ERR_MERCHANT_001Validation errorRequest validation failed — check details for field-level errors

Implementation Notes

Merchant Status Flow

  • PENDING → Created, awaiting approval
  • IN_REVIEW → Under compliance review
  • APPROVED → Active, can process payments
  • CHANGES_REQUESTED → Additional information required
  • REJECTED → Application rejected

Country Names

Country fields (registered_country, communication_country, bank_country) must use the full country name (e.g., "India", "United States", "United Arab Emirates").

Phone Number Format

Phone numbers must include the country code in E.164 format (e.g., +919876543210, +14155551234).

Business Category

Multiple categories can be comma-separated. When "Other" is included, business_category_other must provide a description.

Authorizations

X-Client-ID
string
header
required

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.

X-Client-Secret
string
header
required

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.

X-API-Version
string
header
required

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.

Body

application/json

Merchant details to create

settlement_details
object
required
company_details
object
required

Response

Merchant created successfully.

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object
required