# Onboard a merchant Allows platforms to onboard a new merchant onto Glomo. Endpoint: POST /platform/merchants Version: 1.0.0 Security: JWT ## Request fields (application/json): - `name` (string, required) Name of the merchant business Example: "Child Business Name" - `address_line1` (string, required) Primary address line Example: "456 Commerce Street" - `address_line2` (string) Secondary address line (optional) Example: "Suite 101" - `city` (string, required) City name Example: "Mumbai" - `state` (string, required) State or province Example: "Maharashtra" - `pincode` (string, required) Postal/ZIP code Example: "400001" - `registration_number` (string, required) Business registration number Example: "REG123456" - `registration_country` (string, required) Country where the business is registered (ISO 3166-1 alpha-3) Example: "IND" - `entity_type` (string, required) Type of entity Enum: "individual", "business" - `category` (string, required) Merchant business category Enum: "Agricultural Services", "Contracted Services", "Transportation Services", "Telecommunications", "Utilities", "Retail and Goods", "Financial Services", "Business Services", "Professional Services", "Government Services" - `sub_category` (string, required) Merchant business sub-category (must be paired with correct category, check examples) Enum: "Veterinary Services", "Agricultural Cooperatives", "Horticultural and Landscaping Services", "General Contractors—Residential and Commercial", "Air Conditioning Heating and Plumbing Contractors", "Electrical Contractors", "Insulation Masonry Plastering Stonework and Tile Setting Contractors", "Carpentry Contractors", "Roofing and Siding Sheet Metal Work Contractors", "Concrete Work Contractors", "Contractors Special Trade—not elsewhere classified", "Miscellaneous Publishing and Printing", "Typesetting Plate Making and Related Services", "Sanitation Polishing and Specialty Cleaning Preparations", "Railroads—Freight", "Transportation—Suburban and Local Commuter Passenger including Ferries", "Passenger Railways", "Ambulance Services", "Limousines and Taxicabs", "Bus Lines", "Motor Freight Carriers Trucking—Local/Long Distance Moving and Storage Companies Local Delivery", "Courier Services—Air and Ground Freight Forwarders", "Public Warehousing—Farm Products Refrigerated Goods Household Goods Storage", "Cruise Lines", "Boat Leases and Boat Rentals", "Marinas Marine Service/Supplies", "Air Carriers Airlines—Not Elsewhere Classified", "Airports Airport Terminals Flying Fields", "Travel Agencies and Tour Operators", "Bridge and Road Fees Tolls", "Transportation Services—not elsewhere classified", "Telecommunication Equipment Including Telephone Sales", "Key-entry Telecom Merchant providing single local and long-distance phone calls using a central access number in a non-face-to-face environment using key entry", "Telecommunication Services including but not limited to prepaid phone services and recurring phone services", "Computer Network/Information Services", "Telegraph Services", "Money Transfer", "Cable Satellite and Other Pay Television and Radio Services", "Utilities—Electric Gas Heating Oil Sanitary Water", "Motor Vehicle Supplies and New Parts", "Office and Commercial Furniture", "Construction Materials—not elsewhere classified", "Office Photographic Photocopy and Microfilm Equipment", "Computers Computer Peripheral Equipment Software", "Commercial Equipment—not elsewhere classified", "Dental/Laboratory/Medical/Ophthalmic Hospital Equipment and Supplies", "Metal Service Centers and Offices", "Electrical Parts and Equipment", "Hardware Equipment and Supplies", "Plumbing and Heating Equipment", "Industrial Supplies—not elsewhere classified", "Precious Stones and Metals Watches and Jewelry", "Durable Goods—not elsewhere classified", "Stationery Office Supplies Printing and Writing Paper", "Drugs Drug Proprietors and Druggists Sundries", "Piece Goods Notions and Other Dry Goods", "Men's Women's and Children's Uniforms and Commercial Clothing", "Commercial Footwear", "Chemicals and Allied Products—not elsewhere classified", "Petroleum and Petroleum Products", "Books Periodicals and Newspapers", "Florists Supplies Nursery Stock and Flowers", "Paints Varnishes and Supplies", "Nondurable Goods—not elsewhere classified", "Home Supply Warehouse Stores", "Building Materials Lumber Stores", "Glass Paint Wallpaper Stores", "Hardware Stores", "Lawn and Garden Supply Stores", "Mobile Home Dealers", "Wholesale Clubs", "Duty Free Stores", "Discount Stores", "Department Stores", "Variety Stores", "Miscellaneous General Merchandise Stores", "Grocery Stores Supermarkets", "Freezer Locker Meat Provisioners", "Candy Nut Confectionery Stores", "Dairy Products Stores", "Bakeries", "Miscellaneous Food Stores—Convenience Stores Markets Specialty Stores", "Automobile and Truck Dealers—Sales Service Repairs Parts and Leasing", "Automobile and Truck Dealers—(Used Only)—Sales", "Auto Store Home Supply Stores", "Automotive Tire Stores", "Automotive Parts Accessories Stores", "Service Stations (with or without Ancillary Services)", "Fuel Dispenser Automated", "Boat Dealers", "Camper Dealers Recreational and Utility Trailers", "Motorcycle Shops and Dealers", "Motor Home Dealers", "Snowmobile Dealers", "Miscellaneous Automotive Aircraft and Farm Equipment Dealers—not elsewhere classified", "Men's and Boys' Clothing and Accessories Stores", "Women's Ready to Wear Stores", "Women's Accessory and Specialty Stores", "Children's and Infants' Wear Stores", "Family Clothing Stores", "Sports Apparel Riding Apparel Stores", "Shoe Stores", "Furriers and Fur Shops", "Men's and Women's Clothing Stores", "Alterations Mending Seamstresses Tailors", "Wig and Toupee Shops", "Accessory and Apparel Stores—Miscellaneous", "Equipment Furniture and Home Furnishings Stores (except Appliances)", "Floor Covering Stores", "Drapery Upholstery and Window Coverings Stores", "Fireplace Fireplace Screens and Accessories Stores", "Miscellaneous House Furnishing Specialty Shops", "Household Appliance Stores", "Electronic Sales", "Music Stores—Musical Instruments Pianos Sheet Music", "Computer Software Stores", "Record Shops", "Caterers", "Eating Places Restaurants", "Bars Cocktail Lounges Discotheques Nightclubs and Taverns—Drinking Places (Alcoholic Beverages)", "Fast Food Restaurants", "Digital Goods—Audiovisual Media Including Books Movies and Music", "Digital Goods—Games", "Digital Goods—Software Applications (Excluding Games)", "Digital Goods—Multi-Category", "Drug Stores Pharmacies", "Package Stores Beer Wine and Liquor", "Second Hand Stores Used Merchandise Stores", "Antique Shops—Sales Repairs and Restoration Services", "Pawn Shops", "Salvage and Wrecking Yards", "Antique Reproduction Stores", "Bicycle Shops—Sales and Service", "Sporting Goods Stores", "Book Stores", "Office School Supply and Stationery Stores", "Clock Jewelry Watch and Silverware Store", "Game Toy and Hobby Shops", "Camera and Photographic Supply Stores", "Card Gift Novelty and Souvenir Shops", "Leather Goods and Luggage Stores", "Fabric Needlework Piece Goods and Sewing Stores", "Crystal and Glassware Stores", "Direct Marketing—Insurance Services", "Direct Marketing—Travel-Related Arrangement Services", "Door-to-Door Sales", "Direct Marketing—Catalog Merchants", "Direct Marketing—Combination Catalog and Retail Merchants", "Direct Marketing—Outbound Telemarketing Merchants", "Direct Marketing—Inbound Telemarketing Merchants", "Direct Marketing—Continuity/Subscription Merchants", "Direct Marketing—Other Direct Marketers—not elsewhere classified", "Artist Supply Stores Craft Shops", "Art Dealers and Galleries", "Stamp and Coin Stores—Philatelic and Numismatic Supplies", "Religious Goods Stores", "Hearing Aids—Sales Service Supply Stores", "Orthopedic Goods—Artificial Limb Stores", "Cosmetic Stores", "Typewriter Stores—Rentals Sales Service", "Fuel Dealers—Coal Fuel Oil Liquefied Petroleum Wood", "Florists", "Cigar Stores and Stands", "News Dealers and Newsstands", "Pet Shops—Pet Food and Supplies", "Swimming Pools—Sales and Supplies", "Electric Razor Stores—Sales and Service", "Tent and Awning Shops", "Miscellaneous and Specialty Retail Stores", "Manual Cash Disbursements—Customer Financial Institution", "Automated Cash Disbursements—Customer Financial Institution", "Merchandise and Services—Customer Financial Institution", "Quasi Cash—Customer Financial Institution", "Quasi Cash—Merchant", "Securities—Brokers/Dealers", "Insurance Sales Underwriting and Premiums", "Real Estate Agents and Managers—Rentals", "Payment Transaction—Customer Financial Institution", "Payment Transaction—Merchant", "MoneySend Intracountry", "MoneySend Intercountry", "MoneySend Funding", "POI Funding Transactions (Excluding MoneySend)", "Lodging—Hotels Motels Resorts—not elsewhere classified", "Timeshares", "Recreational and Sporting Camps", "Campgrounds and Trailer Parks", "Cleaning Garment and Laundry Services", "Laundry Services—Family and Commercial", "Dry Cleaners", "Carpet and Upholstery Cleaning", "Photographic Studios", "Barber and Beauty Shops", "Hat Cleaning Shops Shoe Repair Shops Shoe Shine Parlors", "Funeral Service and Crematories", "Dating Services", "Tax Preparation Service", "Debt Marriage Personal—Counseling Service", "Buying/Shopping Clubs Services", "Clothing Rental—Costumes Uniforms and Formal Wear", "Massage Parlors", "Health and Beauty Spas", "Other Services—not elsewhere classified", "Advertising Services", "Consumer Credit Reporting Agencies", "Commercial Art Graphics Photography", "Quick Copy Reproduction and Blueprinting Services", "Stenographic and Secretarial Support Services", "Exterminating and Disinfecting Services", "Cleaning and Maintenance Janitorial Services", "Employment Agencies Temporary Help Services", "Computer Programming Data Processing and Integrated Systems Design Services", "Information Retrieval Services", "Computer Maintenance Repair and Services—not elsewhere classified", "Consulting Management and Public Relations Services", "Detective Agencies Protective Agencies Security Services including Armored Cars Guard Dogs", "Equipment Rental and Leasing Services Furniture Rental Tool Rental", "Photo Developing Photofinishing Laboratories", "Business Services—not elsewhere classified", "Automobile Rental Agency—not elsewhere classified", "Truck Rental", "Motor Home and Recreational Vehicle Rental", "Automobile Parking Lots and Garages", "Automotive Body Repair Shops", "Tire Retreading and Repair Shops", "Automotive Paint Shops", "Automotive Service Shops", "Car Washes", "Towing Services", "Electronic Repair Shops", "Air Conditioning and Refrigeration Repair Shops", "Appliance Repair Shops Electrical and Small", "Clock Jewelry and Watch Repair Shops", "Furniture—Reupholstery and Repair Refinishing", "Welding Repair", "Miscellaneous Repair Shops and Related Services", "Government Owned Lottery (U.S. Region Only)", "Internet Gambling (U.S. Region Only)", "Government Licensed Horse/Dog Racing (U.S. Region Only)", "Motion Picture and Video Tape Production and Distribution", "Motion Picture Theaters", "Video Entertainment Rental Stores", "Dance Halls Schools and Studios", "Theatrical Producers (except Motion Pictures) Ticket Agencies", "Bands Orchestras and Miscellaneous Entertainers—not elsewhere classified", "Pool and Billiard Establishments", "Bowling Alleys", "Athletic Fields Commercial Sports Professional Sports Clubs Sports Promoters", "Tourist Attractions and Exhibits", "Golf Courses Public", "Video Amusement Game Supplies", "Video Game Arcades/Establishments", "Gambling Transactions", "Amusement Parks Carnivals Circuses Fortune Tellers", "Clubs—Country Clubs Membership (Athletic Recreation Sports) Private Golf Courses", "Aquariums Dolphinariums Zoos and Seaquariums", "Recreation Services—not elsewhere classified", "Doctors—not elsewhere classified", "Dentists Orthodontists", "Osteopathic Physicians", "Chiropractors", "Optometrists Ophthalmologists", "Opticians Optical Goods and Eyeglasses", "Chiropodists Podiatrists", "Nursing and Personal Care Facilities", "Hospitals", "Dental and Medical Laboratories", "Health Practitioners Medical Services—not elsewhere classified", "Attorneys Legal Services", "Schools Elementary and Secondary", "Colleges Universities Professional Schools and Junior Colleges", "Schools Correspondence", "Schools Business and Secretarial", "Schools Trade and Vocational", "Schools and Educational Services—not elsewhere classified", "Child Care Services", "Organizations Charitable and Social Service", "Associations—Civic Social and Fraternal", "Organizations Political", "Organizations Religious", "Automobile Associations", "Organizations Membership—not elsewhere classified", "Testing Laboratories (Non-Medical)", "Architectural Engineering and Surveying Services", "Accounting Auditing and Bookkeeping Services", "Professional Services—not elsewhere classified", "Court Costs including Alimony and Child Support", "Fines", "Bail and Bond Payments", "Tax Payments", "Government Services—not elsewhere classified", "Postal Services—Government Only", "Intra-Government Purchases—Government Only", "Government-owned Lottery (Specific Countries)" - `operation_countries` (array, required) List of countries where the merchant operates Example: ["IND","USA"] - `date_of_birth` (string) Date of birth. Required only when entity_type is individual. Format YYYY-MM-DD Example: "2001-08-04" - `gender` (string) Gender. Required only when entity_type is individual. Enum: "male", "female", "undefined" ## Response 201 fields (application/json): - `message` (string) Success message Example: "Merchant created successfully!" - `data` (object) - `data.owner_merchant_id` (string, required) The ID of the platform/owner merchant Example: "merch_68511919RVuf6" - `data.merchant_id` (string, required) Unique identifier for the merchant Example: "merch_68c777fcOOMpl" - `data.status` (string, required) Status of the merchant onboarding Enum: "success", "pending", "failed" - `data.name` (string, required) Name of the merchant Example: "John Doe" - `data.category` (string) Business category Example: "Agricultural Services" - `data.entity_type` (string) Type of merchant entity Enum: "individual", "business" - `data.sub_category` (string) Business sub-category (must be paired with correct category) Example: "Veterinary Services" - `data.gender` (string) Gender (only required for individual entity_type) Enum: "male", "female", "undefined" - `data.date_of_birth` (string) Date of birth (only required for individual entity_type) Example: "2001-08-04" - `data.registration_number` (string, required) Business registration number or individual ID Example: "REG123456" - `data.registration_country` (string, required) Country where the merchant is registered (ISO 3166-1 alpha-3) Example: "IND" - `data.address` (object, required) Merchant address - `data.address.address_line1` (string, required) Primary address line Example: "123 Main St" - `data.address.address_line2` (string) Secondary address line (optional) - `data.address.city` (string, required) City name Example: "Bangalore" - `data.address.state` (string, required) State or province Example: "Karnataka" - `data.address.pincode` (string, required) Postal/ZIP code Example: "560060" - `data.address.country` (string, required) Country code (ISO 3166-1 alpha-3) Example: "IND" - `data.operation_countries` (array, required) List of countries where the merchant operates Example: ["IND"] - `data.created_at` (string, required) Timestamp when the merchant was created Example: "2025-10-07T06:11:47Z" - `data.updated_at` (string, required) Timestamp when the merchant was last updated Example: "2025-10-07T06:11:47Z" - `data.jwt_token` (string, required) JWT token for the merchant Example: "child_merchant_JWT" - `data.public_key` (string) public key for the merchant Example: "live_6889e287VfqrPVPg" ## Response 400 fields (application/json): - `error` (string) Example: "Bad Request" - `message` (string) Example: "Invalid request data" ## Response 401 fields (application/json): - `error` (string) Example: "Unauthorized" - `message` (string) Example: "Invalid or missing authentication token"