# Administrative & Support Services Source: https://docs.hifi.com/references/business-industries/administrative-support-services Reference table of administrative and support services industry codes and classifications. | Industry | Code | | :- | :- | | Office Administrative Services | 561110 | | Facilities Support Services | 561210 | | Employment Placement Agencies | 561311 | | Executive Search Services | 561312 | | Temporary Help Services | 561320 | | Professional Employer Organizations | 561330 | | Document Preparation Services | 561410 | | Telephone Answering Services | 561421 | | Telemarketing Bureaus And Other Contact Centers | 561422 | | Private Mail Centers | 561431 | | Other Business Service Centers Including Copy Shops | 561439 | | Collection Agencies | 561440 | | Credit Bureaus | 561450 | | Repossession Services | 561491 | | Court Reporting And Stenotype Services | 561492 | | All Other Business Support Services | 561499 | | Travel Agencies | 561510 | | Tour Operators | 561520 | | Convention And Visitors Bureaus | 561591 | | All Other Travel Arrangement And Reservation Services | 561599 | | Investigation And Personal Background Check Services | 561611 | | Security Guards And Patrol Services | 561612 | | Armored Car Services | 561613 | | Security Systems Services Except Locksmiths | 561621 | | Locksmiths | 561622 | | Exterminating And Pest Control Services | 561710 | | Janitorial Services | 561720 | | Landscaping Services | 561730 | | Carpet And Upholstery Cleaning Services | 561740 | | Other Services To Buildings And Dwellings | 561790 | | Packaging And Labeling Services | 561910 | | Convention And Trade Show Organizers | 561920 | | All Other Support Services | 561990 | | Solid Waste Collection | 562111 | | Hazardous Waste Collection | 562112 | | Other Waste Collection | 562119 | | Hazardous Waste Treatment And Disposal | 562211 | | Solid Waste Landfill | 562212 | | Solid Waste Combustors And Incinerators | 562213 | | Other Nonhazardous Waste Treatment And Disposal | 562219 | | Remediation Services | 562910 | | Materials Recovery Facilities | 562920 | | Septic Tank And Related Services | 562991 | | All Other Miscellaneous Waste Management Services | 562998 | # Arts, Recreation & Entertainment Source: https://docs.hifi.com/references/business-industries/arts-recreation-entertainment Reference table of arts, recreation and entertainment industry codes and classifications. | Industry | Code | | :- | :- | | Theater Companies And Dinner Theaters | 711110 | | Dance Companies | 711120 | | Musical Groups And Artists | 711130 | | Other Performing Arts Companies | 711190 | | Sports Teams And Clubs | 711211 | | Racetracks | 711212 | | Other Spectator Sports | 711219 | | Promoters Of Performing Arts Sports And Similar Events With Facilities | 711310 | | Promoters Of Performing Arts Sports And Similar Events Without Facilities | 711320 | | Agents And Managers For Artists Athletes Entertainers And Other Public Figures | 711410 | | Independent Artists Writers And Performers | 711510 | | Museums | 712110 | | Historical Sites | 712120 | | Zoos And Botanical Gardens | 712130 | | Nature Parks And Other Similar Institutions | 712190 | | Amusement And Theme Parks | 713110 | | Amusement Arcades | 713120 | | Casinos Except Casino Hotels | 713210 | | Other Gambling Industries | 713290 | | Golf Courses And Country Clubs | 713910 | | Skiing Facilities | 713920 | | Marinas | 713930 | | Fitness And Recreational Sports Centers | 713940 | | Bowling Centers | 713950 | | All Other Amusement And Recreation Industries | 713990 | # Construction Source: https://docs.hifi.com/references/business-industries/construction Reference table of construction industry codes and classifications. | Industry | Code | | :- | :- | | New Single Family Housing Construction Except For Sale Builders | 236115 | | New Multifamily Housing Construction Except For Sale Builders | 236116 | | New Housing For Sale Builders | 236117 | | Residential Remodelers | 236118 | | Industrial Building Construction | 236210 | | Commercial And Institutional Building Construction | 236220 | | Water And Sewer Line And Related Structures Construction | 237110 | | Oil And Gas Pipeline And Related Structures Construction | 237120 | | Power And Communication Line And Related Structures Construction | 237130 | | Land Subdivision | 237210 | | Highway Street And Bridge Construction | 237310 | | Other Heavy And Civil Engineering Construction | 237990 | | Residential Poured Concrete Foundation And Structure Contractors | 238111 | | Non Residential Poured Concrete Foundation And Structure Contractors | 238112 | | Residential Structural Steel And Precast Concrete Contractors | 238121 | | Non Residential Structural Steel And Precast Concrete Contractors | 238122 | | Residential Framing Contractors | 238131 | | Non Residential Framing Contractors | 238132 | | Residential Masonry Contractors | 238141 | | Non Residential Masonry Contractors | 238142 | | Residential Glass And Glazing Contractors | 238151 | | Non Residential Glass And Glazing Contractors | 238152 | | Residential Roofing Contractors | 238161 | | Non Residential Roofing Contractors | 238162 | | Residential Siding Contractors | 238171 | | Non Residential Siding Contractors | 238172 | | Residential Other Foundation Structure And Building Exterior Contractors | 238191 | | Non Residential Other Foundation Structure And Building Exterior Contractors | 238192 | | Residential Electrical Contractors And Other Wiring Installation Contractors | 238211 | | Non Residential Electrical Contractors And Other Wiring Installation Contractors | 238212 | | Residential Plumbing Heating And Air Conditioning Contractors | 238221 | | Non Residential Plumbing Heating And Air Conditioning Contractors | 238222 | | Residential Other Building Equipment Contractors | 238291 | | Non Residential Other Building Equipment Contractors | 238292 | | Residential Drywall And Insulation Contractors | 238311 | | Non Residential Drywall And Insulation Contractors | 238312 | | Residential Painting And Wall Covering Contractors | 238321 | | Non Residential Painting And Wall Covering Contractors | 238322 | | Residential Flooring Contractors | 238331 | | Non Residential Flooring Contractors | 238332 | | Residential Tile And Terrazzo Contractors | 238341 | | Non Residential Tile And Terrazzo Contractors | 238342 | | Residential Finish Carpentry Contractors | 238351 | | Non Residential Finish Carpentry Contractors | 238352 | | Residential Other Building Finishing Contractors | 238391 | | Non Residential Other Building Finishing Contractors | 238392 | | Residential Site Preparation Contractors | 238911 | | Non Residential Site Preparation Contractors | 238912 | | Residential All Other Specialty Trade Contractors | 238991 | | Non Residential All Other Specialty Trade Contractors | 238992 | # Education Source: https://docs.hifi.com/references/business-industries/education Reference table of education industry codes and classifications. | Industry | Code | | :- | :- | | Elementary And Secondary Schools | 611110 | | Junior Colleges | 611210 | | Colleges Universities And Professional Schools | 611310 | | Business And Secretarial Schools | 611410 | | Computer Training | 611420 | | Professional And Management Development Training | 611430 | | Cosmetology And Barber Schools | 611511 | | Flight Training | 611512 | | Apprenticeship Training | 611513 | | Other Technical And Trade Schools | 611519 | | Fine Arts Schools | 611610 | | Sports And Recreation Instruction | 611620 | | Language Schools | 611630 | | Exam Preparation And Tutoring | 611691 | | Automobile Driving Schools | 611692 | | All Other Miscellaneous Schools And Instruction | 611699 | | Educational Support Services | 611710 | # Finance & Insurance Source: https://docs.hifi.com/references/business-industries/finance-insurance Reference table of finance and insurance industry codes and classifications. | Industry | Code | | :- | :- | | Monetary Authorities Central Bank | 521110 | | Commercial Banking | 522110 | | Credit Unions | 522130 | | Savings Institutions And Other Depository Credit Intermediation | 522180 | | Credit Card Issuing | 522210 | | Sales Financing | 522220 | | Consumer Lending | 522291 | | Real Estate Credit | 522292 | | All Other Nondepository Credit Intermediation | 522298 | | International Secondary Market And All Other Nondepository Credit Intermediation | 522299 | | Mortgage And Nonmortgage Loan Brokers | 522310 | | Financial Transactions Processing Reserve And Clearinghouse Activities | 522320 | | Other Activities Related To Credit Intermediation | 522390 | | Investment Banking And Securities Intermediation | 523150 | | Commodity Contracts Intermediation | 523160 | | Securities And Commodity Exchanges | 523210 | | Miscellaneous Intermediation | 523910 | | Portfolio Management And Investment Advice | 523940 | | Trust Fiduciary And Custody Activities | 523991 | | Miscellaneous Financial Investment Activities | 523999 | | Direct Life Insurance Carriers | 524113 | | Direct Health And Medical Insurance Carriers | 524114 | | Direct Property And Casualty Insurance Carriers | 524126 | | Direct Title Insurance Carriers | 524127 | | Other Direct Insurance Except Life Health And Medical Carriers | 524128 | | Reinsurance Carriers | 524130 | | Insurance Agencies And Brokerages | 524210 | | Claims Adjusting | 524291 | | Pharmacy Benefit Management And Other Third Party Administration Of Insurance And Pension Funds | 524292 | | All Other Insurance Related Activities | 524298 | | Pension Funds | 525110 | | Health And Welfare Funds | 525120 | | Other Insurance Funds | 525190 | | Open End Investment Funds | 525910 | | Trusts Estates And Agency Accounts | 525920 | | Other Financial Vehicles | 525990 | # Health & Social Services Source: https://docs.hifi.com/references/business-industries/health-social-services Reference table of health and social services industry codes and classifications. | Industry | Code | | :- | :- | | Offices Of Physicians Except Mental Health Specialists | 621111 | | Offices Of Physicians Mental Health Specialists | 621112 | | Offices Of Dentists | 621210 | | Offices Of Chiropractors | 621310 | | Offices Of Optometrists | 621320 | | Offices Of Mental Health Practitioners Except Physicians | 621330 | | Offices Of Physical Occupational And Speech Therapists And Audiologists | 621340 | | Offices Of Podiatrists | 621391 | | Offices Of All Other Miscellaneous Health Practitioners | 621399 | | Family Planning Centers | 621410 | | Outpatient Mental Health And Substance Abuse Centers | 621420 | | HMO Medical Centers | 621491 | | Kidney Dialysis Centers | 621492 | | Freestanding Ambulatory Surgical And Emergency Centers | 621493 | | All Other Outpatient Care Centers | 621498 | | Medical Laboratories | 621511 | | Diagnostic Imaging Centers | 621512 | | Home Health Care Services | 621610 | | Ambulance Services | 621910 | | Blood And Organ Banks | 621991 | | All Other Miscellaneous Ambulatory Health Care Services | 621999 | | General Medical And Surgical Hospitals | 622110 | | Psychiatric And Substance Abuse Hospitals | 622210 | | Specialty Except Psychiatric And Substance Abuse Hospitals | 622310 | | Nursing Care Facilities Skilled Nursing Facilities | 623110 | | Residential Intellectual And Developmental Disability Facilities | 623210 | | Residential Mental Health And Substance Abuse Facilities | 623220 | | Continuing Care Retirement Communities | 623311 | | Assisted Living Facilities For The Elderly | 623312 | | Other Residential Care Facilities | 623990 | | Child And Youth Services | 624110 | | Services For The Elderly And Persons With Disabilities | 624120 | | Other Individual And Family Services | 624190 | | Community Food Services | 624210 | | Temporary Shelters | 624221 | | Other Community Housing Services | 624229 | | Emergency And Other Relief Services | 624230 | | Vocational Rehabilitation Services | 624310 | | Child Care Services | 624410 | # Hospitality & Food Source: https://docs.hifi.com/references/business-industries/hospitality-food Reference table of hospitality and food industry codes and classifications. | Industry | Code | | :- | :- | | Hotels Except Casino Hotels And Motels | 721110 | | Casino Hotels | 721120 | | Bedand Breakfast Inns | 721191 | | All Other Traveler Accommodation | 721199 | | RV Recreational Vehicle Parks And Campgrounds | 721211 | | Recreational And Vacation Camps Except Campgrounds | 721214 | | Rooming And Boarding Houses Dormitories And Workers Camps | 721310 | | Food Service Contractors | 722310 | | Caterers | 722320 | | Mobile Food Services | 722330 | | Drinking Places Alcoholic Beverages | 722410 | | Full Service Restaurants | 722511 | | Limited Service Restaurants | 722513 | | Cafeterias Grill Buffets And Buffets | 722514 | | Snack And Nonalcoholic Beverage Bars | 722515 | # Information & Media Source: https://docs.hifi.com/references/business-industries/information-media Reference table of information and media industry codes and classifications. | Industry | Code | | :- | :- | | Motion Picture And Video Production | 512110 | | Motion Picture And Video Distribution | 512120 | | Motion Picture Theaters Except Drive Ins | 512131 | | Drive In Motion Picture Theaters | 512132 | | Teleproduction And Other Postproduction Services | 512191 | | Other Motion Picture And Video Industries | 512199 | | Music Publishers | 512230 | | Sound Recording Studios | 512240 | | Record Production And Distribution | 512250 | | Other Sound Recording Industries | 512290 | | Newspaper Publishers | 513110 | | Periodical Publishers | 513120 | | Book Publishers | 513130 | | Directory And Mailing List Publishers | 513140 | | Greeting Card Publishers | 513191 | | All Other Publishers | 513199 | | Software Publishers | 513210 | | Cable And Other Subscription Programming | 515210 | | Radio Broadcasting Stations | 516110 | | Television Broadcasting Stations | 516120 | | Media Streaming Distribution Services Social Networks And Other Media Networks And Content Providers | 516210 | | Wired Telecommunications Carriers | 517111 | | Wireless Telecommunications Carriers Except Satellite | 517112 | | Telecommunications Resellers | 517121 | | Satellite Telecommunications | 517410 | | All Other Telecommunications | 517810 | | Computing Infrastructure Providers Data Processing Web Hosting And Related Services | 518210 | | Libraries And Archives | 519210 | | Web Search Portals And All Other Information Services | 519290 | # Manufacturing Source: https://docs.hifi.com/references/business-industries/manufacturing Reference table of manufacturing industry codes and classifications. | Industry | Code | | :- | :- | | Dog And Cat Food Manufacturing | 311111 | | Other Animal Food Manufacturing | 311119 | | Flour Milling | 311211 | | Rice Milling | 311212 | | Malt Manufacturing | 311213 | | Wet Corn Milling And Starch Manufacturing | 311221 | | Soybean And Other Oilseed Processing | 311224 | | Fats And Oils Refining And Blending | 311225 | | Breakfast Cereal Manufacturing | 311230 | | Beet Sugar Manufacturing | 311313 | | Cane Sugar Manufacturing | 311314 | | Nonchocolate Confectionery Manufacturing | 311340 | | Chocolate And Confectionery Manufacturing From Cacao Beans | 311351 | | Confectionery Manufacturing From Purchased Chocolate | 311352 | | Frozen Fruit Juice And Vegetable Manufacturing | 311411 | | Frozen Specialty Food Manufacturing | 311412 | | Fruit And Vegetable Canning | 311421 | | Specialty Canning | 311422 | | Dried And Dehydrated Food Manufacturing | 311423 | | Fluid Milk Manufacturing | 311511 | | Creamery Butter Manufacturing | 311512 | | Cheese Manufacturing | 311513 | | Dry Condensed And Evaporated Dairy Product Manufacturing | 311514 | | Ice Cream And Frozen Dessert Manufacturing | 311520 | | Animal Except Poultry Slaughtering | 311611 | | Meat Processed From Carcasses | 311612 | | Rendering And Meat Byproduct Processing | 311613 | | Poultry Processing | 311615 | | Seafood Product Preparation And Packaging | 311710 | | Retail Bakeries | 311811 | | Commercial Bakeries | 311812 | | Frozen Cakes Pies And Other Pastries Manufacturing | 311813 | | Cookie And Cracker Manufacturing | 311821 | | Dry Pasta Dough And Flour Mixes Manufacturing From Purchased Flour | 311824 | | Tortilla Manufacturing | 311830 | | Roasted Nuts And Peanut Butter Manufacturing | 311911 | | Other Snack Food Manufacturing | 311919 | | Coffee And Tea Manufacturing | 311920 | | Flavoring Syrup And Concentrate Manufacturing | 311930 | | Mayonnaise Dressing And Other Prepared Sauce Manufacturing | 311941 | | Spice And Extract Manufacturing | 311942 | | Perishable Prepared Food Manufacturing | 311991 | | All Other Miscellaneous Food Manufacturing | 311999 | | Soft Drink Manufacturing | 312111 | | Bottled Water Manufacturing | 312112 | | Ice Manufacturing | 312113 | | Breweries | 312120 | | Wineries | 312130 | | Distilleries | 312140 | | Tobacco Manufacturing | 312230 | | Fiber Yarn And Thread Mills | 313110 | | Broadwoven Fabric Mills | 313210 | | Narrow Fabric Mills And Schiffli Machine Embroidery | 313220 | | Nonwoven Fabric Mills | 313230 | | Knit Fabric Mills | 313240 | | Textile And Fabric Finishing Mills | 313310 | | Fabric Coating Mills | 313320 | | Carpet And Rug Mills | 314110 | | Curtain And Linen Mills | 314120 | | Textile Bag And Canvas Mills | 314910 | | Rope Cordage Twine Tire Cord And Tire Fabric Mills | 314994 | | All Other Miscellaneous Textile Product Mills | 314999 | | Apparel Knitting Mills | 315120 | | Cut And Sew Apparel Contractors | 315210 | | Cut And Sew Apparel Manufacturing Except Contractors | 315250 | | Apparel Accessories And Other Apparel Manufacturing | 315990 | | Leather And Hide Tanning And Finishing | 316110 | | Footwear Manufacturing | 316210 | | Other Leather And Allied Product Manufacturing | 316990 | | Sawmills | 321113 | | Wood Preservation | 321114 | | Hardwood Veneer And Plywood Manufacturing | 321211 | | Softwood Veneer And Plywood Manufacturing | 321212 | | Engineered Wood Member Manufacturing | 321215 | | Reconstituted Wood Product Manufacturing | 321219 | | Wood Window And Door Manufacturing | 321911 | | Cut Stock Resawing Lumber And Planing | 321912 | | Other Millwork Including Flooring | 321918 | | Wood Container And Pallet Manufacturing | 321920 | | Manufactured Home Mobile Home Manufacturing | 321991 | | Prefabricated Wood Building Manufacturing | 321992 | | All Other Miscellaneous Wood Product Manufacturing | 321999 | | Pulp Mills | 322110 | | Paper Mills | 322120 | | Paperboard Mills | 322130 | | Corrugated And Solid Fiber Box Manufacturing | 322211 | | Folding Paperboard Box Manufacturing | 322212 | | Other Paperboard Container Manufacturing | 322219 | | Paper Bag And Coated And Treated Paper Manufacturing | 322220 | | Stationery Product Manufacturing | 322230 | | Sanitary Paper Product Manufacturing | 322291 | | All Other Converted Paper Product Manufacturing | 322299 | | Commercial Printing Except Screen And Books | 323111 | | Commercial Screen Printing | 323113 | | Books Printing | 323117 | | Support Activities For Printing | 323120 | | Petroleum Refineries | 324110 | | Asphalt Paving Mixture And Block Manufacturing | 324121 | | Asphalt Shingle And Coating Materials Manufacturing | 324122 | | Petroleum Lubricating Oil And Grease Manufacturing | 324191 | | All Other Petroleum And Coal Products Manufacturing | 324199 | | Petrochemical Manufacturing | 325110 | | Industrial Gas Manufacturing | 325120 | | Synthetic Dye And Pigment Manufacturing | 325130 | | Other Basic Inorganic Chemical Manufacturing | 325180 | | Ethyl Alcohol Manufacturing | 325193 | | Cyclic Crude Intermediate And Gum And Wood Chemical Manufacturing | 325194 | | All Other Basic Organic Chemical Manufacturing | 325199 | | Plastics Material And Resin Manufacturing | 325211 | | Synthetic Rubber Manufacturing | 325212 | | Artificial And Synthetic Fibers And Filaments Manufacturing | 325220 | | Nitrogenous Fertilizer Manufacturing | 325311 | | Phosphatic Fertilizer Manufacturing | 325312 | | Fertilizer Mixing Only Manufacturing | 325314 | | Compost Manufacturing | 325315 | | Pesticide And Other Agricultural Chemical Manufacturing | 325320 | | Medicinal And Botanical Manufacturing | 325411 | | Pharmaceutical Preparation Manufacturing | 325412 | | In Vitro Diagnostic Substance Manufacturing | 325413 | | Biological Product Except Diagnostic Manufacturing | 325414 | | Paint And Coating Manufacturing | 325510 | | Adhesive Manufacturing | 325520 | | Soap And Other Detergent Manufacturing | 325611 | | Polish And Other Sanitation Good Manufacturing | 325612 | | Surface Active Agent Manufacturing | 325613 | | Toilet Preparation Manufacturing | 325620 | | Printing Ink Manufacturing | 325910 | | Explosives Manufacturing | 325920 | | Custom Compounding Of Purchased Resins | 325991 | | Photographic Film Paper Plate Chemical And Copy Toner Manufacturing | 325992 | | All Other Miscellaneous Chemical Product And Preparation Manufacturing | 325998 | | Plastics Bag And Pouch Manufacturing | 326111 | | Plastics Packaging Film And Sheet Including Laminated Manufacturing | 326112 | | Unlaminated Plastics Film And Sheet Except Packaging Manufacturing | 326113 | | Unlaminated Plastics Profile Shape Manufacturing | 326121 | | Plastics Pipe And Pipe Fitting Manufacturing | 326122 | | Laminated Plastics Plate Sheet Except Packaging And Shape Manufacturing | 326130 | | Polystyrene Foam Product Manufacturing | 326140 | | Urethane And Other Foam Product Except Polystyrene Manufacturing | 326150 | | Plastics Bottle Manufacturing | 326160 | | Plastics Plumbing Fixture Manufacturing | 326191 | | All Other Plastics Product Manufacturing | 326199 | | Tire Manufacturing Except Retreading | 326211 | | Tire Retreading | 326212 | | Rubber And Plastics Hoses And Belting Manufacturing | 326220 | | Rubber Product Manufacturing For Mechanical Use | 326291 | | All Other Rubber Product Manufacturing | 326299 | | Pottery Ceramics And Plumbing Fixture Manufacturing | 327110 | | Clay Building Material And Refractories Manufacturing | 327120 | | Flat Glass Manufacturing | 327211 | | Other Pressed And Blown Glass And Glassware Manufacturing | 327212 | | Glass Container Manufacturing | 327213 | | Glass Product Manufacturing Made Of Purchased Glass | 327215 | | Cement Manufacturing | 327310 | | Ready Mix Concrete Manufacturing | 327320 | | Concrete Block And Brick Manufacturing | 327331 | | Concrete Pipe Manufacturing | 327332 | | Other Concrete Product Manufacturing | 327390 | | Lime Manufacturing | 327410 | | Gypsum Product Manufacturing | 327420 | | Abrasive Product Manufacturing | 327910 | | Cut Stone And Stone Product Manufacturing | 327991 | | Ground Or Treated Mineral And Earth Manufacturing | 327992 | | Mineral Wool Manufacturing | 327993 | | All Other Miscellaneous Nonmetallic Mineral Product Manufacturing | 327999 | | Iron And Steel Mills And Ferroalloy Manufacturing | 331110 | | Iron And Steel Pipe And Tube Manufacturing From Purchased Steel | 331210 | | Rolled Steel Shape Manufacturing | 331221 | | Steel Wire Drawing | 331222 | | Alumina Refining And Primary Aluminum Production | 331313 | | Secondary Smelting And Alloying Of Aluminum | 331314 | | Aluminum Sheet Plate And Foil Manufacturing | 331315 | | Other Aluminum Rolling Drawing And Extruding | 331318 | | Nonferrous Metal Except Aluminum Smelting And Refining | 331410 | | Copper Rolling Drawing Extruding And Alloying | 331420 | | Nonferrous Metal Except Copper And Aluminum Rolling Drawing And Extruding | 331491 | | Secondary Smelting Refining And Alloying Of Nonferrous Metal Except Copper And Aluminum | 331492 | | Iron Foundries | 331511 | | Steel Investment Foundries | 331512 | | Steel Foundries Except Investment | 331513 | | Nonferrous Metal Die Casting Foundries | 331523 | | Aluminum Foundries Except Die Casting | 331524 | | Other Nonferrous Metal Foundries Except Die Casting | 331529 | | Iron And Steel Forging | 332111 | | Nonferrous Forging | 332112 | | Custom Roll Forming | 332114 | | Powder Metallurgy Part Manufacturing | 332117 | | Metal Crown Closure And Other Metal Stamping Except Automotive | 332119 | | Metal Kitchen Cookware Utensil Cutlery And Flatware Except Precious Manufacturing | 332215 | | Saw Blade And Handtool Manufacturing | 332216 | | Prefabricated Metal Building And Component Manufacturing | 332311 | | Fabricated Structural Metal Manufacturing | 332312 | | Plate Work Manufacturing | 332313 | | Metal Window And Door Manufacturing | 332321 | | Sheet Metal Work Manufacturing | 332322 | | Ornamental And Architectural Metal Work Manufacturing | 332323 | | Power Boiler And Heat Exchanger Manufacturing | 332410 | | Metal Tank Heavy Gauge Manufacturing | 332420 | | Metal Can Manufacturing | 332431 | | Other Metal Container Manufacturing | 332439 | | Hardware Manufacturing | 332510 | | Spring Manufacturing | 332613 | | Other Fabricated Wire Product Manufacturing | 332618 | | Machine Shops | 332710 | | Precision Turned Product Manufacturing | 332721 | | Bolt Nut Screw Rivet And Washer Manufacturing | 332722 | | Metal Heat Treating | 332811 | | Metal Coating Engraving Except Jewelry And Silverware And Allied Servicesto Manufacturers | 332812 | | Electroplating Plating Polishing Anodizing And Coloring | 332813 | | Industrial Valve Manufacturing | 332911 | | Fluid Power Valve And Hose Fitting Manufacturing | 332912 | | Plumbing Fixture Fitting And Trim Manufacturing | 332913 | | Other Metal Valve And Pipe Fitting Manufacturing | 332919 | | Ball And Roller Bearing Manufacturing | 332991 | | Small Arms Ammunition Manufacturing | 332992 | | Ammunition Except Small Arms Manufacturing | 332993 | | Small Arms Ordnance And Ordnance Accessories Manufacturing | 332994 | | Fabricated Pipe And Pipe Fitting Manufacturing | 332996 | | All Other Miscellaneous Fabricated Metal Product Manufacturing | 332999 | | Farm Machinery And Equipment Manufacturing | 333111 | | Lawn And Garden Tractor And Home Lawn And Garden Equipment Manufacturing | 333112 | | Construction Machinery Manufacturing | 333120 | | Mining Machinery And Equipment Manufacturing | 333131 | | Oil And Gas Field Machinery And Equipment Manufacturing | 333132 | | Food Product Machinery Manufacturing | 333241 | | Semiconductor Machinery Manufacturing | 333242 | | Sawmill Woodworking And Paper Machinery Manufacturing | 333243 | | All Other Industrial Machinery Manufacturing | 333248 | | Commercial And Service Industry Machinery Manufacturing | 333310 | | Industrial And Commercial Fan And Blower And Air Purification Equipment Manufacturing | 333413 | | Heating Equipment Except Warm Air Furnaces Manufacturing | 333414 | | Air Conditioning And Warm Air Heating Equipment And Commercial And Industrial Refrigeration Equipment Manufacturing | 333415 | | Industrial Mold Manufacturing | 333511 | | Special Die And Tool Die Set Jig And Fixture Manufacturing | 333514 | | Cutting Tool And Machine Tool Accessory Manufacturing | 333515 | | Machine Tool Manufacturing | 333517 | | Rolling Mill And Other Metalworking Machinery Manufacturing | 333519 | | Turbine And Turbine Generator Set Units Manufacturing | 333611 | | Speed Changer Industrial High Speed Drive And Gear Manufacturing | 333612 | | Mechanical Power Transmission Equipment Manufacturing | 333613 | | Other Engine Equipment Manufacturing | 333618 | | Air And Gas Compressor Manufacturing | 333912 | | Measuring Dispensing And Other Pumping Equipment Manufacturing | 333914 | | Elevator And Moving Stairway Manufacturing | 333921 | | Conveyor And Conveying Equipment Manufacturing | 333922 | | Overhead Traveling Crane Hoist And Monorail System Manufacturing | 333923 | | Industrial Truck Tractor Trailer And Stacker Machinery Manufacturing | 333924 | | Power Driven Handtool Manufacturing | 333991 | | Welding And Soldering Equipment Manufacturing | 333992 | | Packaging Machinery Manufacturing | 333993 | | Industrial Process Furnace And Oven Manufacturing | 333994 | | Fluid Power Cylinder And Actuator Manufacturing | 333995 | | Fluid Power Pump And Motor Manufacturing | 333996 | | All Other Miscellaneous General Purpose Machinery Manufacturing | 333998 | | Electronic Computer Manufacturing | 334111 | | Computer Storage Device Manufacturing | 334112 | | Computer Terminal And Other Computer Peripheral Equipment Manufacturing | 334118 | | Telephone Apparatus Manufacturing | 334210 | | Radio And Television Broadcasting And Wireless Communications Equipment Manufacturing | 334220 | | Other Communications Equipment Manufacturing | 334290 | | Audio And Video Equipment Manufacturing | 334310 | | Bare Printed Circuit Board Manufacturing | 334412 | | Semiconductor And Related Device Manufacturing | 334413 | | Capacitor Resistor Coil Transformer And Other Inductor Manufacturing | 334416 | | Electronic Connector Manufacturing | 334417 | | Printed Circuit Assembly Electronic Assembly Manufacturing | 334418 | | Other Electronic Component Manufacturing | 334419 | | Electromedical And Electrotherapeutic Apparatus Manufacturing | 334510 | | Search Detection Navigation Guidance Aeronautical And Nautical System And Instrument Manufacturing | 334511 | | Automatic Environmental Control Manufacturing For Residential Commercial And Appliance Use | 334512 | | Instruments And Related Products Manufacturing For Measuring Displaying And Controlling Industrial Process Variables | 334513 | | Totalizing Fluid Meter And Counting Device Manufacturing | 334514 | | Instrument Manufacturing For Measuring And Testing Electricity And Electrical Signals | 334515 | | Analytical Laboratory Instrument Manufacturing | 334516 | | Irradiation Apparatus Manufacturing | 334517 | | Other Measuring And Controlling Device Manufacturing | 334519 | | Manufacturing And Reproducing Magnetic And Optical Media | 334610 | | Residential Electric Lighting Fixture Manufacturing | 335131 | | Commercial Industrial And Institutional Electric Lighting Fixture Manufacturing | 335132 | | Electric Lamp Bulb And Other Lighting Equipment Manufacturing | 335139 | | Small Electrical Appliance Manufacturing | 335210 | | Major Household Appliance Manufacturing | 335220 | | Power Distribution And Specialty Transformer Manufacturing | 335311 | | Motor And Generator Manufacturing | 335312 | | Switchgear And Switchboard Apparatus Manufacturing | 335313 | | Relay And Industrial Control Manufacturing | 335314 | | Battery Manufacturing | 335910 | | Fiber Optic Cable Manufacturing | 335921 | | Other Communication And Energy Wire Manufacturing | 335929 | | Current Carrying Wiring Device Manufacturing | 335931 | | Noncurrent Carrying Wiring Device Manufacturing | 335932 | | Carbon And Graphite Product Manufacturing | 335991 | | All Other Miscellaneous Electrical Equipment And Component Manufacturing | 335999 | | Automobile And Light Duty Motor Vehicle Manufacturing | 336110 | | Heavy Duty Truck Manufacturing | 336120 | | Motor Vehicle Body Manufacturing | 336211 | | Truck Trailer Manufacturing | 336212 | | Motor Home Manufacturing | 336213 | | Travel Trailer And Camper Manufacturing | 336214 | | Motor Vehicle Gasoline Engine And Engine Parts Manufacturing | 336310 | | Motor Vehicle Electrical And Electronic Equipment Manufacturing | 336320 | | Motor Vehicle Steering And Suspension Components Except Spring Manufacturing | 336330 | | Motor Vehicle Brake System Manufacturing | 336340 | | Motor Vehicle Transmission And Power Train Parts Manufacturing | 336350 | | Motor Vehicle Seating And Interior Trim Manufacturing | 336360 | | Motor Vehicle Metal Stamping | 336370 | | Other Motor Vehicle Parts Manufacturing | 336390 | | Aircraft Manufacturing | 336411 | | Aircraft Engine And Engine Parts Manufacturing | 336412 | | Other Aircraft Parts And Auxiliary Equipment Manufacturing | 336413 | | Guided Missile And Space Vehicle Manufacturing | 336414 | | Guided Missile And Space Vehicle Propulsion Unit And Propulsion Unit Parts Manufacturing | 336415 | | Other Guided Missile And Space Vehicle Parts And Auxiliary Equipment Manufacturing | 336419 | | Railroad Rolling Stock Manufacturing | 336510 | | Ship Building And Repairing | 336611 | | Boat Building | 336612 | | Motorcycle Bicycle And Parts Manufacturing | 336991 | | Military Armored Vehicle Tank And Tank Component Manufacturing | 336992 | | All Other Transportation Equipment Manufacturing | 336999 | | Wood Kitchen Cabinet And Countertop Manufacturing | 337110 | | Upholstered Household Furniture Manufacturing | 337121 | | Nonupholstered Wood Household Furniture Manufacturing | 337122 | | Household Furniture Except Wood And Upholstered Manufacturing | 337126 | | Institutional Furniture Manufacturing | 337127 | | Wood Office Furniture Manufacturing | 337211 | | Custom Architectural Woodwork And Millwork Manufacturing | 337212 | | Office Furniture Except Wood Manufacturing | 337214 | | Showcase Partition Shelving And Locker Manufacturing | 337215 | | Mattress Manufacturing | 337910 | | Blind And Shade Manufacturing | 337920 | | Surgical And Medical Instrument Manufacturing | 339112 | | Surgical Appliance And Supplies Manufacturing | 339113 | | Dental Equipment And Supplies Manufacturing | 339114 | | Ophthalmic Goods Manufacturing | 339115 | | Dental Laboratories | 339116 | | Jewelry And Silverware Manufacturing | 339910 | | Sporting And Athletic Goods Manufacturing | 339920 | | Doll Toy And Game Manufacturing | 339930 | | Office Supplies Except Paper Manufacturing | 339940 | | Sign Manufacturing | 339950 | | Gasket Packing And Sealing Device Manufacturing | 339991 | | Musical Instrument Manufacturing | 339992 | | Fastener Button Needle And Pin Manufacturing | 339993 | | Broom Brush And Mop Manufacturing | 339994 | | Burial Casket Manufacturing | 339995 | | All Other Miscellaneous Manufacturing | 339999 | # Mining & Energy Source: https://docs.hifi.com/references/business-industries/mining-energy Reference table of mining and energy industry codes and classifications. | Industry | Code | | :- | :- | | Crude Petroleum Extraction | 211120 | | Natural Gas Extraction | 211130 | | Surface Coal Mining | 212114 | | Underground Coal Mining | 212115 | | Iron Ore Mining | 212210 | | Gold Ore And Silver Ore Mining | 212220 | | Copper Nickel Lead And Zinc Mining | 212230 | | Other Metal Ore Mining | 212290 | | Dimension Stone Mining And Quarrying | 212311 | | Crushed And Broken Limestone Mining And Quarrying | 212312 | | Crushed And Broken Granite Mining And Quarrying | 212313 | | Other Crushed And Broken Stone Mining And Quarrying | 212319 | | Construction Sand And Gravel Mining | 212321 | | Industrial Sand Mining | 212322 | | Kaolin Clay And Ceramic And Refractory Minerals Mining | 212323 | | Other Nonmetallic Mineral Mining And Quarrying | 212390 | | Drilling Oil And Gas Wells | 213111 | | Support Activities For Oil And Gas Operations | 213112 | | Support Activities For Coal Mining | 213113 | | Support Activities For Metal Mining | 213114 | | Support Activities For Nonmetallic Minerals Except Fuels Mining | 213115 | | Hydroelectric Power Generation | 221111 | | Fossil Fuel Electric Power Generation | 221112 | | Nuclear Electric Power Generation | 221113 | | Solar Electric Power Generation | 221114 | | Wind Electric Power Generation | 221115 | | Geothermal Electric Power Generation | 221116 | | Biomass Electric Power Generation | 221117 | | Other Electric Power Generation | 221118 | | Electric Bulk Power Transmission And Control | 221121 | | Electric Power Distribution | 221122 | | Natural Gas Distribution | 221210 | | Water Supply And Irrigation Systems | 221310 | | Sewage Treatment Facilities | 221320 | | Steam And Air Conditioning Supply | 221330 | # Other Services Source: https://docs.hifi.com/references/business-industries/other-services Reference table of other services industry codes and classifications. | Industry | Code | | :- | :- | | General Automotive Repair | 811111 | | Specialized Automotive Repair | 811114 | | Automotive Body Paint And Interior Repair And Maintenance | 811121 | | Automotive Glass Replacement Shops | 811122 | | Automotive Oil Change And Lubrication Shops | 811191 | | Car Washes | 811192 | | All Other Automotive Repair And Maintenance | 811198 | | Electronic And Precision Equipment Repair And Maintenance | 811210 | | Commercial And Industrial Machinery And Equipment Except Automotive And Electronic Repair And Maintenance | 811310 | | Home And Garden Equipment Repair And Maintenance | 811411 | | Appliance Repair And Maintenance | 811412 | | Reupholstery And Furniture Repair | 811420 | | Footwear And Leather Goods Repair | 811430 | | Other Personal And Household Goods Repair And Maintenance | 811490 | | Barber Shops | 812111 | | Beauty Salons | 812112 | | Nail Salons | 812113 | | Diet And Weight Reducing Centers | 812191 | | Other Personal Care Services | 812199 | | Funeral Homes And Funeral Services | 812210 | | Cemeteries And Crematories | 812220 | | Coin Operated Laundries And Drycleaners | 812310 | | Drycleaning And Laundry Services Except Coin Operated | 812320 | | Linen Supply | 812331 | | Industrial Launderers | 812332 | | Pet Care Except Veterinary Services | 812910 | | Photofinishing Laboratories Except One Hour | 812921 | | One Hour Photofinishing | 812922 | | Parking Lots And Garages | 812930 | | All Other Personal Services | 812990 | | Religious Organizations | 813110 | | Grantmaking Foundations | 813211 | | Voluntary Health Organizations | 813212 | | Other Grantmaking And Giving Services | 813219 | | Human Rights Organizations | 813311 | | Environment Conservation And Wildlife Organizations | 813312 | | Other Social Advocacy Organizations | 813319 | | Civic And Social Organizations | 813410 | | Business Associations | 813910 | | Professional Organizations | 813920 | | Labor Unions And Similar Labor Organizations | 813930 | | Political Organizations | 813940 | | Other Similar Organizations Except Business Professional Labor And Political Organizations | 813990 | | Private Households | 814110 | # Professional & Technical Services Source: https://docs.hifi.com/references/business-industries/professional-technical-services Reference table of professional and technical services industry codes and classifications. | Industry | Code | | :- | :- | | Offices Of Lawyers | 541110 | | Title Abstract And Settlement Offices | 541191 | | All Other Legal Services | 541199 | | Offices Of Certified Public Accountants | 541211 | | Tax Preparation Services | 541213 | | Payroll Services | 541214 | | Other Accounting Services | 541219 | | Architectural Services | 541310 | | Landscape Architectural Services | 541320 | | Engineering Services | 541330 | | Drafting Services | 541340 | | Building Inspection Services | 541350 | | Geophysical Surveying And Mapping Services | 541360 | | Surveying And Mapping Except Geophysical Services | 541370 | | Testing Laboratories And Services | 541380 | | Interior Design Services | 541410 | | Industrial Design Services | 541420 | | Graphic Design Services | 541430 | | Other Specialized Design Services | 541490 | | Custom Computer Programming Services | 541511 | | Computer Systems Design Services | 541512 | | Computer Facilities Management Services | 541513 | | Other Computer Related Services | 541519 | | Administrative Management And General Management Consulting Services | 541611 | | Human Resources Consulting Services | 541612 | | Marketing Consulting Services | 541613 | | Process Physical Distribution And Logistics Consulting Services | 541614 | | Other Management Consulting Services | 541618 | | Environmental Consulting Services | 541620 | | Other Scientific And Technical Consulting Services | 541690 | | Research And Development In Nanotechnology | 541713 | | Research And Development In Biotechnology Except Nanobiotechnology | 541714 | | Research And Development In The Physical Engineering And Life Sciences Except Nanotechnology And Biotechnology | 541715 | | Research And Development In The Social Sciences And Humanities | 541720 | | Advertising Agencies | 541810 | | Public Relations Agencies | 541820 | | Media Buying Agencies | 541830 | | Media Representatives | 541840 | | Indoor And Outdoor Display Advertising | 541850 | | Direct Mail Advertising | 541860 | | Advertising Material Distribution Services | 541870 | | Other Services Related To Advertising | 541890 | | Marketing Research And Public Opinion Polling | 541910 | | Photography Studios Portrait | 541921 | | Commercial Photography | 541922 | | Translation And Interpretation Services | 541930 | | Veterinary Services | 541940 | | All Other Professional Scientific And Technical Services | 541990 | | Offices Of Bank Holding Companies | 551111 | | Offices Of Other Holding Companies | 551112 | | Corporate Subsidiary And Regional Managing Offices | 551114 | # Public Administration Source: https://docs.hifi.com/references/business-industries/public-administration Reference table of public administration industry codes and classifications. | Industry | Code | | :- | :- | | Executive Offices | 921110 | | Legislative Bodies | 921120 | | Public Finance Activities | 921130 | | Executive And Legislative Offices Combined | 921140 | | American Indian And Alaska Native Tribal Governments | 921150 | | Other General Government Support | 921190 | | Courts | 922110 | | Police Protection | 922120 | | Legal Counsel And Prosecution | 922130 | | Correctional Institutions | 922140 | | Parole Offices And Probation Offices | 922150 | | Fire Protection | 922160 | | Other Justice Public Order And Safety Activities | 922190 | | Administration Of Education Programs | 923110 | | Administration Of Public Health Programs | 923120 | | Administration Of Human Resource Programs Except Education Public Health And Veterans Affairs Programs | 923130 | | Administration Of Veterans Affairs | 923140 | | Administration Of Air And Water Resource And Solid Waste Management Programs | 924110 | | Administration Of Conservation Programs | 924120 | | Administration Of Housing Programs | 925110 | | Administration Of Urban Planning And Community And Rural Development | 925120 | | Administration Of General Economic Programs | 926110 | | Regulation And Administration Of Transportation Programs | 926120 | | Regulation And Administration Of Communications Electric Gas And Other Utilities | 926130 | | Regulation Of Agricultural Marketing And Commodities | 926140 | | Regulation Licensing And Inspection Of Miscellaneous Commercial Sectors | 926150 | | Space Research And Technology | 927110 | | National Security | 928110 | | International Affairs | 928120 | # Real Estate & Leasing Source: https://docs.hifi.com/references/business-industries/real-estate-leasing Reference table of real estate and leasing industry codes and classifications. | Industry | Code | | :- | :- | | Lessors Of Residential Buildings And Dwellings | 531110 | | Lessors Of Nonresidential Buildings Except Miniwarehouses | 531120 | | Lessors Of Miniwarehouses And Self Storage Units | 531130 | | Lessors Of Other Real Estate Property | 531190 | | Offices Of Real Estate Agents And Brokers | 531210 | | Residential Property Managers | 531311 | | Nonresidential Property Managers | 531312 | | Offices Of Real Estate Appraisers | 531320 | | Other Activities Related To Real Estate | 531390 | | Passenger Car Rental | 532111 | | Passenger Car Leasing | 532112 | | Truck Utility Trailer And RV Recreational Vehicle Rental And Leasing | 532120 | | Consumer Electronics And Appliances Rental | 532210 | | Formal Wear And Costume Rental | 532281 | | Video Tape And Disc Rental | 532282 | | Home Health Equipment Rental | 532283 | | Recreational Goods Rental | 532284 | | All Other Consumer Goods Rental | 532289 | | General Rental Centers | 532310 | | Commercial Air Rail And Water Transportation Equipment Rental And Leasing | 532411 | | Construction Mining And Forestry Machinery And Equipment Rental And Leasing | 532412 | | Office Machinery And Equipment Rental And Leasing | 532420 | | Other Commercial And Industrial Machinery And Equipment Rental And Leasing | 532490 | | Lessors Of Nonfinancial Intangible Assets Except Copyrighted Works | 533110 | # Transportation & Logistics Source: https://docs.hifi.com/references/business-industries/transportation-logistics Reference table of transportation and logistics industry codes and classifications. | Industry | Code | | :- | :- | | Scheduled Passenger Air Transportation | 481111 | | Scheduled Freight Air Transportation | 481112 | | Nonscheduled Chartered Passenger Air Transportation | 481211 | | Nonscheduled Chartered Freight Air Transportation | 481212 | | Other Nonscheduled Air Transportation | 481219 | | Line Haul Railroads | 482111 | | Short Line Railroads | 482112 | | Deep Sea Freight Transportation | 483111 | | Deep Sea Passenger Transportation | 483112 | | Coastal And Great Lakes Freight Transportation | 483113 | | Coastal And Great Lakes Passenger Transportation | 483114 | | Inland Water Freight Transportation | 483211 | | Inland Water Passenger Transportation | 483212 | | General Freight Trucking Local | 484110 | | General Freight Trucking Long Distance Truckload | 484121 | | General Freight Trucking Long Distance Less Than Truckload | 484122 | | Used Household And Office Goods Moving | 484210 | | Specialized Freight Except Used Goods Trucking Local | 484220 | | Specialized Freight Except Used Goods Trucking Long Distance | 484230 | | Mixed Mode Transit Systems | 485111 | | Commuter Rail Systems | 485112 | | Bus And Other Motor Vehicle Transit Systems | 485113 | | Other Urban Transit Systems | 485119 | | Interurban And Rural Bus Transportation | 485210 | | Taxi And Ridesharing Services | 485310 | | Limousine Service | 485320 | | School And Employee Bus Transportation | 485410 | | Charter Bus Industry | 485510 | | Special Needs Transportation | 485991 | | All Other Transit And Ground Passenger Transportation | 485999 | | Pipeline Transportation Of Crude Oil | 486110 | | Pipeline Transportation Of Natural Gas | 486210 | | Pipeline Transportation Of Refined Petroleum Products | 486910 | | All Other Pipeline Transportation | 486990 | | Scenic And Sightseeing Transportation Land | 487110 | | Scenic And Sightseeing Transportation Water | 487210 | | Scenic And Sightseeing Transportation Other | 487990 | | Air Traffic Control | 488111 | | Other Airport Operations | 488119 | | Other Support Activities For Air Transportation | 488190 | | Support Activities For Rail Transportation | 488210 | | Port And Harbor Operations | 488310 | | Marine Cargo Handling | 488320 | | Navigational Services To Shipping | 488330 | | Other Support Activities For Water Transportation | 488390 | | Motor Vehicle Towing | 488410 | | Other Support Activities For Road Transportation | 488490 | | Freight Transportation Arrangement | 488510 | | Packing And Crating | 488991 | | All Other Support Activities For Transportation | 488999 | | Postal Service | 491110 | | Couriers And Express Delivery Services | 492110 | | Local Messengers And Local Delivery | 492210 | | General Warehousing And Storage | 493110 | | Refrigerated Warehousing And Storage | 493120 | | Farm Product Warehousing And Storage | 493130 | | Other Warehousing And Storage | 493190 | # Wholesale & Retail Trade Source: https://docs.hifi.com/references/business-industries/wholesale-retail-trade Reference table of wholesale and retail trade industry codes and classifications. | Industry | Code | | :- | :- | | Automobile And Other Motor Vehicle Merchant Wholesalers | 423110 | | Motor Vehicle Supplies And New Parts Merchant Wholesalers | 423120 | | Tire And Tube Merchant Wholesalers | 423130 | | Motor Vehicle Parts Used Merchant Wholesalers | 423140 | | Furniture Merchant Wholesalers | 423210 | | Home Furnishing Merchant Wholesalers | 423220 | | Lumber Plywood Millwork And Wood Panel Merchant Wholesalers | 423310 | | Brick Stone And Related Construction Material Merchant Wholesalers | 423320 | | Roofing Siding And Insulation Material Merchant Wholesalers | 423330 | | Other Construction Material Merchant Wholesalers | 423390 | | Photographic Equipment And Supplies Merchant Wholesalers | 423410 | | Office Equipment Merchant Wholesalers | 423420 | | Computer And Computer Peripheral Equipment And Software Merchant Wholesalers | 423430 | | Other Commercial Equipment Merchant Wholesalers | 423440 | | Medical Dental And Hospital Equipment And Supplies Merchant Wholesalers | 423450 | | Ophthalmic Goods Merchant Wholesalers | 423460 | | Other Professional Equipment And Supplies Merchant Wholesalers | 423490 | | Metal Service Centers And Other Metal Merchant Wholesalers | 423510 | | Coal And Other Mineral And Ore Merchant Wholesalers | 423520 | | Electrical Apparatus And Equipment Wiring Supplies And Related Equipment Merchant Wholesalers | 423610 | | Household Appliances Electric Housewares And Consumer Electronics Merchant Wholesalers | 423620 | | Other Electronic Parts And Equipment Merchant Wholesalers | 423690 | | Hardware Merchant Wholesalers | 423710 | | Plumbing And Heating Equipment And Supplies Hydronics Merchant Wholesalers | 423720 | | Warm Air Heating And Air Conditioning Equipment And Supplies Merchant Wholesalers | 423730 | | Refrigeration Equipment And Supplies Merchant Wholesalers | 423740 | | Construction And Mining Except Oil Well Machinery And Equipment Merchant Wholesalers | 423810 | | Farm And Garden Machinery And Equipment Merchant Wholesalers | 423820 | | Industrial Machinery And Equipment Merchant Wholesalers | 423830 | | Industrial Supplies Merchant Wholesalers | 423840 | | Service Establishment Equipment And Supplies Merchant Wholesalers | 423850 | | Transportation Equipment And Supplies Except Motor Vehicle Merchant Wholesalers | 423860 | | Sporting And Recreational Goods And Supplies Merchant Wholesalers | 423910 | | Toy And Hobby Goods And Supplies Merchant Wholesalers | 423920 | | Recyclable Material Merchant Wholesalers | 423930 | | Jewelry Watch Precious Stone And Precious Metal Merchant Wholesalers | 423940 | | Other Miscellaneous Durable Goods Merchant Wholesalers | 423990 | | Printing And Writing Paper Merchant Wholesalers | 424110 | | Stationery And Office Supplies Merchant Wholesalers | 424120 | | Industrial And Personal Service Paper Merchant Wholesalers | 424130 | | Drugs And Druggists Sundries Merchant Wholesalers | 424210 | | Piece Goods Notions And Other Dry Goods Merchant Wholesalers | 424310 | | Footwear Merchant Wholesalers | 424340 | | Clothing And Clothing Accessories Merchant Wholesalers | 424350 | | General Line Grocery Merchant Wholesalers | 424410 | | Packaged Frozen Food Merchant Wholesalers | 424420 | | Dairy Product Except Dried Or Canned Merchant Wholesalers | 424430 | | Poultry And Poultry Product Merchant Wholesalers | 424440 | | Confectionery Merchant Wholesalers | 424450 | | Fish And Seafood Merchant Wholesalers | 424460 | | Meat And Meat Product Merchant Wholesalers | 424470 | | Fresh Fruit And Vegetable Merchant Wholesalers | 424480 | | Other Grocery And Related Products Merchant Wholesalers | 424490 | | Grain And Field Bean Merchant Wholesalers | 424510 | | Livestock Merchant Wholesalers | 424520 | | Other Farm Product Raw Material Merchant Wholesalers | 424590 | | Plastics Materials And Basic Forms And Shapes Merchant Wholesalers | 424610 | | Other Chemical And Allied Products Merchant Wholesalers | 424690 | | Petroleum Bulk Stations And Terminals | 424710 | | Petroleum And Petroleum Products Merchant Wholesalers Except Bulk Stations And Terminals | 424720 | | Beer And Ale Merchant Wholesalers | 424810 | | Wine And Distilled Alcoholic Beverage Merchant Wholesalers | 424820 | | Farm Supplies Merchant Wholesalers | 424910 | | Book Periodical And Newspaper Merchant Wholesalers | 424920 | | Flower Nursery Stock And Florists Supplies Merchant Wholesalers | 424930 | | Tobacco Product And Electronic Cigarette Merchant Wholesalers | 424940 | | Paint Varnish And Supplies Merchant Wholesalers | 424950 | | Other Miscellaneous Nondurable Goods Merchant Wholesalers | 424990 | | Wholesale Trade Agents And Brokers | 425120 | | New Car Dealers | 441110 | | Used Car Dealers | 441120 | | Recreational Vehicle Dealers | 441210 | | Boat Dealers | 441222 | | Motorcycle ATV And All Other Motor Vehicle Dealers | 441227 | | Automotive Parts And Accessories Retailers | 441330 | | Tire Dealers | 441340 | | Home Centers | 444110 | | Paint And Wallpaper Retailers | 444120 | | Hardware Retailers | 444140 | | Other Building Material Dealers | 444180 | | Outdoor Power Equipment Retailers | 444230 | | Nursery Garden Center And Farm Supply Retailers | 444240 | | Supermarkets And Other Grocery Retailers Except Convenience Retailers | 445110 | | Convenience Retailers | 445131 | | Vending Machine Operators | 445132 | | Fruit And Vegetable Retailers | 445230 | | Meat Retailers | 445240 | | Fish And Seafood Retailers | 445250 | | Baked Goods Retailers | 445291 | | Confectionery And Nut Retailers | 445292 | | All Other Specialty Food Retailers | 445298 | | Beer Wine And Liquor Retailers | 445320 | | Furniture Retailers | 449110 | | Floor Covering Retailers | 449121 | | Window Treatment Retailers | 449122 | | All Other Home Furnishings Retailers | 449129 | | Electronics And Appliance Retailers | 449210 | | Mail Order Houses | 454113 | | Other Direct Selling Establishments | 454390 | | Department Stores | 455110 | | Warehouse Clubs And Supercenters | 455211 | | All Other General Merchandise Retailers | 455219 | | Pharmacies And Drug Retailers | 456110 | | Cosmetics Beauty Supplies And Perfume Retailers | 456120 | | Optical Goods Retailers | 456130 | | Food Health Supplement Retailers | 456191 | | All Other Health And Personal Care Retailers | 456199 | | Gasoline Stations With Convenience Stores | 457110 | | Other Gasoline Stations | 457120 | | Fuel Dealers | 457210 | | Clothing And Clothing Accessories Retailers | 458110 | | Shoe Retailers | 458210 | | Jewelry Retailers | 458310 | | Luggage And Leather Goods Retailers | 458320 | | Sporting Goods Retailers | 459110 | | Hobby Toy And Game Retailers | 459120 | | Sewing Needlework And Piece Goods Retailers | 459130 | | Musical Instrument And Supplies Retailers | 459140 | | Book Retailers And News Dealers | 459210 | | Florists | 459310 | | Office Supplies And Stationery Retailers | 459410 | | Gift Novelty And Souvenir Retailers | 459420 | | Used Merchandise Retailers | 459510 | | Pet And Pet Supplies Retailers | 459910 | | Art Dealers | 459920 | | Manufactured Mobile Home Dealers | 459930 | | Tobacco Electronic Cigarette And Other Smoking Supplies Retailers | 459991 | | All Other Miscellaneous Retailers | 459999 | # Offramp Accounts Source: https://docs.hifi.com/accounts/offramp-accounts An Offramp Account is a user's external bank account where they receive fiat money from stablecoin conversions. When users offramp, their stablecoins are converted to fiat and sent directly to this registered account. ## How Offramp Accounts Work **1. Register bank account** Add the user's external bank account to HIFI by providing account details and account holder information. **2. Create offramp** Initiate an offramp transfer to get a conversion quote with current exchange rates and fees. **3. Accept quote** Accept the quote to execute the conversion. Stablecoins are converted to fiat and delivered to the registered bank account. Each offramp account is configured for a specific currency and region (e.g., USD in the US, BRL in Brazil). You can create multiple offramp accounts per user for different currencies and regions. ## Prerequisites > [!WARNING] > > **KYC Required:** Users must complete KYC verification for the relevant rail before creating offramp accounts. For example, to create a USD offramp account, the user must have an active USD rail. ## Creating Offramp Accounts Create an offramp account using the [Create Account](https://docs.hifi.com/api-reference/account/create-an-account) endpoint. The required fields vary by region and currency. ### USD Accounts For USD offramps to US bank accounts: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "us", "accountHolder": { "type": "individual", "name": "John Doe", "phone": "+18573491112", "email": "john@hifibridge.com", "address": { "addressLine1": "123 Main St", "city": "New York", "stateProvinceRegion": "NY", "postalCode": "10010", "country": "USA" } }, "us": { "transferType": "wire", "accountType": "checking", "accountNumber": "99485843", "routingNumber": "011002877", "bankName": "HIFI Bank", "currency": "usd" } }' ``` **Request Fields:** **rail** `string` *required* Always `offramp` for offramp accounts. **type** `string` *required* Account region. For US accounts, use `us`. **accountHolder** `object` *required* Account holder information. **properties** **type** `string` *required* Account holder type: `individual` or `business` **name** `string` *required* Account holder's full name **phone** `string` *required* Contact phone number **email** `string` *required* Contact email address **address** `object` *required* Account holder's address **us** `object` *required* US-specific bank account details. **properties** **transferType** `string` *required* Payment method: `wire`, `ach`, or `rtp` **accountType** `string` *required* Bank account type: `checking` or `savings` **accountNumber** `string` *required* Bank account number **routingNumber** `string` *required* Bank routing number **bankName** `string` *required* Name of the bank **currency** `string` *required* Currency code: `usd` **Response:** ```json theme={null} { "status": "ACTIVE", "invalidFields": [], "message": "Account created successfully", "id": "acc_abc123" } ``` **Response Fields:** **id** `string` Unique account ID. **Save this** for creating offramp transfers to this account. **status** `string` Account status: `ACTIVE` (ready to use), `PENDING` (being validated), or `REJECTED` (validation failed) **invalidFields** `array` List of validation errors. Empty array means all fields are valid. ### Global Network Accounts Global Network accounts support multiple countries including China, Hong Kong, Brazil, Mexico, and Nigeria. These accounts require additional verification fields. > [accordion] China (CNY) > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "chinaGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "110101199001011234", > "nationality": "CHN", > "address": { > "addressLine1": "123 Main Street", > "city": "Beijing", > "stateProvinceRegion": "BJ", > "postalCode": "100000", > "country": "CHN" > } > }, > "chinaGlobalNetwork": { > "bankName": "Industrial and Commercial Bank of China", > "accountNumber": "6222021234567890123", > "swiftCode": "ICBKCNBJ", > "currency": "cny" > } > }' > ``` > > **Additional Fields Required:** > > * `dateOfBirth` - Account holder's date of birth > * `idNumber` - Chinese national ID number > * `nationality` - Must be `CHN` > * `swiftCode` - Bank's SWIFT code > [accordion] Hong Kong (HKD) > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "hongKongGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "A123456(7)", > "nationality": "HKG", > "address": { > "addressLine1": "123 Main Street", > "city": "Hong Kong", > "stateProvinceRegion": "HK", > "postalCode": "000000", > "country": "HKG" > } > }, > "hongKongGlobalNetwork": { > "bankName": "HSBC", > "accountNumber": "123456789", > "swiftCode": "HSBCHKHHHKH", > "currency": "hkd" > } > }' > ``` > > **Additional Fields Required:** > > * `dateOfBirth` - Account holder's date of birth > * `idNumber` - Hong Kong ID number > * `nationality` - Must be `HKG` > * `swiftCode` - Bank's SWIFT code > [accordion] Brazil (BRL) - PIX > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "brazilGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "12345678901", > "nationality": "BRA", > "address": { > "addressLine1": "Rua 123", > "city": "São Paulo", > "stateProvinceRegion": "SP", > "postalCode": "01000-000", > "country": "BRA" > } > }, > "brazilGlobalNetwork": { > "pix": "user@example.com", > "currency": "brl" > } > }' > ``` > > **Additional Fields Required:** > > * `dateOfBirth` - Account holder's date of birth > * `idNumber` - CPF (Brazilian tax ID) > * `nationality` - Must be `BRA` > * `pix` - PIX key (email, phone, or CPF) > [accordion] Mexico (MXN) - SPEI > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "mexicoGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "ABCD123456EFGH7890", > "nationality": "MEX", > "address": { > "addressLine1": "Calle 123", > "city": "Ciudad de México", > "stateProvinceRegion": "CMX", > "postalCode": "01000", > "country": "MEX" > } > }, > "mexicoGlobalNetwork": { > "speiClabe": "012345678901234567", > "currency": "mxn" > } > }' > ``` > > **Additional Fields Required:** > > * `dateOfBirth` - Account holder's date of birth > * `idNumber` - CURP (Mexican national ID) > * `nationality` - Must be `MEX` > * `speiClabe` - 18-digit CLABE number for SPEI transfers > [accordion] Nigeria (NGN) > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "nigeriaGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "12345678901", > "nationality": "NGA", > "address": { > "addressLine1": "Street 123", > "city": "Lagos", > "stateProvinceRegion": "LA", > "postalCode": "100001", > "country": "NGA" > } > }, > "nigeriaGlobalNetwork": { > "bankName": "Access Bank", > "accountNumber": "1234567890", > "currency": "ngn" > } > }' > ``` > > **Additional Fields Required:** > > * `dateOfBirth` - Account holder's date of birth > * `idNumber` - Nigerian national ID or BVN > * `nationality` - Must be `NGA` ### Africa Rail Accounts (Beta) Africa Rail supports multiple countries with bank accounts and mobile money (momo) payments. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "africa", "accountHolder": { "type": "individual", "name": "John Doe", "email": "john@example.com", "phone": "+256123456789", "address": { "addressLine1": "Street 123", "city": "Kampala", "stateProvinceRegion": "C", "postalCode": "256", "country": "UGA" } }, "africa": { "financialInstitute": "MTN", "accountType": "momo", "accountNumber": "1234567890", "currency": "ugx", "country": "uga" } }' ``` **Africa-Specific Fields:** **africa.financialInstitute** `string` *required* Financial institution name (e.g., `MTN`, `Vodafone`, specific bank names) **africa.accountType** `string` *required* Account type: `momo` (mobile money) or `bank` **africa.accountNumber** `string` *required* Account or mobile money number **africa.currency** `string` *required* Currency code (e.g., `ugx`, `kes`, `ugx`) **africa.country** `string` *required* Country code (e.g., `uga`, `ken`, `gha`) > [!NOTE] > > Check the [Africa Rail documentation](/docs/rails/africa) for supported combinations of country, currency, and financial institution. ## Using Offramp Accounts Once created and active, reference the account when creating offramp transfers using the [Create Offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "currency": "usdc", "chain": "POLYGON", "userId": "usr_abc123", "amount": 100 }, "destination": { "currency": "usd", "accountId": "acc_abc123", "userId": "usr_abc123" }, "requestId": "b08e27be-c086-4b84-a321-307ed9f265e1" }' ``` The `accountId` from the account creation response tells HIFI which bank account should receive the fiat funds. > [!NOTE] > > **Complete Offramp Flow:** See the [Offramps documentation](/docs/transactions/offramps) for the full process including quote acceptance, status tracking, and settlement timing. ## Account Validation After creating an offramp account, HIFI validates the account details: | Status | Description | | :- | :- | | **ACTIVE** | Account validated and ready to receive funds | | **PENDING** | Account being validated (typically resolves within minutes) | | **REJECTED** | Validation failed - check `invalidFields` for specific issues | ## Key Concepts > [accordion] Multiple Accounts Per User > > Users can have multiple offramp accounts for different currencies, regions, or payment methods. Each account has a unique ID referenced when creating offramps. > > **Example scenarios:** > > * One USD account for wire transfers > * One BRL account for PIX transfers > * One MXN account for SPEI transfers > * Multiple accounts in the same currency for different banks > [accordion] Account Types vs Transfer Types > > Don't confuse these two concepts: - **Account Type** (`type` field): The region or country (e.g., `us`, `brazil`, `mexico`) - **Transfer Type** (within account-specific fields): The payment method (e.g., `wire`, `ach`, `pix`, `spei`) Not all transfer types are available in all regions. Check the API reference for supported combinations. > [accordion] First Party vs Third Party Payments > > Offramp accounts support two payment scenarios: **First Party Payments:** Funds sent to the account holder (the user who completed KYC). This is the standard case where users receive money in their own bank account. **Third Party Payments:** Funds sent to someone other than the account holder. This enables use cases like: - Sending money to family members - Paying business partners or vendors - Disbursing funds to beneficiaries Both are supported, but third party payments may require additional compliance verification. > [accordion] Regional Payment Methods > > Different regions support different payment methods: > > * **US**: Wire, ACH, RTP > * **Brazil**: PIX (instant payments) > * **Mexico**: SPEI (electronic transfers) > * **Africa**: Mobile money (momo) or bank transfers depending on country > * **China/Hong Kong**: Bank transfers with SWIFT codes > > Choose the payment method that best fits your users' needs and local banking infrastructure. ## Sample Code ### Create and validate account **1. Create the account** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "us", "accountHolder": { "type": "individual", "name": "John Doe", "phone": "+18573491112", "email": "john@hifibridge.com", "address": { "addressLine1": "123 Main St", "city": "New York", "stateProvinceRegion": "NY", "postalCode": "10010", "country": "USA" } }, "us": { "transferType": "wire", "accountType": "checking", "accountNumber": "99485843", "routingNumber": "011002877", "bankName": "HIFI Bank", "currency": "usd" } }' ``` **2. Check validation status** The response includes the status. If `ACTIVE`, the account is ready immediately. If `PENDING`, wait for validation to complete or subscribe to account webhooks. ```json theme={null} { "status": "ACTIVE", "id": "acc_abc123" } ``` For `REJECTED` status, check the `invalidFields` array to see which fields need correction. **3. Use for offramps** Once active, use the account ID when creating offramp transfers: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "currency": "usdc", "chain": "POLYGON", "userId": "usr_abc123", "amount": 100 }, "destination": { "currency": "usd", "accountId": "acc_abc123", "userId": "usr_abc123" }, "requestId": "b08e27be-c086-4b84-a321-307ed9f265e1" }' ``` ### Support multicurrency payouts **1. Create accounts for each region** Create separate accounts for each region where you need to send payouts (offramps) to the user: ```bash USD theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "us", "accountHolder": { "type": "individual", "name": "John Doe", "address": { "addressLine1": "123 Main St", "city": "New York", "stateProvinceRegion": "NY", "postalCode": "10010", "country": "USA" } }, "us": { "transferType": "wire", "accountType": "Checking", "accountNumber": "99485843", "routingNumber": "011002877", "bankName": "HIFI Bank", "currency": "usd" } }' ``` ```bash BRL theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "brazilGlobalNetwork", "accountHolder": { "type": "individual", "name": "John Doe", "dateOfBirth": "1990-01-01", "idNumber": "12345678901", "nationality": "BRA", "address": { "addressLine1": "Rua 123", "city": "São Paulo", "stateProvinceRegion": "SP", "postalCode": "01000-000", "country": "BRA" } }, "brazilGlobalNetwork": { "pix": "user@example.com", "currency": "brl" } }' ``` ```bash MXN theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "mexicoGlobalNetwork", "accountHolder": { "type": "individual", "name": "John Doe", "dateOfBirth": "1990-01-01", "idNumber": "ABCD123456EFGH7890", "nationality": "MEX", "address": { "addressLine1": "Calle 123", "city": "Ciudad de México", "stateProvinceRegion": "CMX", "postalCode": "01000", "country": "MEX" } }, "mexicoGlobalNetwork": { "speiClabe": "012345678901234567", "currency": "mxn" } }' ``` ```bash NGN theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "nigeriaGlobalNetwork", "accountHolder": { "type": "individual", "name": "John Doe", "dateOfBirth": "1990-01-01", "idNumber": "12345678901", "nationality": "NGA", "address": { "addressLine1": "Street 123", "city": "Lagos", "stateProvinceRegion": "LA", "postalCode": "100001", "country": "NGA" } }, "nigeriaGlobalNetwork": { "bankName": "Access Bank", "accountNumber": "1234567890", "currency": "ngn" } }' ``` ```bash HKD theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "hongKongGlobalNetwork", "accountHolder": { "type": "individual", "name": "John Doe", "dateOfBirth": "1990-01-01", "idNumber": "A123456(7)", "nationality": "HKG", "address": { "addressLine1": "123 Main Street", "city": "Hong Kong", "stateProvinceRegion": "HK", "postalCode": "000000", "country": "HKG" } }, "hongKongGlobalNetwork": { "bankName": "HSBC", "accountNumber": "123456789", "swiftCode": "HSBCHKHHHKH", "currency": "hkd" } }' ``` ```bash CNY theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "chinaGlobalNetwork", "accountHolder": { "type": "individual", "name": "John Doe", "dateOfBirth": "1990-01-01", "idNumber": "110101199001011234", "nationality": "CHN", "address": { "addressLine1": "123 Main Street", "city": "Beijing", "stateProvinceRegion": "BJ", "postalCode": "100000", "country": "CHN" } }, "chinaGlobalNetwork": { "bankName": "Industrial and Commercial Bank of China", "accountNumber": "6222021234567890123", "swiftCode": "ICBKCNBJ", "currency": "cny" } }' ``` **2. Let users choose destination** If a user has multiple accounts, let them select which account to use when creating an offramp. Pass the appropriate `accountId` based on their selection. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Quickstart Guide](/docs/quickstart) - Step-by-step tutorial * [Rails](/docs/rails) - Understand KYC requirements for different rails * [Offramps](/docs/transactions/offramps) - Complete guide to executing offramp transfers * [Webhooks](/docs/webhooks) - Real-time account validation notifications * [API Reference](https://docs.hifi.com/api-reference/account/create-an-account) - Complete endpoint documentation # Onramp Accounts Source: https://docs.hifi.com/accounts/onramp-accounts An Onramp Account is a one-time generated account for a single onramp transaction. When you create an onramp, HIFI generates unique deposit details (bank account and reference ID) for that transaction; the user sends fiat to that account and receives stablecoins. ## How Onramp Accounts Work **1. Create onramp** Initiate an onramp using the [Create Onramp](https://docs.hifi.com/api-reference/onramp/create-an-onramp) endpoint. HIFI generates a **one-time account** for that transaction—unique deposit details (bank account, routing number, reference ID) valid only for this transfer. **2. User sends fiat** The user sends the exact amount to the generated account details, including the reference ID in the transfer memo so HIFI can match the deposit. **3. Stablecoins delivered** Once HIFI receives and validates the fiat, stablecoins are delivered to the user's wallet. For **USD**, you typically omit `source.accountId` and use the one-time deposit instructions returned in the Create Onramp response. For **Africa** currencies, you must first register an onramp account (Create Account with `rail: "onramp"`) and pass `source.accountId` when creating the onramp. Each one-time account is valid for a single transaction and the specified amount and currency. ## Prerequisites > [!WARNING] > > **KYC Required:** Users must complete KYC verification for the relevant rail before creating onramp accounts. For example, to create a USD onramp account, the user must have an active USD rail. For Africa, the user must have the appropriate Africa rail active. ## Creating Onramp Accounts (Registered Accounts) For **Africa**, users must have a registered onramp account before you can create an onramp. For **USD**, the one-time deposit flow does not require a pre-registered account. You can still register USD onramp accounts via the [Create Account](https://docs.hifi.com/api-reference/account/create-an-account) endpoint with `rail: "onramp"`; the required fields vary by region and currency. ### USD Accounts For USD onramps, you can register an onramp account so it is available when creating onramps. When creating an onramp, omitting `source.accountId` returns one-time deposit instructions for that transaction. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "onramp", "type": "us", "accountHolder": { "type": "individual", "name": "John Doe", "phone": "+18573491112", "email": "john@hifibridge.com", "address": { "addressLine1": "123 Main St", "city": "New York", "stateProvinceRegion": "NY", "postalCode": "10010", "country": "USA" } }, "us": { "transferType": "ach", "accountType": "checking", "accountNumber": "99485843", "routingNumber": "011002877", "bankName": "HIFI Bank", "currency": "usd" } }' ``` **Request Fields:** **rail** `string` *required* Always `onramp` for onramp accounts. **type** `string` *required* Account region. For US accounts, use `us`. **accountHolder** `object` *required* Account holder information. Must match user's KYC data for compliance. **properties** **type** `string` *required* Account holder type: `individual` or `business` **name** `string` *required* Account holder's full name **phone** `string` *required* Contact phone number **email** `string` *required* Contact email address **address** `object` *required* Account holder's address **us** `object` *required* US-specific bank account details. **properties** **transferType** `string` *required* Payment method: `ach` or `wire` **accountType** `string` *required* Bank account type: `checking` or `savings` **accountNumber** `string` *required* Bank account number **routingNumber** `string` *required* Bank routing number **bankName** `string` *required* Name of the bank **currency** `string` *required* Currency code: `usd` **Response:** ```json theme={null} { "status": "ACTIVE", "invalidFields": [], "message": "Account created successfully", "id": "acc_abc123" } ``` **Response Fields:** **id** `string` Unique account ID. **Save this** to pass as `source.accountId` when creating onramps. **status** `string` Account status: `ACTIVE` (ready to use), `PENDING` (being validated), or `REJECTED` (validation failed) **invalidFields** `array` List of validation errors. Empty array means all fields are valid. ### Africa Rail Accounts (Beta) Africa Rail supports multiple countries with bank accounts and mobile money (momo) as the source of fiat for onramps. **For Africa currencies, a registered onramp account is required** before creating an onramp—you must pass `source.accountId` when calling Create Onramp. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "onramp", "type": "africa", "accountHolder": { "type": "individual", "name": "John Doe", "email": "john@example.com", "phone": "+256123456789", "address": { "addressLine1": "Street 123", "city": "Kampala", "stateProvinceRegion": "C", "postalCode": "256", "country": "UGA" } }, "africa": { "financialInstitute": "MTN", "accountType": "momo", "accountNumber": "1234567890", "currency": "ugx", "country": "uga" } }' ``` **Africa-Specific Fields:** **africa.financialInstitute** `string` *required* Financial institution name (e.g., `MTN`, `Vodafone`, or specific bank names). See supported institutions in the [Africa Rail documentation](/docs/rails/africa). **africa.accountType** `string` *required* Account type: `momo` (mobile money) or `bank` **africa.accountNumber** `string` *required* Account or mobile money number **africa.currency** `string` *required* Currency code (e.g., `ugx`, `kes`, `ngn`) **africa.country** `string` *required* Country code (e.g., `uga`, `ken`, `gha`) > [!NOTE] > > Check the [Africa Rail documentation](/docs/rails/africa) and [supported institutions](/docs/references/africa-institutions) for onramp-supported combinations of country, currency, and financial institution. ## Using the One-Time Generated Account Create an onramp with the [Create Onramp](https://docs.hifi.com/api-reference/onramp/create-an-onramp) endpoint. The response includes one-time deposit details (`depositInfo`) for that transaction. For Africa, you must first create an onramp account (see above) and pass its ID in `source.accountId`. **Request (USD — one-time deposit instructions):** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/onramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123", "currency": "usd", "amount": 100, "transferType": "ach" }, "destination": { "userId": "usr_abc123", "currency": "usdc", "chain": "POLYGON" }, "requestId": "e1047def-6942-4fd7-be04-e62eb41813b6" }' ``` The response includes one-time deposit details (bank account, routing number, reference ID) for this transaction. For **Africa**, you must register an onramp account first and pass `source.accountId` when creating the onramp. > [!NOTE] > > **Complete Onramp Flow:** See the [Onramps documentation](/docs/transactions/onramps) for the full process including quote acceptance, status tracking, and deposit instructions. ## Account Validation After creating an onramp account, HIFI validates the account details: | Status | Description | | :- | :- | | **ACTIVE** | Account validated and ready to use for onramps | | **PENDING** | Account being validated (typically resolves within minutes) | | **REJECTED** | Validation failed - check `invalidFields` for specific issues | Monitor status via [Account Events](/docs/webhooks/account-events) webhooks (`ACCOUNT.ONRAMP.CREATE`, `ACCOUNT.ONRAMP.UPDATE`) or by calling the [Retrieve an account](https://docs.hifi.com/api-reference/account/retrieve-an-account) endpoint. ## List, Retrieve, and Delete * **List accounts:** [GET /v2/users//accounts](https://docs.hifi.com/api-reference/account/list-accounts) — use query param `rail=onramp` to filter onramp accounts. * **Retrieve one account:** [GET /v2/users//accounts/](https://docs.hifi.com/api-reference/account/retrieve-an-account) * **Delete account:** [DELETE /v2/users//accounts/](https://docs.hifi.com/api-reference/account/delete-an-account) ## Key Concepts > [accordion] USD: One-time generated account > > For **USD** onramps, you typically omit `source.accountId`. The Create Onramp response includes a **one-time generated account**—unique bank details and a reference ID for that single transaction. The user sends fiat to those details; HIFI matches the deposit and delivers stablecoins. > [accordion] Africa: accountId required > > For **Africa** currencies, `source.accountId` is required when creating an onramp. The user must have at least one active onramp account (created via Create Account with `rail: "onramp"`) for the chosen currency/country before you can create an onramp. > [accordion] Onramp accounts vs virtual accounts > > **Onramp accounts** (one-time): When you create an onramp, HIFI generates a one-time set of deposit details for that transaction. **Virtual accounts** are reusable HIFI-issued bank account details; the user deposits fiat to the same account number for multiple deposits. Both support fiat-to-crypto; virtual accounts are reusable, while onramp-API flow uses a new one-time account per transaction. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Quickstart Guide](/docs/quickstart) - Step-by-step tutorial * [Rails](/docs/rails) - Understand KYC requirements for different rails * [Onramps](/docs/transactions/onramps) - Complete guide to onramp transfers * [Virtual Accounts](/docs/accounts/virtual-accounts) - Reusable deposit accounts for USD onramps * [Account Events](/docs/webhooks/account-events) - Real-time onramp account creation and updates * [API Reference](https://docs.hifi.com/api-reference/account/create-an-account) - Complete endpoint documentation # Virtual Accounts Source: https://docs.hifi.com/accounts/virtual-accounts A Virtual Account is a dedicated bank account that automatically converts fiat deposits into stablecoins. When users send money to a virtual account via bank transfer, the funds are instantly converted to stablecoins and delivered to their wallet. ## How Virtual Accounts Work Virtual accounts enable fiat-to-stablecoin onramps through a simple three-step process: **1. Create the account** Generate a unique bank account number for the user. **2. Deposits fiat** User receives funds via ACH, wire, or RTP. **3. Automatic conversion** Fiat is automatically converted to stablecoins and delivered to the user’s wallet. Each virtual account is configured for a specific conversion pair (e.g., USD → USDC on Polygon). You can create multiple virtual accounts per user for different currencies and chains. ## Eligibility and Enablement USD virtual accounts must be enabled for your profile before you can create one for a user. Business users incorporated in India, Nigeria, Panama, the Philippines, Saudi Arabia, or Vietnam require enhanced verification before they are eligible. For these businesses: 1. Provide every UBO with 10% ownership or above during KYB. 2. Retrieve the business's KYC status and find each UBO whose status is `INCOMPLETE`. 3. Send each UBO their own `liveness` URL from the response so they can complete the hosted identity and liveness check. 4. Wait until no required UBO remains incomplete and HIFI has enabled virtual accounts for the profile before creating the account. > [!NOTE] > > This process enables USD virtual accounts only. It does not expand USD SWIFT > payout coverage. See the [Liveness Checks > guide](/guides/liveness-checks) for the API response and implementation flow. ## Creating Virtual Accounts Create a virtual account using the [Create Virtual Account](https://docs.hifi.com/api-reference/virtual-account/create-a-virtual-account) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "sourceCurrency": "usd", "destinationCurrency": "usdc", "destinationChain": "POLYGON" }' ``` **Request Fields:** **sourceCurrency** `string` *required* Fiat currency to accept. Currently only `usd` is supported. **destinationCurrency** `string` *required* Stablecoin to receive after conversion. Options: `usdc`, `usdt` **destinationChain** `string` *required* Blockchain where stablecoins will be sent. Options: `POLYGON`, `ETHEREUM`, `BASE` **externalWalletId** `string` Optional. If provided, stablecoins are sent to this external wallet instead of the user's HIFI wallet. > [!WARNING] > > **USD Only:** Virtual accounts currently support USD deposits only. For other > currencies, use the [Onramp > API](https://docs.hifi.com/api-reference/onramp/create-an-onramp). **Response:** ```json theme={null} { "message": "Virtual account created successfully", "accountInfo": { "id": "va_abc123", "userId": "usr_abc123", "source": { "paymentRail": ["ach", "wire", "rtp"], "currency": "usd" }, "destination": { "chain": "POLYGON", "currency": "usdc", "walletAddress": "0xd102C4130985B7fcB95697616eaf5542c4f98d49", "externalWalletId": null }, "status": "activated", "depositInstructions": { "bankName": "Cross River Bank", "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", "beneficiary": { "name": "John Doe", "address": "123 Main St, New York, NY, 10010, US" }, "ach": { "routingNumber": "021214891", "accountNumber": "344176915009" }, "wire": { "routingNumber": "021214891", "accountNumber": "344176915009" }, "rtp": { "routingNumber": "021214891", "accountNumber": "344176915009" } } } } ``` **Response Fields:** **accountInfo.id** `string` Unique virtual account ID. **Save this** for managing the account and monitoring deposits. **accountInfo.status** `string` Account status. `activated` means ready to receive deposits. **accountInfo.source** `object` Source configuration for the virtual account. **properties** **paymentRail** `array` Supported payment methods: `ach`, `wire`, `rtp` **currency** `string` Fiat currency accepted **accountInfo.destination** `object` Destination configuration for converted stablecoins. **properties** **chain** `string` Blockchain where stablecoins will be sent **currency** `string` Stablecoin type **walletAddress** `string` Wallet address where stablecoins will be deposited **accountInfo.depositInstructions** `object` **Most Important:** Bank account details for users to send deposits. Share these instructions with your users. **properties** **bankName** `string` Bank holding the virtual account **bankAddress** `string` Physical bank address **beneficiary** `object` **properties** **name** `string` Beneficiary name (matches user's name for compliance) **address** `string` Beneficiary address **ach** `object` **properties** **routingNumber** `string` ACH routing number **accountNumber** `string` Account number for ACH deposits **wire** `object` **properties** **routingNumber** `string` Wire routing number **accountNumber** `string` Account number for wire deposits **rtp** `object` **properties** **routingNumber** `string` RTP routing number **accountNumber** `string` Account number for RTP deposits ## Payment Rails Virtual accounts support multiple payment methods to accommodate different use cases: | Payment Rail | Speed | Cost | Use Case | | :- | :- | :- | :- | | **ACH** | 1-3 business days | Low | Domestic US bank transfers | | **Wire** | Same day | Medium | Larger amounts, faster processing | | **RTP** | Real-time | Medium | Instant transfers | Users can deposit via any supported rail using the same account number. The conversion and delivery happens automatically regardless of which payment method is used. ## Deposit Processing When a deposit is detected, HIFI automatically: 1. **Validates the deposit** - Confirms amount and sender details 2. **Converts to stablecoin** - Exchanges fiat for stablecoins at current rates 3. **Sends to wallet** - Delivers stablecoins to the configured destination 4. **Triggers webhooks** - Sends `ONRAMP.CREATE` and `ONRAMP.UPDATE` events Processing times vary by payment rail: * **ACH**: 1-3 business days for funds to clear, then instant conversion * **Wire**: Same-day processing, then instant conversion * **RTP**: Real-time processing and instant conversion > [!NOTE] > > **Webhook Notifications:** Subscribe to `ONRAMP.CREATE` and `ONRAMP.UPDATE` > events to track deposits in real-time. See [Webhooks](/docs/webhooks) for > setup instructions. ## Tracking Onramps When deposits arrive at a virtual account, HIFI creates an onramp transaction to handle the conversion. You can see which virtual account was used by checking the onramp's `virtualAccountId` field. **List onramps for a user:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/onramps?userId=usr_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response (excerpt):** ```json theme={null} { "count": 1, "records": [ { "transferType": "ONRAMP", "transferDetails": { "id": "onr_xyz789", "status": "COMPLETED", "source": { "currency": "usd", "amount": 100 }, "destination": { "currency": "usdc", "chain": "POLYGON", "amount": 100 }, "virtualAccountId": "va_abc123", "receipt": { "transactionHash": "0xe5284c4cb35ae9b5eb0ae23b840032f320b87b63f8967ee9b67ee09dfe6a194a" } } } ] } ``` **Key Fields:** **transferDetails.virtualAccountId** `string` The virtual account ID that received the deposit. If `null`, this onramp was created through a different method (not via virtual account). **transferDetails.status** `string` Onramp status. See [Onramps](/docs/transactions/onramps) for complete status documentation. **transferDetails.receipt.transactionHash** `string` Blockchain transaction hash (available when status is COMPLETED) ## Managing Virtual Accounts ### Update Configuration Change the destination chain or currency for an existing virtual account using the [Update Virtual Account](https://docs.hifi.com/api-reference/virtual-account/update-a-virtual-account) endpoint. **Request:** ```bash theme={null} curl -X PATCH "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts/va_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "destinationCurrency": "usdt", "destinationChain": "ETHEREUM" }' ``` > [!NOTE] > > Updating the configuration only affects future deposits. Existing pending > deposits will complete with the original configuration. ### Deactivate Account Temporarily disable a virtual account to prevent new deposits using the [Deactivate Virtual Account](https://docs.hifi.com/api-reference/virtual-account/deactivate-a-virtual-account) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts/va_abc123/deactivate" \ -H "Authorization: Bearer YOUR_API_KEY" ``` When deactivated: * New deposits are rejected * Existing pending deposits continue processing * Account can be reactivated later **Reactivate:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts/va_abc123/activate" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ### Microdeposits When you fetch a virtual account, the response includes a `microDeposits` object containing information about small payments often used for account confirmation. These microdeposits help verify bank account ownership. **Fetch a virtual account:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts/va_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response (excerpt showing microDeposits):** ```json theme={null} { "id": "va_abc123", "userId": "usr_abc123", "status": "activated", "microDeposits": { "count": 2, "data": [ { "createdAt": "2024-01-15T10:30:00Z", "currency": "usd", "amount": 1, "sourceBankInfo": { "bankName": "Chase Bank", "senderName": "John Doe", "routingNumber": "021000021", "accountNumber": "516843515316", "accountType": "checking", "fedBatchId": "20240115-001", "imad": "20240115103000001", "omad": "20240115103000002", "traceNumber": "123456789012", "bankAddress": "270 Park Avenue, New York, NY 10017", "description": "Microdeposit verification", "paymentRail": "ach" } }, { "createdAt": "2024-01-15T10:31:00Z", "currency": "usd", "amount": 2, "sourceBankInfo": { "bankName": "Chase Bank", "senderName": "John Doe", "routingNumber": "021000021", "accountNumber": "516843515316", "accountType": "checking", "fedBatchId": "20240115-002", "imad": "20240115103100001", "omad": "20240115103100002", "traceNumber": "123456789013", "bankAddress": "270 Park Avenue, New York, NY 10017", "description": "Microdeposit verification", "paymentRail": "ach" } } ] } } ``` **microDeposits Response Fields** **microDeposits.count** `integer` Total number of microdeposits recorded for this virtual account. **microDeposits.data** `array` Array of microdeposit records. **data item properties** **createdAt** `string` Timestamp when the microdeposit was created (ISO 8601 format). **currency** `string` Currency of the microdeposit (typically `usd`). **amount** `integer` Amount of the microdeposit in cents. Common values are 1-2 cents for verification purposes. **sourceBankInfo** `object` Information about the source bank account that sent the microdeposit. **sourceBankInfo properties** **bankName** `string` Name of the bank that sent the microdeposit. **senderName** `string` Name of the account holder who sent the microdeposit. **routingNumber** `string` Bank routing number of the source account. **accountNumber** `string` Account number of the source account (may be partially masked). **accountType** `string` Type of account (e.g., `checking`, `savings`). **fedBatchId** `string` Federal batch identifier for the microdeposit transaction. **imad** `string` Incoming Message Authentication Data (IMAD) for ACH transactions. **omad** `string` Outgoing Message Authentication Data (OMAD) for ACH transactions. **traceNumber** `string` Trace number used to identify and track the transaction. **bankAddress** `string` Physical address of the source bank. **description** `string` Description or memo associated with the microdeposit transaction. **paymentRail** `string` Payment method used for the microdeposit. One of: `ach`, `wire`, `rtp`. > [!NOTE] > > **Dashboard Access:** When you open a virtual account in the dashboard, you > can find microdeposits information displayed alongside other account details. ## Key Concepts > [accordion] One Account Per Configuration > > Each virtual account is tied to a specific conversion pair (source currency + destination currency + destination chain). To support multiple conversion options, create separate virtual accounts. > > Example: If you need both USD→USDC on Polygon and USD→USDT on Ethereum, create two virtual accounts. > [accordion] Beneficiary Name Matching > > The beneficiary name on the virtual account must match the user's KYC name. > Deposits from accounts with mismatched names may be rejected for compliance > reasons. > [accordion] USDT Fees > > USDT conversions incur an additional 0.1% exchange fee beyond standard > conversion rates. This fee appears on your monthly invoice. > [accordion] External Wallets > > By default, stablecoins are sent to the user's HIFI wallet. Use the `externalWalletId` parameter to send to an external wallet address instead. The external wallet must be pre-registered via the [External Wallets API](https://docs.hifi.com/api-reference/external-wallet/create-external-wallet). > > > [!NOTE] > > > > **Registration Required:** Unlike regular wallet transfers (which can send directly to any address), virtual accounts require external wallets to be registered first when using the `externalWalletId` parameter. If you prefer not to register, create a standard virtual account without `externalWalletId` and then transfer funds to the external wallet using the [Wallet Transfer API](/docs/wallets). ## Sandbox Testing In sandbox, simulate deposits without real bank transfers using the [Simulate Deposit](https://docs.hifi.com/api-reference/virtual-account/simulate-a-deposit-to-a-virtual-account) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts/va_abc123/simulate-deposit" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "paymentRail": "wire", "source": { "routingNumber": "021000021", "accountNumber": "516843515316", "name": "Jane Doe", "bankName": "JP Morgan Chase" }, "amount": "100", "requestId": "32639f89-5fcc-4e31-8abe-0e710ba2e4a1", "reference": "Test deposit" }' ``` **Response:** ```json theme={null} { "message": "Sandbox deposit triggered" } ``` The sandbox will process this deposit as if real money arrived, triggering the full onramp flow including webhooks. > [!NOTE] > > **Sandbox Processing Times:** Simulated deposits in sandbox are processed > automatically after a delay: - **Wire**: \~5 minutes - **ACH**: \~8 minutes In > production, actual processing times depend on the payment rail used (ACH: 1-3 > business days, Wire: same day, RTP: real-time). ## Sample Code ### Get deposit instructions **1. Create virtual account** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "sourceCurrency": "usd", "destinationCurrency": "usdc", "destinationChain": "POLYGON" }' ``` **2. Extract and display instructions** Extract the `depositInstructions` object from the response and present the relevant bank details to your user. Example: **ACH Deposit Instructions** **Bank Name:** Cross River Bank **Routing Number:** 021214891 **Account Number:** 344176915009 **Beneficiary:** John Doe **Wire Deposit Instructions** **Bank Name:** Cross River Bank **Routing Number:** 021214891 **Account Number:** 344176915009 **Beneficiary:** John Doe **Bank Address:** 885 Teaneck Road, Teaneck, NJ 07666 **3. Track onramp transactions** List onramps to see which virtual account was used and track conversion status: ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/onramps?userId=usr_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Or subscribe to `ONRAMP.CREATE` and `ONRAMP.UPDATE` webhooks for real-time notifications. ### Send to external wallet **Option 1: Direct to external wallet** Use an `externalWalletId` instead of `destinationChain` when creating a virtual account. Funds will be deposited directly into the specified wallet address. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "sourceCurrency": "usd", "destinationCurrency": "usdc", "externalWalletId": "ew_abc123" }' ``` Deposits to this virtual account will be converted to USDC and sent directly to the external wallet address. **Option 2: Route through HIFI wallet** **1. Create virtual account** Create a standard virtual account without `externalWalletId`. Funds will arrive in the user's HIFI wallet first. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/virtual-accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "sourceCurrency": "usd", "destinationCurrency": "usdc", "destinationChain": "POLYGON" }' ``` **2. Send to external wallet** Send funds to any external address using the [Wallet Transfer API](/docs/transactions/transfer): ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destination": { "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" }, "amount": 10, "currency": "usdc", "chain": "POLYGON", "requestId": "b51fb3bb-8a48-5cfa-cc2g-c86g2589cdd7" }' ``` ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Quickstart Guide](/docs/quickstart) - Step-by-step tutorial including virtual account setup * [Users](/docs/users) - Understand user creation and KYC requirements * [Onramps](/docs/transactions/onramps) - Alternative onramp methods for non-USD currencies * [Webhooks](/docs/webhooks) - Subscribe to account and onramp events * [API Reference](https://docs.hifi.com/api-reference/virtual-account/create-a-virtual-account) - Complete endpoint documentation # Availability Source: https://docs.hifi.com/availability We operate on weekdays - Monday through Friday, excluding Federal Reserve holidays (for USD transactions). ## USD Domestic Payments ### Wire transfers Wire transfers can be processed Monday through Friday, from 9:00 PM ET of the previous business day through 7:00 PM ET of the current business day. **Cut-off times:** * Wire requests received before 3:00 PM ET are typically processed the same business day * Requests received after 3:00 PM ET may be processed the next business day * Processing after 5:00 PM ET cannot be guaranteed **Holds:** * Outgoing and incoming wires placed on hold before 3:00 PM ET are generally cleared the same business day * Wires on hold after 3:00 PM ET may be cleared the next business day * Manual hold clearance is available 9:00 AM to 5:00 PM ET, Monday through Friday ### ACH (Automated Clearing House) ACH payments process according to NACHA's ACH settlement windows: **Same Day ACH:** * Morning window: 10:00 AM ET cut-off * Afternoon window: 2:00 PM ET cut-off * Evening window: 4:00 PM ET cut-off **Standard ACH:** Requests after Same Day cut-offs settle the next business day. **Settlement:** Same Day ACH settles the current business day. Standard ACH settles the next business day. > [!NOTE] > > **Federal Reserve holiday schedule:** For holidays falling on Saturday, banks are open the preceding Friday. For holidays falling on Sunday, banks are closed the following Monday. *** ## International Payments ### SWIFT SWIFT (Society for Worldwide Interbank Financial Telecommunication) enables secure international payments through a global messaging network between financial institutions. **Settlement:** Typically 1-5 business days. ### Local rails Local payment rails like CHATS (Hong Kong) or Mobile Money (Kenya) route payments through banks in the recipient's country. **Settlement:** Instant to T+2, depending on the local clearing system. # Documents Source: https://docs.hifi.com/compliance/documents Documents enable programmatic upload and management of KYC verification documents. Upload identity documents, proof of address, and business documents through the Documents API. ## How Documents Work **1. Upload file** First, upload the document file using the [Upload File](https://docs.hifi.com/api-reference/files/upload-file) endpoint to get a file ID. **2. Add document** Then, associate the file with the user by calling [Add Documents](https://docs.hifi.com/api-reference/kyc/add-documents) with the file ID, type, subtype, and issued country. **3. KYC approval** Once all required documents are uploaded and verified, submit KYC to trigger review. ## Document Attributes Each document requires three key attributes: | Attribute | Description | Example | | :- | :- | :- | | **type** | Category of document being uploaded | `PASSPORT` | | **subType** | Side of document (for multi-sided documents) | `FRONT_SIDE` | | **issuedCountry** | ISO country code where document was issued | `US`, `GB` | ## Document Types Supported document types vary by user type (individual vs business). ### Individual Documents For `individual` user accounts: | Type | Description | Document Group | | :- | :- | :- | | **DRIVERS** | Government-issued driver's license | Identity | | **ID_CARD** | National ID card | Identity | | **PASSPORT** | Passport | Identity | | **RESIDENCE_PERMIT** | Residence permit or visa | Identity | | **PROOF_OF_ADDRESS** | Utility bill, bank statement, lease | Address | | **SELFIE** | Selfie photo for identity verification | Identity | | **AUTH_LETTER** | Authorization letter | Identity | | **UTILITY_BILL** | Utility bill | Address | | **BANK_STATEMENT** | Bank statement | Address | | **RENTAL_AGREEMENT** | Rental agreement | Address | | **TAX_DOCUMENT** | Tax document | Identity | | **VOTER_REGISTRATION_CARD** | Voter ID card | Identity | | **BANK_REFERENCE_LETTER** | Bank reference letter | Identity | | **LEASE_TENANCY_AGREEMENT** | Lease agreement | Address | ### Business Documents For `business` user accounts, requirements are organized by document groups. Check your specific rail's requirements (e.g., [USD Rail](/docs/rails/usd)). | Type | Description | Document Group | | :- | :- | :- | | **INCORPORATION_ARTICLES** | Incorporation articles document | legalPresence | | **INCORPORATION_CERT** | Incorporation certificate document | legalPresence | | **STATE_REGISTRY** | State registry document | legalPresence, ownershipStructure, controlStructure | | **SHAREHOLDER_REGISTRY** | Shareholder registry document | ownershipStructure | | **TRUST_AGREEMENT** | Trust agreement document | ownershipStructure, controlStructure | | **INFORMATION_STATEMENT** | Information statement document | ownershipStructure, controlStructure | | **DIRECTORS_REGISTRY** | Directors registry document | controlStructure | | **PROOF_OF_ADDRESS** | Proof of address document | companyDetails | ## Document SubTypes SubTypes specify which side of a document you're uploading: | SubType | Use For | | :- | :- | | **FRONT_SIDE** | Front of ID card or driver's license | | **BACK_SIDE** | Back of ID card or driver's license | | **SINGLE_SIDE** | All other documents (passport, bills, certificates) | > [!NOTE] > > **Multi-sided documents:** Only `ID_CARD` and `DRIVERS` require both `FRONT_SIDE` and `BACK_SIDE`. All other document types use `SINGLE_SIDE` only. ## Document Groups Compliance requirements are organized into document groups. Users must satisfy all required groups for KYC approval. ### Individual Requirements For individual users, typically required: **Identity Group** (satisfy with one of): * Driver's License (front + back) * ID Card (front + back) * Passport * Residence Permit **Address Group** (satisfy with one of): * Utility bill * Bank statement * Lease agreement ### Business Requirements Business document requirements are organized by groups. Requirements vary by rail and jurisdiction. **For USD Rail**, typically required groups include: * **legalPresence** (min 1): INCORPORATION_ARTICLES, INCORPORATION_CERT, or STATE_REGISTRY * **ownershipStructure** (min 1): SHAREHOLDER_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, or STATE_REGISTRY * **companyDetails** (min 1): PROOF_OF_ADDRESS * **controlStructure** (min 1): DIRECTORS_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, or STATE_REGISTRY **Beneficial Owner Identity** (for each owner >25% share): * Same as individual identity requirements: DRIVERS, ID_CARD, PASSPORT, or RESIDENCE_PERMIT > [!NOTE] > > Specific requirements vary by rail and jurisdiction. Check the KYC requirements for your specific use case. ## Uploading Documents Document upload is a two-step process: first upload the file, then associate it with the user. ### Step 1: Upload File Upload the document file using the [Upload File](https://docs.hifi.com/api-reference/files/upload-file) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/files" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: multipart/form-data" \ -F "file=@/path/to/passport.pdf" ``` **Response:** ```json theme={null} { "id": "file_zEFpbPhk71NaQfEVMR544", "createdAt": "2023-10-01T12:00:00Z", "fileName": "passport.pdf", "size": 204800, "mimeType": "application/pdf" } ``` Save the `id` from the response - you'll need it in step 2. ### Step 2: Add Document Associate the uploaded file with the user using the [Add Documents](https://docs.hifi.com/api-reference/kyc/add-documents) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/kyc/documents" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "userId": "usr_abc123", "type": "PASSPORT", "subType": "SINGLE_SIDE", "issuedCountry": "US", "fileId": "file_zEFpbPhk71NaQfEVMR544" }' ``` **Request Fields:** * **userId** (required): User ID for whom documents are being uploaded * **type** (required): Document type from the supported types list * **subType** (required): `FRONT_SIDE`, `BACK_SIDE`, or `SINGLE_SIDE` * **issuedCountry** (required): ISO 3166-1 alpha-2 country code * **fileId** (required): File ID from step 1 **Response:** ```json theme={null} { "id": "doc_abc123", "type": "PASSPORT", "subType": "SINGLE_SIDE", "issuedCountry": "US", "fileId": "file_zEFpbPhk71NaQfEVMR544", "url": "https://example.com/doc_123" } ``` > [!NOTE] > > For detailed field documentation, see the [Add Documents](https://docs.hifi.com/api-reference/kyc/add-documents) API reference. ## File Requirements Documents must meet these requirements: | Requirement | Specification | | :- | :- | | **File types** | PDF, JPG, JPEG, PNG | | **Max size** | 10 MB per file | | **Resolution** | Minimum 300 DPI recommended | | **Quality** | Clear, legible, all corners visible | | **Color** | Color or grayscale (no black & white) | > [!WARNING] > > **Document quality matters:** Blurry, cropped, or illegible documents will be rejected. Ensure all text and photos are clearly visible before uploading. ## Key Concepts > [accordion] Satisfying Document Groups > > KYC approval requires satisfying all document groups: > > **Example for Individual (USD Rail):** > > * **Identity group:** Upload ONE of (passport, driver's license, ID card, residence permit) > * **Address group:** Upload ONE of (utility bill, bank statement, lease) > > **Example for Business (USD Rail):** > > * **legalPresence group:** Upload ONE of (INCORPORATION_ARTICLES, INCORPORATION_CERT, STATE_REGISTRY) > * **ownershipStructure group:** Upload ONE of (SHAREHOLDER_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, STATE_REGISTRY) > * **companyDetails group:** Upload ONE of (PROOF_OF_ADDRESS) > * **controlStructure group:** Upload ONE of (DIRECTORS_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, STATE_REGISTRY) > * **Owner identity:** Upload identity documents for EACH beneficial owner (>25% share) > > You must provide enough documents to satisfy each required group. > [accordion] Multi-sided Document Upload > > For driver's licenses and ID cards, upload both sides separately using the two-step process: > > **Upload front side:** > > ```bash theme={null} > # Step 1: Upload front file > curl -X POST "https://sandbox.hifi.com/v2/files" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -F "file=@front.jpg" > # Returns: { "id": "file_front123", ... } > > # Step 2: Add front document > curl -X POST "https://sandbox.hifi.com/v2/kyc/documents" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "userId": "usr_abc123", > "type": "DRIVERS", > "subType": "FRONT_SIDE", > "issuedCountry": "US", > "fileId": "file_front123" > }' > ``` > > **Upload back side:** > > ```bash theme={null} > # Step 1: Upload back file > curl -X POST "https://sandbox.hifi.com/v2/files" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -F "file=@back.jpg" > # Returns: { "id": "file_back123", ... } > > # Step 2: Add back document > curl -X POST "https://sandbox.hifi.com/v2/kyc/documents" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "userId": "usr_abc123", > "type": "DRIVERS", > "subType": "BACK_SIDE", > "issuedCountry": "US", > "fileId": "file_back123" > }' > ``` > > Both uploads must complete successfully for the document to be considered complete. > [accordion] Issued Country Importance > > The `issuedCountry` field is critical for compliance: > > * Must match the country that issued the document > * Use ISO 3166-1 alpha-2 codes (e.g., `US`, `GB`, `CA`, `DE`) > * Affects which documents are accepted > * Used for sanctions screening and compliance checks > > **Common codes:** > > * `US` - United States > * `GB` - United Kingdom > * `CA` - Canada > * `MX` - Mexico > * `BR` - Brazil > [accordion] Document Status > > Uploaded documents progress through verification: > > * **PENDING_REVIEW:** Document uploaded, awaiting verification > * **APPROVED:** Document verified and accepted > * **REJECTED:** Document rejected (see rejection reason) > * **EXPIRED:** Document expired and needs replacement > > Subscribe to KYC webhook events to track document verification status. > [accordion] Proof of Address Requirements > > Proof of address documents must meet specific criteria: > > **Accepted documents:** > > * Utility bills (electric, gas, water, internet) > * Bank statements > * Lease agreements > * Government correspondence > > **Requirements:** > > * Dated within last 3 months > * Shows full name matching KYC information > * Shows complete address > * Issued by reputable organization ## Sample Code Here's a complete document upload workflow for individual KYC: **1. Upload identity document** Upload the identity document (passport): ```javascript theme={null} async function uploadIdentityDocument(userId, passportFile) { const formData = new FormData(); formData.append('userId', userId); formData.append('type', 'PASSPORT'); formData.append('subType', 'SINGLE_SIDE'); formData.append('issuedCountry', 'US'); formData.append('file', passportFile); const response = await fetch('https://sandbox.hifi.com/v2/kyc/documents', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY' }, body: formData }).then(r => r.json()); console.log('Passport uploaded:', response.documentId); return response; } ``` **2. Upload proof of address** Upload the proof of address document: ```javascript theme={null} async function uploadProofOfAddress(userId, utilityBillFile) { const formData = new FormData(); formData.append('userId', userId); formData.append('type', 'PROOF_OF_ADDRESS'); formData.append('subType', 'SINGLE_SIDE'); formData.append('issuedCountry', 'US'); formData.append('file', utilityBillFile); const response = await fetch('https://sandbox.hifi.com/v2/kyc/documents', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY' }, body: formData }).then(r => r.json()); console.log('Proof of address uploaded:', response.documentId); return response; } ``` **3. Upload driver's license (both sides)** Upload both sides of the driver's license: ```javascript theme={null} async function uploadDriversLicense(userId, frontFile, backFile) { // Upload front const frontData = new FormData(); frontData.append('userId', userId); frontData.append('type', 'DRIVERS'); frontData.append('subType', 'FRONT_SIDE'); frontData.append('issuedCountry', 'US'); frontData.append('file', frontFile); const frontResponse = await fetch('https://sandbox.hifi.com/v2/kyc/documents', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY' }, body: frontData }).then(r => r.json()); console.log('Front side uploaded:', frontResponse.documentId); // Upload back const backData = new FormData(); backData.append('userId', userId); backData.append('type', 'DRIVERS'); backData.append('subType', 'BACK_SIDE'); backData.append('issuedCountry', 'US'); backData.append('file', backFile); const backResponse = await fetch('https://sandbox.hifi.com/v2/kyc/documents', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY' }, body: backData }).then(r => r.json()); console.log('Back side uploaded:', backResponse.documentId); return { front: frontResponse, back: backResponse }; } ``` **4. Complete KYC workflow** Complete the KYC workflow: ```javascript theme={null} async function completeKYC(userId, documents) { // Upload identity document await uploadIdentityDocument(userId, documents.passport); // Upload proof of address await uploadProofOfAddress(userId, documents.utilityBill); // Check KYC status const user = await fetch(`https://sandbox.hifi.com/v2/users/${userId}`, { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }).then(r => r.json()); console.log('KYC Status:', user.kycStatus); if (user.kycStatus === 'APPROVED') { console.log('KYC approved! User can now offramp.'); } else if (user.kycStatus === 'PENDING') { console.log('KYC under review. Documents are being verified.'); } } ``` **5. Handle webhook for document verification** Handle webhook events for document verification: ```javascript theme={null} function handleDocumentWebhook(event) { if (event.eventType === 'USER.KYC.UPDATE') { const { id, kycStatus, kycRejectionReason } = event.data; if (kycStatus === 'APPROVED') { console.log('KYC approved for user:', id); enableOfframping(id); } else if (kycStatus === 'REJECTED') { console.log('KYC rejected:', kycRejectionReason); notifyUserToResubmit(id, kycRejectionReason); } } } ``` ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Users](/docs/users) - Understanding user accounts and KYC status * [KYC Link](/docs/features/kyc-links) - Hosted KYC collection flow * [Webhooks](/docs/webhooks) - Monitor KYC verification status * [API Reference](https://docs.hifi.com/api-reference/kyc/add-documents) - Complete endpoint documentation # ID Verification Source: https://docs.hifi.com/compliance/documents/identity Identity documents are required for KYC verification. The accepted document types and requirements vary by country. Use the [Identity Documents](/docs/references/identity-documents) reference to determine which documents are accepted for each country and their required subtypes. > [!NOTE] > > Notarized copies of identity documents are accepted. Documents issued in > breakaway regions are not accepted by default. ## Document Requirements ID documents must contain: * Owner full name * Date of birth * Photo * Signature (if applicable) * Document number * Validity data (issue date or validity period) ## Photo Requirements The ID document photo must meet the following requirements: * Original photo (static image) or scan — not a screenshot or photo uploaded from social networks * File format: JPG, JPEG, PNG, PDF, or HEIC * Both sides required if the document has data on front and back * File size: No less than 100 KB or 300 DPI * Color photo * All information must be readable * All corners of the document visible — no foreign objects or graphic elements * Not edited with any software or converted to PDF * Physical document (digital documents are not accepted in most cases) # Proof of Address Source: https://docs.hifi.com/compliance/documents/proof-of-address Proof of Address (PoA) documents are required to verify a user's residential or business address. Requirements differ for individual and business users. ## Individual Users For individual users, PoA documents must: * Confirm the current residential address * Be issued within the **last 3 months** * Exclude PO boxes and business addresses **Accepted documents:** * Voter registration * Tax bill * Phone bill * Utility bill * Bank statement * Bank letter * Lease agreement * Driver License (US and Canada Only) * ID Card (US and Canada Only) * Residence Permit (US and Canada Only) ## Business Users For business users, PoA documents must: * Confirm the current operating address * Be issued within the **last 3 months** * Exclude PO boxes and virtual addresses **Accepted documents:** * Bank statement * Utility bill * Government-issued letter * Office lease agreement ## Content Requirements PoA documents must contain: * Owner full name * Full address (residential for individuals, operating for businesses) * Issue date * Issuing authority identification data ## Photo Requirements PoA document photos must meet the following requirements: * Original photo (static image), scan, or screenshot * File format: JPG, JPEG, PNG, or PDF * Both sides required if the document has data on front and back * File size: Under 10 MB * All information must be readable * All corners of the document visible — no foreign objects or graphic elements * Not edited with any software or converted to PDF # External Wallet Screening Source: https://docs.hifi.com/compliance/external-wallet-screening Every external wallet must now pass compliance screening before it can receive funds. New wallets are screened from launch, and existing wallets must be re-submitted before **Wednesday, November 11, 2026 11AM ET**, or they will stop working. > [!WARNING] > > From **Wednesday, November 11, 2026 11AM ET**, any wallet that hasn't cleared screening is deactivated, and transfers sent to a raw `walletAddress` are rejected. ## Key Dates | When | What Happens | | :- | :- | | From launch | New wallets are screened and can be used while under review. Flagged wallets are blocked immediately. Existing wallets keep working. | | Until Wednesday, November 11, 2026 | Re-submit every existing wallet you still use. | | From Wednesday, November 11, 2026 | Any wallet that hasn't cleared is deactivated. Raw `walletAddress` destinations are rejected. | ## What This Means for You ### New Wallets * A wallet created with `POST /v2/users/{userId}/wallets/external` starts active (`active: true`, `screeningStatus: UNDER_REVIEW`). * The wallet can be used straight away. If screening returns `FLAGGED`, it is deactivated and you receive a `WALLET.EXTERNAL_WALLET.UPDATE` webhook. * Any transfer to a wallet that isn't active is rejected. ### Existing Wallets * They keep working as usual until Wednesday, November 11, 2026. * Re-submit each one you still use before then (see below). It stays active while under review. * From Wednesday, November 11, 2026, any wallet that isn't `CLEARED` is deactivated. To use it again, register it with a new `referenceId` and wait for it to clear. ### Flagged Wallets * A `FLAGGED` wallet is deactivated immediately, at any time, including existing wallets before November 11. * It is blocked from all transactions and can't be linked to a virtual account. ### Raw Addresses * From Wednesday, November 11, 2026, every destination must be a registered external wallet. * Crypto transfers and bridging that send to `destination.walletAddress` will be rejected. Register the address as an external wallet, wait for it to clear, and send to `destination.externalWalletId` instead. ## Re-submitting an Existing Wallet Send the original registration request again, unchanged. The wallet keeps its `id` and keeps working while it is screened. **1. Call the external wallet endpoint** Call `POST /v2/users/{userId}/wallets/external` for the same user. **2. Send the original values** Send the **same** `referenceId`, `address`, `chain` and `name` as the original registration. **3. Confirm the wallet is under review** The response returns the **same wallet** `id` with `screeningStatus: UNDER_REVIEW` and `active: true`. **4. Wait for the webhook** Wait for the `WALLET.EXTERNAL_WALLET.UPDATE` webhook. `CLEARED` means you're done; `FLAGGED` means the wallet is now deactivated. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/wallets/external" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "referenceId": "", "address": "", "chain": "", "name": "" }' ``` > [!NOTE] > > Changing the address, chain or name returns a `400` `EXTERNAL_WALLET_ALREADY_EXISTS` error. Deleted wallets can't be re-submitted; register them again with a new `referenceId`. ## Screening Status and Webhooks The external wallet response now includes `screeningStatus` next to `active`. Use `active` to decide whether a wallet can be used. | `screeningStatus` | Meaning | `active` | | :- | :- | :- | | `UNDER_REVIEW` | Screening in progress, or held for manual review by our compliance team | `true`. If screening fails, the status changes to `FLAGGED` and `active` becomes `false` | | `CLEARED` | Passed screening | `true` | | `FLAGGED` | Failed screening; blocked from all transactions | `false` | | `NOT_SCREENED` | The chain isn't supported for screening yet | `true` | | `null` | Registered before this change and not yet re-submitted | `true` until Wednesday, November 11, 2026 | When a wallet's status changes, we send a `WALLET.EXTERNAL_WALLET.UPDATE` webhook with the updated wallet (`id`, `userId`, `chain`, `name`, `address`, `referenceId`, `active`, `screeningStatus`, `createdAt`, `updatedAt`). > [!NOTE] > > No webhook is sent when wallets are deactivated on November 11. Check `active` on your wallets after that date. ## Virtual Accounts A virtual account created with an `externalWalletId` follows that wallet's status. If the wallet is blocked, deposits are not delivered. * You can only set `externalWalletId` to an **active** wallet. * If the linked wallet is later flagged, deactivated on November 11, or deleted, new deposits **fail** instead of being delivered. * A failed deposit's onramp ends as `FIAT_FAILED` with error `EXTERNAL_WALLET_INACTIVE` ("External wallet is not active"), and you'll get the usual onramp status webhook. No crypto is sent. * To keep receiving deposits, update the virtual account to point to a wallet that has cleared. * Virtual accounts that deliver to the user's HIFI wallet (`destinationChain` with no `externalWalletId`) are not affected. ## Testing and Common Errors You can test the full flow in sandbox now. The wallet `name` picks the result: | `name` | Result | | :- | :- | | `FLAGGED` | `FLAGGED`, wallet is deactivated | | Anything else | `CLEARED`, wallet stays active | | Response | What It Means | What to Do | | :- | :- | :- | | `503` `SERVICE_UNAVAILABLE` "Unable to register the external wallet right now. Please try again later." | Screening couldn't be started; no wallet was created | Retry the same request | | `400` `EXTERNAL_WALLET_ALREADY_EXISTS` | That `referenceId` is already used with a different address, chain or name | Use a new `referenceId`, or re-send the original values | | Transfer rejected: wallet not active | The wallet is flagged or deactivated | Check `screeningStatus`; register a new wallet if needed | ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallets](/wallets) - Wallet provisioning, balances, and transfers * [Wallet Events](/webhooks/wallet-events) - Wallet webhook notifications * [Virtual Accounts](/accounts/virtual-accounts) - Set up fiat onramps to wallets * [Transfers](/transactions/transfers) - Send stablecoins between wallets # Industries Source: https://docs.hifi.com/compliance/industries HIFI operates with strict compliance and risk management policies to ensure the safety and integrity of our platform. Certain industries are prohibited or require enhanced due diligence due to regulatory requirements, compliance obligations, and risk management considerations. ## Prohibited Industries > [!NOTE] > > HIFI does not support businesses or activities related to the industries > below. You will not be able to create Users or transfers for these business > types. ### Dangerous, Illegal or Violent Activities * Drugs (Heroin, Cocaine, Methamphetamine, Marijuana, Fentanyl, etc.) * Stolen, embargoed and smuggled goods * Hate, violence, or racial intolerance * Counterfeit goods and other intellectual property violations * Child pornography, child exploitation * Sexually-oriented materials or services * Human trafficking, ransoms * Weapons, firearms and ammunition * Defense company * Bribery or corruption * Shell banks and non-resident banks with no physical presence in any jurisdiction * Crypto mixers, tumblers, and darknet marketplaces * Payday lending and high-cost short-term consumer lending * Foreign government entities and diplomatic missions (embassies, consulates, permanent missions) ### High Scam or Fraud Risks * Pyramid schemes, multi-level marketing programs, "Get rich quick" schemes * Direct marketing insurance services, travel-related arrangement, outbound/inbound telemarketing * Door-to-door sales * Gambling, lotteries * Questionable medical or investment benefit, opportunities, services * Circumvention Devices (mod chips, rippers, etc.) * Fortune tellers, astrologers ### Stringent Regulations or High Criminal Abuse Risk * Stocks, bonds and futures * Alcohols, Alcoholic beverages * Cigarettes, E-cigarettes or non-cigarette tobacco products * Animals and wildlife products * Prescription drugs and devices * Medical Devices (i.e. contact lenses, pacemakers, surgical instruments, etc.) * Off-shore banking * Unlicensed or unregistered money service businesses and virtual asset service providers (VASPs) * Consumer credit reporting agencies * Credit repair services * Pawn shops * Bail bond payments * Second hand stores, used merchandise stores * Real estate sales * Timeshares * Dating and escort services * Debt, marriage, counseling services * Detective agencies, protective agencies, security/bodyguard services * Massage Parlors ## Rail-specific restrictions > [!WARNING] > > Certain businesses, including fintechs and licensed crypto trading platforms, > may not allowed on the [Global Network rail](/docs/rails/global-network). ## High Risk Industries > [!NOTE] > > These industries require Enhanced Due Diligence (EDD) and Compliance approval > before being able to use HIFI services. * Charities, non-profit, religious/political organizations accepting donations, fundraising * Crowd-funding * Associations Civic, Social, and Fraternal * Auction * Aggregator * Money services / money transfers businesses * Quasi cash financial services (i.e. traveler's check, money orders) * Prepaid cards, store-value facilities, remote stored value load * Billing, collections, escrow services * Insurance (annuities, life) * Member financial institution (manual & automated cash, merchandise, quasi cash) * Art, antiques, fine jewelry * Virtual products, digital goods, online games * Video game arcades/establishments * Industrial machinery and materials, lab and scientific equipment (over \$500,000 per contract) * Automobiles * Airlines, air carriers * Passenger railways, limousines and taxicabs, cruise Lines * Courier services air and ground, freight * Telecommunication services * Cable, satellite, and other pay television and radio * Direct marketing (catalogue merchants, combination catalogue and retail, continuity/subscription) * Pre-selling models for non-custom orders * Legal, accountant and tax services * Travel agency, ticketing services, and tour operators * Employment agencies, temporary help services * Theatrical and motion pictures producers and ticketing * Amusement parks, carnivals, circuses * Athletic fields, commercial sports, professional sports * Country and membership clubs # Liveness Checks Source: https://docs.hifi.com/compliance/liveness-checks Enhanced verification for UBOs. Business users incorporated in certain countries must have qualifying Ultimate Beneficial Owners (UBOs) complete a hosted identity and liveness check before USD virtual accounts can be enabled. ## Countries The following countries require qualifying UBOs to complete biometric liveness verification before USD virtual accounts can be enabled. | Country | ISO Code | Capability | | :- | :- | :- | | Bolivia | BO | USD Virtual Account | | India | IN | USD Virtual Account | | Nigeria | NG | USD Virtual Account | | Panama | PA | USD Virtual Account | | Philippines | PH | USD Virtual Account | | Saudi Arabia | SA | USD Virtual Account | | Vietnam | VN | USD Virtual Account | ## Requirements > [card] 10% UBO threshold > > All UBOs with 10% ownership or above must complete full individual KYC > before the entity can be approved. > [card] Hosted liveness check > > Qualifying UBOs must complete biometric liveness verification. ## Integration Guide > [card] [Implement liveness checks](/guides/liveness-checks) > > Learn how to interpret the KYC Status response, identify UBOs who still need > to act, and send them to the hosted verification flow. ## Related Pages * [Coverage](/coverage) * [USD Rail](/rails/usd) * [Regions](/compliance/regions) * [KYC Links](/features/kyc-links) * [KYC Requirements](/kyc/kyc-requirements) * [KYB Status](/kyc/kyb-status) * [Liveness Checks guide](/guides/liveness-checks) # Regions Source: https://docs.hifi.com/compliance/regions HIFI operates globally with services available to individuals and businesses all over the world. However, due to regulatory requirements, certain jurisdictions are restricted from using our services. ## Prohibited Regions > [!WARNING] > > HIFI does not support individuals or businesses from the regions below. You will not be able to create Users or Transfers within these jurisdictions. * Cuba (CU) * Iran (IR) * Korea, North (KP) * Russia (RU) * Syria (SY) * Ukraine — Crimea, Donetsk, and Luhansk regions only * Venezuela (VE) ## High Risk Regions Business users incorporated in some supported countries can be enabled for USD virtual accounts after qualifying UBOs complete liveness checks. | Country | ISO Code | Business | Individual | | :- | :- | - | - | | Bahamas | BHS | Yes | Yes | | Bolivia | BOL | Yes | Yes | | Costa Rica | CRI | Yes | Yes | | Dominican Republic | DOM | Yes | Yes | | Ecuador | ECU | Yes | Yes | | Fiji | FJI | Yes | Yes | | Guatemala | GTM | Yes | Yes | | Honduras | HND | Yes | Yes | | India | IND | Yes | Yes | | Jamaica | JAM | Yes | Yes | | Monaco | MCO | Yes | Yes | | Nigeria | NGA | Yes | Yes | | Panama | PAN | Yes | Yes | | Peru | PER | Yes | Yes | | Philippines | PHL | Yes | Yes | | Saudi Arabia | SAU | Yes | Yes | | Trinidad and Tobago | TTO | Yes | Yes | | Turkey | TUR | Yes | Yes | | Vietnam | VNM | Yes | Yes | | China | CHN | Yes | Yes | | Colombia | COL | Yes | Yes | | Hong Kong | HKG | Yes | Yes | | Bosnia and Herzegovina | BIH | Yes | Yes | | Brazil | BRA | Yes | Yes | | Bulgaria | BGR | Yes | Yes | | Mexico | MEX | Yes | Yes | | Nepal | NPL | Yes | Yes | | Paraguay | PRY | Yes | Yes | | U.S. Virgin Islands | VIR | Yes | Yes | > [!NOTE] > > See [Liveness Checks](/compliance/liveness-checks) for ownership thresholds and the [Liveness Checks guide](/guides/liveness-checks) for the integration flow. ## Not Supported Regions > [!NOTE] > > The following regions are currently not supported by HIFI services. However, there may be a possible path to acceptance for these regions in the future. If any of these regions are highly relevant to your use case, please contact our team to discuss the path forward. | Country | ISO Code | | :- | :- | | Afghanistan | AFG | | Algeria | DZA | | Angola | AGO | | Azerbaijan | AZE | | Belarus | BLR | | Belize | BLZ | | Benin | BEN | | Burkina Faso | BFA | | Burma (Myanmar) | MMR | | Burundi | BDI | | Cambodia | KHM | | Cameroon | CMR | | Central African Republic | CAF | | Chad | TCD | | Comoros | COM | | Congo, Democratic Republic of the | COD | | Congo, Republic of the | COG | | Cote d'Ivoire | CIV | | Cyprus, Turkish Cypriot Administered | - | | Egypt | EGY | | El Salvador | SLV | | Equatorial Guinea | GNQ | | Eritrea | ERI | | Eswatini | SWZ | | Ethiopia | ETH | | Guinea | GIN | | Guinea-Bissau | GNB | | Haiti | HTI | | Iraq | IRQ | | Kenya | KEN | | Kyrgyzstan | KGZ | | Laos | LAO | | Lebanon | LBN | | Liberia | LBR | | Libya | LBY | | Mali | MLI | | Moldova | MDA | | Mozambique | MOZ | | Nicaragua | NIC | | Niger | NER | | Pakistan | PAK | | Palestinian Territories | PSE | | Saint Kitts and Nevis | KNA | | Senegal | SEN | | Somalia | SOM | | South Sudan | SSD | | Sudan | SDN | | Suriname | SUR | | Tajikistan | TJK | | Tanzania | TZA | | Tunisia | TUN | | Turkmenistan | TKM | | Vanuatu | VUT | | Yemen | YEM | | Zimbabwe | ZWE | # Coverage Source: https://docs.hifi.com/coverage HIFI enables inflows and outflows across multiple regions. Here are the countries and currencies we support by rail. ## USD Rail | Country | Currency | Direction | Payment Methods | | - | - | - | - | | United States of America | USD | Payin, Payout | WIRE, ACH, RTP, SWIFT (Payout-only) | | Australia | USD | Payout | SWIFT | | Austria | USD | Payout | SWIFT | | Belgium | USD | Payout | SWIFT | | Brazil | USD | Payout | SWIFT | | Canada | USD | Payout | SWIFT | | Colombia | USD | Payout | SWIFT | | Croatia | USD | Payout | SWIFT | | Estonia | USD | Payout | SWIFT | | Finland | USD | Payout | SWIFT | | France | USD | Payout | SWIFT | | Germany | USD | Payout | SWIFT | | Greece | USD | Payout | SWIFT | | Guatemala | USD | Payout | SWIFT | | India | USD | Payout | SWIFT | | Ireland | USD | Payout | SWIFT | | Italy | USD | Payout | SWIFT | | Japan | USD | Payout | SWIFT | | Lithuania | USD | Payout | SWIFT | | Luxembourg | USD | Payout | SWIFT | | Malaysia | USD | Payout | SWIFT | | Mexico | USD | Payout | SWIFT | | Netherlands | USD | Payout | SWIFT | | New Zealand | USD | Payout | SWIFT | | Norway | USD | Payout | SWIFT | | Oman | USD | Payout | SWIFT | | Philippines | USD | Payout | SWIFT | | Portugal | USD | Payout | SWIFT | | Slovenia | USD | Payout | SWIFT | | Spain | USD | Payout | SWIFT | | Sweden | USD | Payout | SWIFT | | United Arab Emirates | USD | Payout | SWIFT | | United Kingdom | USD | Payout | SWIFT | | Uruguay | USD | Payout | SWIFT | > [!NOTE] > > USD SWIFT payouts are currently limited to senders based in the United States. For other regions, please use the [Global Network](/rails/global-network) rail. * [Learn more about the USD Rail](/rails/usd) ## Global Network Rail The Global Network Rail supports international payouts in local currencies and USD through SEPA, SWIFT, and local payment networks. | Country | Currency | Direction | Payment Methods | | - | - | - | - | | Albania | EUR | Payout | SEPA | | Andorra | EUR | Payout | SEPA | | Argentina | USD | Payout | SWIFT | | Australia | USD | Payout | SWIFT | | Australia | AUD | Payout | BECS | | Austria | EUR | Payout | SEPA | | Austria | USD | Payout | SWIFT | | Belgium | EUR | Payout | SEPA | | Belgium | USD | Payout | SWIFT | | Brazil | BRL | Payout | PIX | | Brazil | USD | Payout | SWIFT | | Bulgaria | EUR | Payout | SEPA | | Bulgaria | USD | Payout | SWIFT | | Canada | USD | Payout | SWIFT | | Canada | CAD | Payout | ACSS | | Chile | USD | Payout | SWIFT | | China | CNY | Payout | SWIFT | | China | USD | Payout | SWIFT | | Colombia | COP | Payout | Bank Transfer (ACH), NEQUI | | Colombia | USD | Payout | SWIFT | | Croatia | EUR | Payout | SEPA | | Croatia | USD | Payout | SWIFT | | Cyprus | EUR | Payout | SEPA | | Cyprus | USD | Payout | SWIFT | | Czech Republic | EUR | Payout | SEPA | | Czech Republic | USD | Payout | SWIFT | | Denmark | EUR | Payout | SEPA | | Denmark | USD | Payout | SWIFT | | Estonia | EUR | Payout | SEPA | | Estonia | USD | Payout | SWIFT | | Finland | EUR | Payout | SEPA | | Finland | USD | Payout | SWIFT | | France | EUR | Payout | SEPA | | France | USD | Payout | SWIFT | | Georgia | USD | Payout | SWIFT | | Germany | EUR | Payout | SEPA | | Germany | USD | Payout | SWIFT | | Greece | EUR | Payout | SEPA | | Greece | USD | Payout | SWIFT | | Hong Kong | HKD | Payout | SWIFT, CHATS, FPS | | Hong Kong | USD | Payout | SWIFT | | Hungary | EUR | Payout | SEPA | | Hungary | USD | Payout | SWIFT | | Iceland | EUR | Payout | SEPA | | Iceland | USD | Payout | SWIFT | | India | INR | Payout | IMPS, NEFT, RTGS | | Indonesia | USD | Payout | SWIFT | | Ireland | EUR | Payout | SEPA | | Ireland | USD | Payout | SWIFT | | Israel | USD | Payout | SWIFT | | Italy | EUR | Payout | SEPA | | Italy | USD | Payout | SWIFT | | Japan | USD | Payout | SWIFT | | Japan | JPY | Payout | ZENGIN | | Kenya | USD | Payout | SWIFT | | Latvia | EUR | Payout | SEPA | | Latvia | USD | Payout | SWIFT | | Liechtenstein | EUR | Payout | SEPA | | Liechtenstein | USD | Payout | SWIFT | | Lithuania | EUR | Payout | SEPA | | Lithuania | USD | Payout | SWIFT | | Luxembourg | EUR | Payout | SEPA | | Luxembourg | USD | Payout | SWIFT | | Macau | USD | Payout | SWIFT | | Malta | EUR | Payout | SEPA | | Malta | USD | Payout | SWIFT | | Mexico | MXN | Payout | SPEI | | Mexico | USD | Payout | SWIFT | | Moldova | EUR | Payout | SEPA | | Monaco | EUR | Payout | SEPA | | Montenegro | EUR | Payout | SEPA | | Netherlands | EUR | Payout | SEPA | | Netherlands | USD | Payout | SWIFT | | New Zealand | USD | Payout | SWIFT | | Nigeria | USD | Payout | SWIFT | | Nigeria | NGN | Payout | Bank | | North Macedonia | EUR | Payout | SEPA | | Norway | EUR | Payout | SEPA | | Norway | USD | Payout | SWIFT | | Panama | USD | Payout | SWIFT | | Paraguay | USD | Payout | SWIFT | | Poland | EUR | Payout | SEPA | | Poland | USD | Payout | SWIFT | | Portugal | EUR | Payout | SEPA | | Portugal | USD | Payout | SWIFT | | Romania | EUR | Payout | SEPA | | Romania | USD | Payout | SWIFT | | San Marino | EUR | Payout | SEPA | | Serbia | EUR | Payout | SEPA | | Serbia | USD | Payout | SWIFT | | Singapore | SGD | Payout | Local | | Singapore | USD | Payout | SWIFT | | Slovakia | EUR | Payout | SEPA | | Slovakia | USD | Payout | SWIFT | | Slovenia | EUR | Payout | SEPA | | Slovenia | USD | Payout | SWIFT | | South Africa | USD | Payout | SWIFT | | South Korea | USD | Payout | SWIFT | | Spain | EUR | Payout | SEPA | | Spain | USD | Payout | SWIFT | | Sweden | EUR | Payout | SEPA | | Sweden | USD | Payout | SWIFT | | Switzerland | EUR | Payout | SEPA | | Taiwan | USD | Payout | SWIFT | | Thailand | USD | Payout | SWIFT | | Turkey | USD | Payout | SWIFT | | United Arab Emirates | AED | Payout | Bank Transfer (IPP/FTS) | | United Arab Emirates | USD | Payout | SWIFT | | United Kingdom | EUR | Payout | SEPA | | United Kingdom | USD | Payout | SWIFT | | United Kingdom | GBP | Payout | Bank Transfer | | Vatican City | EUR | Payout | SEPA | | Vietnam | USD | Payout | SWIFT | | Vietnam | VND | Payout | NAPAS | [Learn more about the Global Network Rail](/rails/global-network) ## Africa Rail (Beta) The Africa Rail supports local-currency pay-ins and payouts through bank transfers and mobile money in select African countries. | Country | Currency | Direction | Payment Methods | | - | - | - | - | | Benin | XOF | Payin, Payout | Mobile Money | | Botswana | BWP | Payin, Payout | Bank, Mobile Money | | Burkina Faso | XOF | Payout | Mobile Money | | Cameroon | XAF | Payin, Payout | Mobile Money | | Côte d'Ivoire | XOF | Payin, Payout | Mobile Money | | Kenya | KES | Payout | Bank, Mobile Money | | Malawi | MWK | Payin, Payout | Mobile Money | | Mali | XOF | Payout | Mobile Money | | Nigeria | NGN | Payin, Payout | Bank Transfer | | Senegal | XOF | Payout | Mobile Money | | South Africa | ZAR | Payout | Bank | | Tanzania | TZS | Payin, Payout | Bank, Mobile Money | | Togo | XOF | Payin, Payout | Mobile Money | | Uganda | UGX | Payin, Payout | Mobile Money | | Zambia | ZMW | Payin, Payout | Mobile Money | [Learn more about the Africa Rail](/rails/africa) # Dashboard Source: https://docs.hifi.com/dashboard The HIFI Dashboard is a web application for managing your keys, data, transactions and settings. Access the same capabilities as the API through an intuitive web interface—no code required. ![Screenshot of the HIFI Dashboard interface](https://mintcdn.com/hifi/G_h1aaIDWOZU3atQ/images/dashboard.png?fit=max\&auto=format\&n=G_h1aaIDWOZU3atQ\&q=85\&s=e6290d7c06b72ecd32035129da7f3b60) ## Getting access Request access at [hifi.com/contact](https://www.hifi.com/contact?utm_source=docs\&utm_medium=referral\&utm_campaign=request_access). Our team will review and approve your account. ## Roles and permissions Control access through three permission levels. Each role determines what team members can view and modify. > [!NOTE] > > Users are always granted admin access in the **sandbox** environment, > regardless of their role in production. ### Admin Complete access to all features and settings. Admins can create users, manage wallets and transactions, configure API keys, assign team roles, access financial reports, set up approval workflows, update business settings, and view billing. ### Member Operational access with approval requirements for sensitive actions. Members can manage users and accounts but need approval for transfers. They cannot update business settings or view billing information. ### Analyst Read-only access for monitoring and reporting. Analysts can view all business and user data but cannot create or modify anything. ## Assigning roles Navigate to **Developer** → **Team**, select a team member, choose their role, and save. Changes take effect immediately. # ACH Disputes Source: https://docs.hifi.com/disputes This section outlines how disputes are handled for ACH Debit (pull) and ACH Credit (push) transactions, as well as ACH Reversals. > ACH Pull is restricted across HIFI and a Developer must enter into an additional agreement to enable ACH Pull. ## Key Differences | | **ACH Debit Return** | **ACH Credit Return** | **Reversal** | | :- | :- | :- | :- | | **Initiated by** | Receiver | Sender | Originator | | **Type** | Return | Recall | Correction entry | | **Processing** | Automatic | Manual | New ACH entry | | **Timing** | 2 days / 60 days | No guarantee | ≤5 days | | **Funds movement** | Forced return | Requires approval | Requires acceptance | | **Risk holder** | Client (originator) | Sender | Originator | | **Control** | Monitoring | Debit blocks | Debit blocks | ## ACH Debit (Pull Payments) Disputes ### Overview Disputes are initiated by the Receiver and processed through the ACH network as returns. ### Common Reasons (Return Codes) * Unauthorized Return codes (R05, R07, R10, R11, R29) * Insufficient Funds Return code (R01) * Invalid / Closed Account Return code (R02,R03,R04) ### Timeframes * Standard: 2 business days * Unauthorized (consumer): up to 60 days ### Handling * Returns are automatically processed by the network * Funds are debited from our account * Client balances may go negative → covered by reserves ### Controls * Internal Return rate monitoring thresholds (originator-level): * Unauthorized: 0.20% * Administrative: 2% * Overall: 10% * Breaches may trigger restrictions or suspension ### Risk * Sits with the client (originator) * Mitigated via reserves and internal monitoring ## ACH Credit (Push Payments) Disputes  ### Overview Disputes are initiated by the Sender after funds have settled. Credits cannot be automatically reversed. ### Handling 1. Recall request received via our sponsor bank 2. Review: * Funds availability * Fraud / error context 3. Client notified (if applicable) 4. Decision: * Funds available → return processed * Funds unavailable → denied 5. Respond to bank ### Controls (Critical) * Debit blocks are in place, a manual review is conducted prior to returns being refunded.  * Originators cannot pull funds back unilaterally * All returns require our review + approval ### Timing * No guaranteed SLA (bank + client dependent) ### Risk * Sits with the sender ## ACH Reversals (Correction Entries) ### Overview Reversals are new ACH entries sent by the originator to correct an error — they are not the same as returns or recalls. ### When Reversals Are Allowed * Duplicate payment * Incorrect amount * Wrong account ### Timeframe * Must be initiated within a 5-day window from the original transaction ### Key Behavior * Reversals are not guaranteed to succeed * They are subject to: * Receiving bank controls * Account-level restrictions ### Our Controls * Debit blocks prevent automatic reversal debits * Reversals cannot be forced into our accounts * Any reversal requires: * Bank coordination * Internal review and approval > ### Important Note > > If a reversal is attempted against a blocked account: > > * It will fail > * Originator must submit a formal recall request instead # Batch Transfers Source: https://docs.hifi.com/features/batch-transfers Batch transfers send stablecoins to up to 50 recipients in a single blockchain transaction. This reduces gas costs and simplifies bulk distributions like payroll, airdrops, or rewards. ## How Batch Transfers Work **1. Create batch transfer** Submit one request with multiple destination addresses and amounts. **2. Batch processing** HIFI groups all transfers into a single blockchain transaction. **3. Execute on-chain** All recipients receive their funds simultaneously in one transaction. ## Benefits of Batching | Benefit | Description | | :- | :- | | **Gas Efficiency** | Pay gas fees once for 50 transfers instead of 50 separate fees | | **Atomic Execution** | All transfers succeed or fail together - no partial completion | | **Faster Processing** | Single transaction reduces blockchain congestion | | **Simplified Tracking** | One transaction hash covers the entire batch | ## Creating Batch Transfers Use the [Create Batch Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-batch-transfer) endpoint to send to multiple recipients. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/wallets/transfers/batches" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "123e4567-e89b-12d3-a456-426614174000", "currency": "usdc", "chain": "POLYGON", "source": { "userId": "usr_abc123" }, "destination": { "batch": [ { "userId": "usr_recipient1", "amount": "10" }, { "userId": "usr_recipient2", "amount": "25" }, { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "amount": "15" } ] } }' ``` **Request Fields:** * **requestId** (required): Unique UUID for idempotency * **currency** (required): Currently only `usdc` supported * **chain** (required): Currently only `POLYGON` supported * **source.userId** (required): User sending the funds * **destination.batch** (required): Array of up to 50 recipients **Each batch recipient includes:** * **userId** OR **walletAddress**: Destination (provide one, not both) * **amount** (required): Amount to send (e.g., "10" for 10 USDC) **Response:** ```json theme={null} { "transferType": "WALLET.TRANSFER.BATCH", "transferDetails": { "id": "bat_abc123", "requestId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-04-05T00:55:50.609Z", "updatedAt": "2025-04-05T00:55:50.609Z", "chain": "POLYGON", "currency": "usdc", "contractAddress": "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582", "status": "CREATED", "source": { "userId": "usr_abc123", "walletAddress": "0x99a8c5ED386d217BC6ff0AA1b3585606D475432B", "walletType": "INDIVIDUAL" }, "destination": { "batch": [ { "userId": "usr_recipient1", "amount": "10" }, { "userId": "usr_recipient2", "amount": "25" }, { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "amount": "15" } ] }, "receipt": { "transactionHash": null, "userOpHash": null } } } ``` > [!NOTE] > > For detailed field documentation, see the [Create Batch Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-batch-transfer) API reference. ## Transaction Status Batch transfers progress through several statuses: | Status | Description | | :- | :- | | **NOT_INITIATED** | Transfer not submitted due to validation error | | **CREATED** | Batch transfer request created and awaiting processing | | **INITIATED** | Batch transfer submitted to blockchain | | **PENDING** | Transaction awaiting on-chain confirmation | | **COMPLETED** | All transfers in batch successfully confirmed | | **FAILED** | Batch transfer failed (check `failedReason` for details) | | **UNKNOWN** | Transfer status could not be determined | > [!NOTE] > > **Atomic Execution:** If any transfer in the batch fails, the entire batch fails and no funds are moved. This ensures consistency - all recipients get paid or none do. ## Tracking Batch Transfers Monitor batch transfer status using the [Retrieve Transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer) endpoint. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifi.com/v2/wallets/transfers/bat_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response (when completed):** ```json theme={null} { "transferType": "WALLET.TRANSFER.BATCH", "transferDetails": { "id": "bat_abc123", "status": "COMPLETED", "receipt": { "transactionHash": "0x57f0cd3429ea425d982882243428ef4a1eda5f1be2157c1b34ea48b49b24fe7f", "userOpHash": "0xef7bdb071b1fcfb5df629bd4d27ffa6dc32d0a5df676f26fb8c25311df1185ac" } } } ``` Use the `transactionHash` to view the batch transaction on [Polygonscan](https://polygonscan.com/). > [!NOTE] > > **Status Updates:** Subscribe to `WALLET.TRANSFER.BATCH.UPDATE` webhook events to receive real-time status notifications. See [Webhooks](/docs/webhooks) for setup instructions. ## Batch Requirements and Limits ### Current Limitations | Requirement | Value | | :- | :- | | **Max recipients** | 50 per batch | | **Supported chains** | POLYGON only | | **Supported tokens** | USDC only | | **Min amount** | 0.000001 USDC per recipient | > [!NOTE] > > **Expanding Soon:** Support for additional chains (Ethereum, Base) and tokens (USDT) is coming. Contact support if you need these features. ### Exceeding Limits If you need to send to more than 50 recipients: 1. Split into multiple batches of 50 or fewer 2. Submit multiple batch transfer requests 3. Each batch gets its own transaction hash ## Approval Workflow Batch transfers support optional multi-party approval for organizations requiring authorization controls. **Create batch with approval:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/wallets/transfers/batches" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "123e4567-e89b-12d3-a456-426614174000", "currency": "usdc", "chain": "POLYGON", "source": { "userId": "usr_abc123" }, "destination": { "batch": [...] }, "requireApproval": true }' ``` When `requireApproval: true`: 1. Batch enters `PENDING_APPROVAL` status 2. Dashboard admins are notified via email and webhook 3. Any admin can approve or reject the batch 4. If approved, batch proceeds to execution 5. If rejected, batch is cancelled **Response with approval details:** ```json theme={null} { "transferDetails": { "id": "bat_abc123", "status": "PENDING_APPROVAL", "receipt": { "approval": { "id": "apv_xyz789", "status": "PENDING", "transferId": "bat_abc123", "transferType": "WALLET.TRANSFER.BATCH", "votes": [ { "approverId": "profile_abc123", "vote": "APPROVE", "comment": "Payroll approved for processing", "createdAt": "2025-02-03T16:12:41.503+00:00" } ] } } } } ``` > [!NOTE] > > **Configuring Approvers:** Manage team roles in the HIFI Dashboard. Members can create batch transfers, but only admins can approve. ## Key Concepts > [accordion] Gas Cost Savings > > Batch transfers dramatically reduce gas costs: > > **Individual transfers:** > > * 50 transfers × $0.10 gas = $5.00 total > > **Batch transfer:** > > * 1 batch × $0.30 gas = $0.30 total > * **94% cost reduction** > > The more recipients, the greater the savings. Gas fees are paid from the source wallet. > [accordion] Mixed Recipient Types > > You can mix HIFI users and external wallets in the same batch: > > ```json theme={null} > { > "destination": { > "batch": [ > { > "userId": "usr_hifi_user", > "amount": "10" > }, > { > "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", > "amount": "15" > } > ] > } > } > ``` > > Each recipient can be specified by `userId` (HIFI users) or `walletAddress` (any wallet). > [accordion] Batch vs Single Transfers > > **Use batch transfers when:** > > * Sending to 2+ recipients at once > * Running payroll or recurring distributions > * Executing airdrops or rewards > * Cost efficiency matters > > **Use single transfers when:** > > * Sending to one recipient > * Different chains per recipient > * Transfers need independent timing > * Different currencies per recipient > [accordion] Failed Batch Recovery > > If a batch transfer fails, no funds are moved (atomic execution). Common causes: > > * **Insufficient balance:** Ensure source wallet has enough for all recipients + gas > * **Invalid recipient:** Check all addresses are valid > * **Network congestion:** Retry during lower activity > > Check `failedReason` for specific error details, fix the issue, and submit a new batch. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/docs/transactions/transfer) - Single recipient transfers * [Wallets](/docs/wallets) - Understanding wallet balances * [Webhooks](/docs/webhooks) - Real-time batch transfer notifications * [API Reference](https://docs.hifi.com/api-reference/crypto-transfer/create-a-batch-transfer) - Complete endpoint documentation # Overview Source: https://docs.hifi.com/features/canton/overview ## What is Canton Canton is a privacy-enabled, interoperable blockchain network designed for regulated financial use cases. It allows institutions to operate on a shared ledger while maintaining strict data privacy, governance controls, and compliance boundaries. Unlike traditional public blockchains, Canton enables **selective data sharing**—participants only see the data they are entitled to—making it well-suited for enterprise, financial, and institutional workflows. Canton supports asset issuance, settlement, and programmable workflows while integrating seamlessly with existing financial systems. ## Key Features of Canton ### Privacy by Design Canton enforces granular privacy controls at the protocol level. Transactions, balances, and smart contract state are only visible to authorized parties, enabling compliant multi-party workflows without exposing sensitive information. ### Interoperability Canton is built to interoperate with other networks and systems, allowing assets and workflows to extend beyond a single ledger while preserving security and privacy guarantees. ### Institutional-Grade Governance The network supports fine-grained permissioning, identity controls, and governance models that align with regulated financial environments. ### Programmable Workflows Canton enables smart contract–based logic for asset transfers, settlements, and conditional workflows, allowing complex financial interactions to be automated and enforced on-chain. ## Why Use Canton * Designed for **regulated and institutional use cases** * Enables **private, compliant asset movement** * Supports **cross-network asset interoperability** * Reduces operational risk through **deterministic settlement and programmable logic** Canton bridges the gap between traditional financial infrastructure and blockchain-based systems. ## HIFI Support for Canton HIFI provides native support for interacting with the Canton network, enabling developers and institutions to integrate Canton functionality with minimal overhead. > [!NOTE] > > Reach out via the Slack channel for early access. ### Currently Supported Functionality #### Wallet Creation Create and manage Canton wallets directly through HIFI. ### Environment * Mainnnet #### Token Support * USDCx #### Transfers * Create transfer offers to a Canton wallet * Accept or reject incoming Canton transfer offers #### Cross-Network Asset Movement * **USDCx minting and burning between Canton and Ethereum** * Mint USDCx on Canton from Ethereum * Burn USDCx on Canton to redeem on Ethereum ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/transactions/transfers) - Single wallet transfers * [Transfer Offers](/docs/features/canton/transfer-offer) - Canton transfer offers * [USDCx Bridging](/docs/features/canton/usdcx-bridging) - Bridge USDCx on Canton * [API Reference](https://docs.hifi.com/api/authentication) - Complete endpoint documentation # Transfer Offer Source: https://docs.hifi.com/features/canton/transfer-offer ## What Is a Transfer Offer? On Canton, asset transfers are modeled as **transfer offers** rather than immediate, unilateral transactions like those found on most public blockchains. A transfer offer represents a **two-step, consent-based transfer**: 1. The sender creates an offer specifying the recipient and amount. 2. The recipient explicitly **accepts or rejects** the offer. This design enables privacy-preserving, compliant, and deterministic settlement between known parties—an important distinction from public blockchains where transactions are typically broadcast and finalized immediately. ## Transfer Offer Lifecycle **1. Sender creates a transfer offer** The sender creates a transfer offer specifying the recipient Canton wallet, token, and amount. The specified amount of the asset is locked and cannot be used while the offer is pending. **2. Offer is received by destination wallet** The transfer offer becomes visible to the recipient’s Canton wallet **3. Accept or reject the offer** The recipient explicitly accepts or rejects the offer. Accepting executes the transfer, while rejecting declines it with no asset movement. ## Create Transfer Offer A transfer offer is created by the sender to propose transferring a specified amount of token to a Canton wallet. The offer remains pending until the recipient takes action. Creating a transfer offer utilizes the existing on-chain transfer functionality. For more details please checkout [Creating Single Transfers](https://docs.hifi.com/transactions/transfers#creating-single-transfers) ## Retrieving Transfer Offers HIFI provides endpoints to retrieve transfer offers for a wallet, including all incoming offers or a specific offer. ### Get All Incoming Transfer Offers Retrieve all transfer offers for a specific wallet using wallet id. **Request** ```shellscript theme={null} curl -X GET "https://production.hifibridge.com/v2/wallets/:walletId/offers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" ``` **Response** ```json theme={null} { "count": 1, "records": [ { "id": "3b6f7b9a-1f3a-4c8c-9c51-82f3e1c9a111", "status": "RECEIVED", "amount": "100.00", "currency": "usdcx", "source": { "party": "HIFI-validator-1::1220c44096409d3244021ae82992ccae3a1208fa79cacf450760b6f2cd9dfee2daa6" }, "destination": { "userId": "7c91b1e0-0a43-4f7c-9c88-3eaa9f41c9dd", "userWalletId": "9d1f1a0e-2d84-4e3b-9c92-6a9b6a7e1f23", "party": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6" }, "creationTransactionHash": "122095966f1d10cbf4de93e55fd0ecca745b7aba0ae48647c9ae298dbc6f57de9ef8", "executionTransactionHash": null, "createdAt": "2026-02-02T18:21:00Z", "updatedAt": "2026-02-02T18:21:00Z", "expiresAt": "2026-02-03T18:21:00Z" }, ], "nextCursor": "2026-02-02T18:22:00Z" } ``` ### Get a Specific Transfer Offer Retrieve details for a single transfer offer by ID. **Request** ```shellscript theme={null} curl -X GET "https://production.hifibridge.com/v2/wallets/:walletId/offers/:offerId" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" ``` **Response** ```json theme={null} { "id": "3b6f7b9a-1f3a-4c8c-9c51-82f3e1c9a111", "status": "RECEIVED", "amount": "100.00", "currency": "usdcx", "source": { "party": "HIFI-validator-1::1220c44096409d3244021ae82992ccae3a1208fa79cacf450760b6f2cd9dfee2daa6" }, "destination": { "userId": "7c91b1e0-0a43-4f7c-9c88-3eaa9f41c9dd", "userWalletId": "9d1f1a0e-2d84-4e3b-9c92-6a9b6a7e1f23", "party": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6" }, "creationTransactionHash": "122095966f1d10cbf4de93e55fd0ecca745b7aba0ae48647c9ae298dbc6f57de9ef8", "executionTransactionHash": null, "createdAt": "2026-02-02T18:21:00Z", "updatedAt": "2026-02-02T18:21:00Z", "expiresAt": "2026-02-03T18:21:00Z" } ``` ## Action Transfer Offer Once a transfer offer has been received, the recipient can **accept or reject** the offer. The choice determines whether the asset will be credited into recipient's wallet or not. > [!NOTE] > > A transfer offer must be **accepted or rejected** by the recipient before it expires. Once the expiration time passes, the offer is no longer valid. ### Accept a Transfer Offer Accepting a transfer offer executes the asset transfer and finalizes the transaction. * The transfer moves the locked asset to the recipient’s wallet. * The offer status will terminiate at `ACCEPTED`. **Request** ```shellscript theme={null} curl -X POST "https://production.hifibridge.com/v2/wallets//offers//accept" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" ``` > [accordion] Response > > ```json theme={null} > { > "id": "3b6f7b9a-1f3a-4c8c-9c51-82f3e1c9a111", > "status": "PENDING", > "amount": "100.00", > "currency": "usdcx", > "source": { > "party": "HIFI-validator-1::1220c44096409d3244021ae82992ccae3a1208fa79cacf450760b6f2cd9dfee2daa6" > }, > "destination": { > "userId": "7c91b1e0-0a43-4f7c-9c88-3eaa9f41c9dd", > "userWalletId": "9d1f1a0e-2d84-4e3b-9c92-6a9b6a7e1f23", > "party": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6" > }, > "creationTransactionHash": "122095966f1d10cbf4de93e55fd0ecca745b7aba0ae48647c9ae298dbc6f57de9ef8", > "executionTransactionHash": null, > "createdAt": "2026-02-02T18:21:00Z", > "updatedAt": "2026-02-02T18:21:00Z", > "expiresAt": "2026-02-03T18:21:00Z" > } > ``` **Behavior** * Transaction status changes from `PENDING` → `ACCEPTED` * `executionTransactionHash` is set once the transfer is executed * Your system can listen to the `WALLET.OFFER.ACCEPTED` webhook to trigger downstream actions ### Reject a Transfer Offer Rejecting a transfer offer declines the proposed transfer. * The locked asset is released back to the sender. * The offer status updates to `REJECTED`. #### Request ```text theme={null} curl -X POST "https://production.hifibridge.com/v2/wallets//offers//reject" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" ``` > [accordion] Response > > ```json theme={null} > { > "id": "3b6f7b9a-1f3a-4c8c-9c51-82f3e1c9a111", > "status": "PENDING", > "amount": "100.00", > "currency": "usdcx", > "source": { > "party": "HIFI-validator-1::1220c44096409d3244021ae82992ccae3a1208fa79cacf450760b6f2cd9dfee2daa6" > }, > "destination": { > "userId": "7c91b1e0-0a43-4f7c-9c88-3eaa9f41c9dd", > "userWalletId": "9d1f1a0e-2d84-4e3b-9c92-6a9b6a7e1f23", > "party": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6" > }, > "creationTransactionHash": "122095966f1d10cbf4de93e55fd0ecca745b7aba0ae48647c9ae298dbc6f57de9ef8", > "executionTransactionHash": null, > "createdAt": "2026-02-02T18:21:00Z", > "updatedAt": "2026-02-02T18:21:00Z", > "expiresAt": "2026-02-03T18:21:00Z" > } > ``` #### Behavior * Transaction status changes from `PENDING` → `REJECTED` * `executionTransactionHash` is set once the rejection is recorded * Your system can listen to the `WALLET.OFFER.REJECTED` webhook to trigger downstream actions ### Withdraw a Transfer Offer The sender (i.e., the creator of the transfer offer) may withdraw or cancel the transfer offer at any time before it is accepted or rejected. If a transfer offer is not explicitly withdrawn, it will be locked by the protocol and cannot be used for future transfers. To withdraw a transfer offer, you must provide the **original on-chain transaction ID**. **Request** ```shellscript theme={null} curl -X POST "https://production.hifibridge.com/v2/wallets/transfers//cancel" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" ``` > [accordion] Response > > ```json theme={null} > {"message": "Transaction cancelled in progress"} > ``` **Behavior** * The transaction cancellation is broadcast synchronously. * Once the offer withdrawal is confirmed, the original on-chain transaction will transition to a **CANCELLED** state. * Your system can listen to the `WALLET.OFFER.WITHDRAWN` webhook to trigger downstream actions ## Offer Statuses Each Canton transfer offer has a `status` that reflects its current state: | Status | Description | | - | - | | `RECEIVED` | The offer has been received by the destination wallet and is ready to be acted upon. | | `PENDING` | The offer is currently in the process of being accepted or rejected. | | `ACCEPTED` | The recipient has accepted the offer. The transfer has been executed and the asset has been moved. | | `REJECTED` | The recipient has rejected the offer. No transfer occurred, and the locked asset has been released back to the sender. | | `WITHDRAWN` | The transfer offer has been canceled by the sender. | | `EXPIRED` | The transfer offer has already expired and can no longer be accepted or rejected. | ## Webhook Notifications HIFI sends webhook events to notify your system of transfer offer state changes. | Webhook Event | Description | | - | - | | `WALLET.OFFER.RECEIVED` | A new transfer offer has been received by the destination wallet and is ready to be acted upon. | | `WALLET.OFFER.PENDING` | The transfer offer is currently being accepted or rejected. | | `WALLET.OFFER.ACCEPTED` | The recipient has accepted the offer. The transfer has been executed and the asset moved. | | `WALLET.OFFER.REJECTED` | The recipient has rejected the offer. No transfer occurred, and the locked asset is released. | | `WALLET.OFFER.WITHDRAWN` | The transfer offer has been canceled by the sender. | | `WALLET.OFFER.EXPIRED` | The transfer offer has already expired and can no longer be accepted or rejected. | > [!NOTE] > > Listen to the `WALLET.OFFER.RECEIVED` webhook events to be notified whenever a new incoming transfer offer is available for action. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/transactions/transfers) - Single wallet transfers * [USDCx Bridging](/docs/features/canton/usdcx-bridging) - Bridge USDCx on Canton * [Webhooks](/webhooks) - Real-time approval notifications * [API Reference](https://docs.hifi.com/api/authentication) - Complete endpoint documentation # USDCx Bridging Source: https://docs.hifi.com/features/canton/usdcx-bridging ## Overview USDCx bridging allows you to **move USDC issued by Circle between Ethereum and Canton** seamlessly. This functionality leverages **Circle's XReserve**, enabling fast, secure, and compliant movement of USDCx across chains while maintaining token integrity. ## Supported Bridging Actions HIFI currently supports the following USDCx bridging functionalities: * **Mint USDCx from Ethereum to Canton** – Lock USDC on Ethereum and mint USDCx in Canton. * **Burn USDCx from Canton to Ethereum** – Burn USDCx in Canton and release USDC on Ethereum. ## How USDCx Bridging Works **1. Create Bridging Request** The user initiates a bridging request from either Ethereum or Canton, specifying the amount and destination chain. A bridging quote is returned for review. **2. Accept Bridging Quote** The user accepts the bridging quote to confirm the operation and proceed with the bridge. **3. Bridge Processing** HIFI processes the bridging operation, validating the source transaction and preparing the destination chain transfer. **4. Mint or Release Tokens** Tokens are either minted on the destination chain (Canton) or released back on Ethereum, depending on the bridging direction. **5. Accept Transfer Offer on Canton** For bridges minting USDCx on Canton to an external wallet, a corresponding transfer offer is created. The recipient must accept the offer to receive USDCx in their Canton wallet. **6. Completion** The user’s wallet balance is updated, and a bridging transaction hash is recorded for auditing and reference. ## Mint USDCx to Canton To mint USDCx on Canton, we will first use the [Create Bridge](https://docs.hifi.com/api-reference/bridge/create-a-bridge) endpoint to initiate a cross-chain transfer. ### Create Bridging Request **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", "amount": 10, "source": { "userId": "usr_abc123", "chain": "ETHEREUM", "currency": "usdc" }, "destination": { "userId": "usr_abc123", "chain": "CANTON", "currency": "usdcx" } }' ``` > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.BRIDGE", > "transferDetails": { > "id": "brg_abc123", > "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", > "createdAt": "2025-02-24T17:44:54.781519+00:00", > "updatedAt": "2025-02-24T17:44:54.781519+00:00", > "amount": 10, > "status": "OPEN_QUOTE", > "source": { > "userId": "usr_abc123", > "walletAddress": "0xE9cfBf1D690565579D823264170eE357f80e9A34", > "walletId": "wallet_abc123", > "chain": "ETHEREUM", > "currency": "usdc" > }, > "destination": { > "userId": "usr_abc123", > "walletAddress": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6", > "walletId": "wallet_abc456", > "chain": "CANTON", > "currency": "usdcx" > }, > "receipt": { > "transactionHash": null, > "operations": { > "mint": null, > "burn": null, > "approve": null > } > }, > "quoteInformation": { > "sendGross": { > "amount": "10.00", > "currency": "usdc" > }, > "sendNet": { > "amount": "10.00", > "currency": "usdc" > }, > "receiveGross": { > "amount": "10.00", > "currency": "usdcx" > }, > "receiveNet": { > "amount": "10.00", > "currency": "usdcx" > }, > "rate": "1", > "railFee": { > "amount": "0", > "currency": "usdc" > } > } > } > } > ``` ### Accept Bridging Request Accept the quote to kick off the bridging process **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges/:transactionId/accept" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ ``` > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.BRIDGE", > "transferDetails": { > "id": "brg_abc123", > "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", > "createdAt": "2025-02-24T17:44:54.781519+00:00", > "updatedAt": "2025-02-24T17:44:54.781519+00:00", > "amount": 10, > "status": "SOURCE_INITIATED", > "source": { > "userId": "usr_abc123", > "walletAddress": "0xE9cfBf1D690565579D823264170eE357f80e9A34", > "walletId": "wallet_abc123", > "chain": "ETHEREUM", > "currency": "usdc" > }, > "destination": { > "userId": "usr_abc123", > "walletAddress": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6", > "walletId": "wallet_abc456", > "chain": "CANTON", > "currency": "usdcx" > }, > "receipt": { > "transactionHash": null, > "operations": { > "mint": null, > "burn": null, > "approve": null > } > }, > "quoteInformation": { > "sendGross": { > "amount": "10.00", > "currency": "usdc" > }, > "sendNet": { > "amount": "10.00", > "currency": "usdc" > }, > "receiveGross": { > "amount": "10.00", > "currency": "usdcx" > }, > "receiveNet": { > "amount": "10.00", > "currency": "usdcx" > }, > "rate": "1", > "railFee": { > "amount": "0", > "currency": "usdc" > } > } > } > } > ``` ### Accept Transfer Offer If the destination wallet is external to HIFI’s system, the recipient must explicitly accept the transfer offer created by HIFI’s operational wallet. > [!WARNING] > > The associated transfer offer will have an expirtation date for 30 days from offer creation, please make sure to accept the offer before the expiration time. ## Burn USDCx on Canton and Receive on Ethereum To release USDC back on Ethereum, simply use the [Create Bridge](https://docs.hifi.com/api-reference/bridge/create-a-bridge) endpoint to initiate a cross-chain transfer from Canton to Ethereum. This request will burn USDCx on Canton and, once completed, release the corresponding USDC on Ethereum and deposit directly to the recipient's wallet. > [!NOTE] > > Currently, a **flat 4.75 USDC fee** is charged at the protocol level by **Circle’s XReserve** for each burn transaction. ### Create Bridging Request **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", "amount": 10, "source": { "userId": "usr_abc123", "chain": "CANTON", "currency": "usdcx" }, "destination": { "userId": "usr_abc123", "chain": "ETHEREUM", "currency": "usdc" } }' ``` > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.BRIDGE", > "transferDetails": { > "id": "brg_abc123", > "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", > "createdAt": "2025-02-24T17:44:54.781519+00:00", > "updatedAt": "2025-02-24T17:44:54.781519+00:00", > "amount": 10, > "status": "OPEN_QUOTE", > "source": { > "userId": "usr_abc123", > "walletAddress": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6", > "walletId": "wallet_abc456", > "chain": "CANTON", > "currency": "usdcx" > }, > "destination": { > "userId": "usr_abc123", > "walletAddress": "0xE9cfBf1D690565579D823264170eE357f80e9A34", > "walletId": "wallet_abc123", > "chain": "ETHEREUM", > "currency": "usdc" > }, > "receipt": { > "transactionHash": null, > "operations": { > "mint": null, > "burn": null, > "approve": null > } > }, > "quoteInformation": { > "sendGross": { > "amount": "10.00", > "currency": "usdcx" > }, > "sendNet": { > "amount": "10.00", > "currency": "usdcx" > }, > "receiveGross": { > "amount": "5.25", > "currency": "usdc" > }, > "receiveNet": { > "amount": "5.25", > "currency": "usdc" > }, > "rate": "1", > "railFee": { > "amount": "4.75", > "currency": "usdc" > } > } > } > } > ``` ### Accept Bridging Request Accept the quote to kick off the bridging process **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges/:transactionId/accept" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ ``` > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.BRIDGE", > "transferDetails": { > "id": "brg_abc123", > "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", > "createdAt": "2025-02-24T17:44:54.781519+00:00", > "updatedAt": "2025-02-24T17:44:54.781519+00:00", > "amount": 10, > "status": "SOURCE_INITIATED", > "source": { > "userId": "usr_abc123", > "walletAddress": "0xE9cfBf1D690565579D823264170eE357f80e9A34", > "walletId": "wallet_abc123", > "chain": "ETHEREUM", > "currency": "usdc" > }, > "destination": { > "userId": "usr_abc123", > "walletAddress": "HIFI-validator-1::1220e636b510224be2c15b4436c0eb72558fdd6a93268b3605fad7f27f58192910e6", > "walletId": "wallet_abc456", > "chain": "CANTON", > "currency": "usdcx" > }, > "receipt": { > "transactionHash": null, > "operations": { > "mint": null, > "burn": null, > "approve": null > } > }, > "quoteInformation": { > "sendGross": { > "amount": "10.00", > "currency": "usdc" > }, > "sendNet": { > "amount": "10.00", > "currency": "usdc" > }, > "receiveGross": { > "amount": "10.00", > "currency": "usdcx" > }, > "receiveNet": { > "amount": "10.00", > "currency": "usdcx" > }, > "rate": "1", > "railFee": { > "amount": "0", > "currency": "usdc" > } > } > } > } > ``` ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/transactions/transfers) - Single wallet transfers * [Bridging](/transactions/bridging) - Cross-chain transfers * [Transfer Offers](/docs/features/canton/transfer-offer) - Canton Transfer Offers * [Webhooks](/webhooks) - Real-time approval notifications * [API Reference](https://docs.hifi.com/api/authentication) - Complete endpoint documentation # Developer Fees Source: https://docs.hifi.com/features/developer-fees Developer Fees enable automated calculation and distribution of fees for offramp transactions. Fees can be configured to be distributed to up to 10 different beneficiary wallets. > [!NOTE] > > Developer fees work for offramp transactions. Looking to charge fees for > Virtual Accounts? Try [Settlement Rules](/docs/features/settlement-rules). ## How Developer Fees Work **1. Define fees and beneficiary** Specify the fee calculation method and destination wallets by including the developer fee when creating offramp transactions. **2. Automatic distribution** Fees are automatically calculated and distributed during the offramp process. The total amount (offramp amount + fees) is debited from the source wallet. **3. Fee settlement** After the offramp is processed, fees are credited to the specified beneficiary wallets in stablecoin. ## Supported Rails > [!NOTE] > > Developer fees are currently supported for USD offramps only. Additional > currencies and payment rails—including global fiat currencies and non-USD > transfer methods—will be supported soon. Stay tuned for updates! ## Fee Models HIFI currently supports two types of fee models: * **Percentage:** The fee is calculated based on the amount being converted into fiat. * **Flat:** The fee is charged as a fixed amount, regardless of the amount being converted into fiat. All fees are added on top of the offramp amount and credited to the beneficiary wallet in stablecoin. ### Fee Calculation Example An offramp transaction with an amount of **100 USDC** and two developer fees: * **20 bps (0.002)** as a percentage, credited to **Beneficiary Wallet A** * **5 USDC** as a flat fee, credited to **Beneficiary Wallet B** When the offramp transaction is initiated, a total of **105.2 USDC** (100 + 100 × 0.002 + 5) will be debited from the sender's wallet. After settlement: * **100 USDC** will be converted into fiat and sent to the recipient's bank account * **0.2 USDC** will be delivered to **Wallet A** * **5 USDC** will be delivered to **Wallet B** ## Applying Developer Fees Include the `developerFee` field when creating an offramp transaction to automatically calculate and distribute fees. ### Request ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "201ca31d-700f-4c76-ac4b-961623acbb79", "source": { "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", "amount": "100", "currency": "usdc", "chain": "POLYGON" }, "destination": { "currency": "usd", "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", "accountId": "12c1c496-8f57-41a1-8292-dbe6547791ce" }, "developerFee": { "fees": [ { "type": "PERCENTAGE", "value": "0.002", "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D7" }, { "type": "FLAT", "value": "5", "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D6" } ] } }' ``` **developerFee.fees** `array` Array of fee configurations to be applied. Each fee object requires: **Fee Object Fields** **type** `string` *required* Fee calculation type. Must be either `PERCENTAGE` or `FLAT`. **value** `string` *required* Fee amount. For percentages, use decimal format (e.g., `"0.002"` for 0.2%). For flat fees, specify as a string amount (e.g., `"5"`). **walletAddress** `string` *required* Beneficiary wallet address to receive the fee. ### Response ```json theme={null} { "transferType": "OFFRAMP", "transferDetails": { "id": "fa3c7411-8288-4247-98b2-2f90a7053f83", "requestId": "201ca31d-700f-4c76-ac4b-961623acbb79", "status": "OPEN_QUOTE", "source": { "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", "amount": 100, "amountIncludeDeveloperFee": 105.2, "currency": "usdc", "chain": "POLYGON" }, "destination": { "currency": "usd", "accountId": "12c1c496-8f57-41a1-8292-dbe6547791ce" }, "quoteInformation": { "sendGross": { "amount": "100", "currency": "usdc" }, "sendNet": { "amount": "100", "currency": "usdc" }, "receiveNet": { "amount": "100", "currency": "usd" }, "rate": "1" }, "developerFee": { "id": "b9551a87-6d9a-5963-b198-efaaf9061668", "transactionHash": null, "fees": [ { "type": "PERCENTAGE", "value": "0.002", "amount": "0.200000", "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D7" }, { "type": "FLAT", "value": "5", "amount": "5.000000", "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D6" } ] } } } ``` **transferDetails.source.amountIncludeDeveloperFee** `number` Total amount debited from the source wallet, including the offramp amount and all developer fees. **transferDetails.developerFee** `object` Developer fee details including calculated amounts for each fee. **properties** **id** `string` Unique developer fee ID for tracking. **transactionHash** `string` Transaction hash for fee distribution. Available after fees are distributed. **fees** `array` Array of fee details. Each fee includes: * **type**: `PERCENTAGE` or `FLAT` * **value**: Original fee value * **amount**: Calculated fee amount in stablecoin * **walletAddress**: Beneficiary wallet address > [!NOTE] > > For detailed field documentation, see the [Create > Offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) > API reference. ## Key Concepts > [accordion] Fee Models > > HIFI supports two fee calculation models: > > **Percentage Fees:** > > * Calculated as a percentage of the offramp amount > * Specified as a decimal value (e.g., `"0.002"` for 0.2% or 20 basis points) > * Example: 0.2% of 100 USDC = 0.2 USDC > > **Flat Fees:** > > * Fixed amount regardless of transaction size > * Specified as a string value (e.g., `"5"` for 5 USDC) > * Example: 5 USDC flat fee > > Both models can be combined in a single transaction with up to 10 different beneficiary wallets. > [accordion] Fee Distribution > > Developer fees work as follows: 1. **Total debit**: The source wallet is > debited for the offramp amount plus all fees 2. **Offramp processing**: The > offramp amount is converted to fiat and sent to the bank account 3. **Fee > distribution**: Each fee is credited to its specified beneficiary wallet in > stablecoin The `amountIncludeDeveloperFee` field in the response shows the > total amount debited, helping you calculate the exact amount needed in the > source wallet. > [accordion] Multiple Beneficiaries > > You can distribute fees to up to 10 different beneficiary wallets in a single transaction: > > ```json theme={null} > { > "developerFee": { > "fees": [ > { > "type": "PERCENTAGE", > "value": "0.001", > "walletAddress": "0xWallet1..." > }, > { > "type": "PERCENTAGE", > "value": "0.001", > "walletAddress": "0xWallet2..." > }, > { > "type": "FLAT", > "value": "1", > "walletAddress": "0xWallet3..." > } > ] > } > } > ``` > > Fees are distributed in the order they are specified in the array. > [accordion] Fee Tracking > > Each developer fee has: > > * **id**: Unique identifier for the fee instance > * **transactionHash**: Blockchain transaction hash for fee distribution (available after fees are sent) > * **fees\[].amount**: Calculated fee amount that will be credited > > Monitor the beneficiary wallet addresses to track fee receipts. The transaction hash provides proof of distribution on-chain. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Offramps](/docs/transactions/offramps) - Complete guide to creating offramp transactions * [Settlement Rules](/docs/features/settlement-rules) - Fee calculation for virtual accounts * [API Reference](https://docs.hifi.com/api-reference/offramp/create-an-offramp) - Complete endpoint documentation # Exchange Rates Source: https://docs.hifi.com/features/exchange-rates Exchange Rates provide estimated conversion rates for transactions between stablecoins and fiat. Use these rates to display pricing information to users before creating offramp or onramp requests. ## How Exchange Rates Work Exchange rates work similarly for both offramps (stablecoin to fiat) and onramps (fiat to stablecoin): **1. Request rate** Query the rates endpoint with the source and destination currencies. **2. Display to user** Show the rate to your user in your UI before they initiate the transaction. ## Retrieving Exchange Rates Use these endpoints to get estimated conversion rates: * [Retrieve Offramp Rate](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp-rate) - For stablecoin to fiat conversions * [Retrieve Onramp Rate](https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp-rate) - For fiat to stablecoin conversions ### Offramp Rates (Stablecoin to Fiat) ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/offramps/rates?fromCurrency=usdc&toCurrency=usd" \ -H "Authorization: Bearer YOUR_API_KEY" ``` | Parameter | Required | Supported Values | | :- | :- | :- | | **fromCurrency** | Yes | `usdc` | | **toCurrency** | Yes | `usd`, `brl`, `mxn`, `ugx`, `ngn`, `kes`, `tzs`, `mwk`, `xaf`, `bwp`, `zar`, `usd-hka`, `usd-chn`, `cny`, `hkd` | ### Onramp Rates (Fiat to Stablecoin) ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/onramps/rates?fromCurrency=usd&toCurrency=usdc" \ -H "Authorization: Bearer YOUR_API_KEY" ``` | Parameter | Required | Supported Values | | :- | :- | :- | | **fromCurrency** | Yes | `usd`, `ugx`, `ngn`, `bwp`, `tzs`, `mwk`, `xaf`, `kes` | | **toCurrency** | Yes | `usdc` | ### Response ```json theme={null} { "fromCurrency": "usdc", "toCurrency": "usd", "conversionRate": "1", "conversionRates": [ { "transferType": "default", "conversionRate": "1" } ] } ``` **fromCurrency** `string` Source currency code (e.g., `usdc` for stablecoin, `usd`, `eur`, `brl` for fiat). **toCurrency** `string` Destination currency code (e.g., `usd`, `eur`, `brl` for fiat, `usdc` for stablecoin). **conversionRate** `string` Estimated conversion rate from the source currency to the destination currency for the default transfer type. The rate is expressed as a string to preserve precision. **conversionRates** `array` Array of conversion rates for different transfer types. Each object contains: **Array item properties** **transferType** `string` The transfer type identifier. When `transferType` is `default`, this is the conversion rate for the default transfer type. **conversionRate** `string` The estimated conversion rate for this specific transfer type, expressed as a string to preserve precision. ## Usage Examples ### Display Rate in UI Retrieve rates to show users estimated conversion amounts before they create an offramp or onramp: ```javascript theme={null} async function getOfframpRate(fromCurrency, toCurrency) { const response = await fetch( `https://sandbox.hifibridge.com/v2/offramps/rates?fromCurrency=${fromCurrency}&toCurrency=${toCurrency}`, { method: "GET", headers: { Authorization: "Bearer YOUR_API_KEY", }, } ); if (!response.ok) { throw new Error("Failed to fetch exchange rate"); } const rateData = await response.json(); return rateData.conversionRate; } async function getOnrampRate(fromCurrency, toCurrency) { const response = await fetch( `https://sandbox.hifibridge.com/v2/onramps/rates?fromCurrency=${fromCurrency}&toCurrency=${toCurrency}`, { method: "GET", headers: { Authorization: "Bearer YOUR_API_KEY", }, } ); if (!response.ok) { throw new Error("Failed to fetch exchange rate"); } const rateData = await response.json(); return rateData.conversionRate; } // Example usage - Offramp const offrampRate = await getOfframpRate("usdc", "usd"); console.log(`1 USDC = ${offrampRate} USD`); // Example usage - Onramp const onrampRate = await getOnrampRate("usd", "usdc"); console.log(`1 USD = ${onrampRate} USDC`); ``` ### Calculate Estimated Amount Use the rate to calculate estimated conversion amounts: ```javascript theme={null} function calculateEstimatedAmount(sourceAmount, conversionRate) { // Parse string rates to numbers for calculation const amount = parseFloat(sourceAmount); const rate = parseFloat(conversionRate); return (amount * rate).toFixed(2); } // Example: Calculate USD equivalent of 100 USDC (Offramp) const cryptoAmount = "100"; const offrampRate = await getOfframpRate("usdc", "usd"); const estimatedUsd = calculateEstimatedAmount(cryptoAmount, offrampRate); console.log(`${cryptoAmount} USDC ≈ ${estimatedUsd} USD`); // Example: Calculate USDC equivalent of 100 USD (Onramp) const fiatAmount = "100"; const onrampRate = await getOnrampRate("usd", "usdc"); const estimatedUsdc = calculateEstimatedAmount(fiatAmount, onrampRate); console.log(`${fiatAmount} USD ≈ ${estimatedUsdc} USDC`); ``` ## Key Concepts > [accordion] Estimated vs. Final Rates > > Exchange rates from these endpoints are **estimates** for display purposes. The final conversion rate will be determined when you create the offramp or onramp request and may differ based on: > > * Current market conditions at transaction time > * Fee calculations > * Network fees > * Quote expiration (quotes are valid for 10 minutes) > > Always inform users that displayed rates are estimates and final amounts will be shown in the quote. > [accordion] Rate Format > > Conversion rates are returned as strings to preserve decimal precision. When performing calculations, always parse them to numbers. > > ```javascript theme={null} > // Correct: Parse to float for calculations > const rate = parseFloat(response.conversionRate); > const amount = parseFloat(cryptoAmount); > const result = amount * rate; > > // Incorrect: Direct string operations > const result2 = response.conversionRate * cryptoAmount; // May cause precision loss > ``` > > Use `parseFloat()` or a decimal library (like `decimal.js`) for financial calculations to maintain accuracy. > [accordion] Error Handling > > Handle common error responses: > > * **401 Unauthorized:** Invalid or missing API key > * **404 Not Found:** Unsupported currency pair > * **500 Internal Server Error:** Temporary service issue > > ```javascript theme={null} > try { > const rate = await getOfframpRate('usdc', 'usd'); > } catch (error) { > if (error.response?.status === 404) { > console.error('Currency pair not supported'); > } else if (error.response?.status === 401) { > console.error('Authentication failed'); > } else { > console.error('Failed to fetch rate:', error); > } > } > ``` ## Best Practices > [!NOTE] > > **Rate Caching:** Cache exchange rates for 1-2 minutes to reduce API calls > while keeping data reasonably fresh. Don't cache longer than 5 minutes as > rates can change. * **Show estimates only:** Always label displayed rates as "estimated" to set user expectations * **Refresh on user action:** Update rates when users change currency pairs * **Handle rate changes gracefully:** If a rate changes between display and transaction creation, the quote will show the actual rate * **Validate currency pairs:** Verify the requested currency pair is supported before displaying rates ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Offramps](/docs/transactions/offramps) - Create offramp transactions using these rates * [Onramps](/docs/transactions/onramps) - Create onramp transactions using these rates * [Currencies Reference](/docs/references/currencies) - Complete list of supported currencies # KYC Links Source: https://docs.hifi.com/features/kyc-links KYC Links enable you to collect Know Your Customer (KYC) information from users through a secure, hosted flow. Use KYC links to create a user, unlock rails for a user, or submit KYC for a user. ## How KYC Links Work **1. Generate KYC link** Create a unique KYC link for a user, optionally specifying which rails require verification. **2. Present to user** Share the link with the user via email or redirect them to the KYC page. **3. User completes KYC** User fills out their personal information and uploads required documents. **4. Verification and redirect** HIFI verifies the information and redirects the user back to your application. ## Use Cases KYC links support two primary workflows: ### Create New User with KYC Generate a KYC link without providing a user ID. The link will: 1. Create a new HIFI user account 2. Collect KYC information for specified rails 3. Return the new user ID after completion **Best for:** Initial user onboarding when you don't have a HIFI user yet. ### Submit KYC for Existing User Generate a KYC link with a user ID to collect or update KYC information for an existing user. **Best for:** Adding new rails, updating information, or re-submitting after rejection. ## Creating KYC Links Use the [Generate KYC Link](https://docs.hifi.com/api-reference/kyc-link/generate-kyc-link) endpoint to create KYC links. **Request:** ```bash Create New User theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/kyc-link" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "userType": "INDIVIDUAL", "rails": ["USD"], "redirectUrl": "https://yourapp.com/kyc-complete", "recipientEmail": "user@example.com", "templateId": "template_id" }' ``` ```bash Unlock Rails for Existing User theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/kyc-link" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "userId": "usr_abc123", "rails": ["USD"], "redirectUrl": "https://yourapp.com/kyc-complete", "recipientEmail": "user@example.com", "templateId": "template_id" }' ``` **Request Fields:** **userType** `string` *required* Type of user account – `INDIVIDUAL` or `BUSINESS`. **Required if creating a new user.** **userId** `string` Existing user ID. **Required if unlocking rails for an existing user.** **rails** `array` Array of KYC rails to unlock – `USD`, `SOUTH_AMERICA_STANDARD`, `AFRICA_GENERAL`, `AFRICA_NIGERIA` **redirectUrl** `string` URL to redirect to after KYC information is submitted (the userId will be appended as a query parameter) **recipientEmail** `string` Email address to send the KYC link to (production only) **templateId** `string` Template ID to use for the KYC link **Response:** ```json theme={null} { "kycLinkUrl": "KYC_LINK_URL" } ``` > [!NOTE] > > For detailed field documentation, see the [Generate KYC > Link](https://docs.hifi.com/api-reference/kyc-link/generate-kyc-link) API reference. ## Implementation Options ### Option 1: Redirect Flow Redirect users to the KYC link URL for a fully hosted experience. ```javascript theme={null} // Generate KYC link const response = await fetch("https://sandbox.hifibridge.com/v2/kyc-link", { method: "POST", headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ userType: "INDIVIDUAL", rails: ["USD"], redirectUrl: "https://yourapp.com/kyc-complete", }), }); const { kycLinkUrl } = await response.json(); // Redirect user window.location.href = kycLinkUrl; ``` After KYC completion, the user is redirected to your `redirectUrl` with the user ID appended: ``` https://yourapp.com/kyc-complete?userId=usr_abc123 ``` ### Option 2: Email Link Have HIFI automatically email the KYC link to the user (production only). ```javascript theme={null} const response = await fetch("https://production.hifibridge.com/v2/kyc-link", { method: "POST", headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ userType: "INDIVIDUAL", rails: ["USD"], recipientEmail: "user@example.com", redirectUrl: "https://yourapp.com/kyc-complete", }), }); const { kycLinkUrl } = await response.json(); // User receives email with KYC link // No need to redirect - user clicks link from email ``` > [!NOTE] > > **Production Only:** The `recipientEmail` feature is only available in > production environments for security reasons. In sandbox, you must manually > share the link. ## Handling KYC Completion After users complete KYC, monitor their status and handle the redirect. ### Redirect URL Parameters When users complete KYC, they're redirected to your `redirectUrl` with query parameters: ``` https://yourapp.com/kyc-complete?userId=usr_abc123 ``` Extract the user ID and check their KYC status: ```javascript theme={null} // On your redirect page const urlParams = new URLSearchParams(window.location.search); const userId = urlParams.get("userId"); // Fetch user to check KYC status const response = await fetch( `https://sandbox.hifibridge.com/v2/users/${userId}`, { headers: { Authorization: "Bearer YOUR_API_KEY", }, } ); const user = await response.json(); console.log("KYC Status:", user.kycStatus); ``` ### Monitoring KYC Status Use webhooks to receive real-time KYC status updates: ```javascript theme={null} // Subscribe to KYC webhook events function handleKycUpdate(event) { const { id, kycStatus, rails } = event.data; if (kycStatus === "APPROVED") { // Enable features requiring KYC enableOfframping(id); } else if (kycStatus === "REJECTED") { // Notify user to retry sendKycRejectionEmail(id); } } ``` See [Webhooks](/docs/webhooks) for webhook setup. ## Rails and KYC Requirements Different rails have different KYC requirements. See the [Rails Overview](/docs/rails) for detailed information about each rail's capabilities and KYC requirements. > [!NOTE] > > **Multiple Rails:** You can request KYC for multiple rails in a single link by > passing multiple rails in the `rails` array. The user completes one form that > satisfies all requirements. ## Custom Templates Brand the KYC page with your company logo and colors: 1. **Contact Support:** Request custom template creation 2. **Provide Branding:** Share your logo and color scheme 3. **Receive Template ID:** HIFI creates a template and provides the ID 4. **Use Template ID:** Include `templateId` when generating links ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/kyc-link" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "userType": "INDIVIDUAL", "rails": ["USD"], "templateId": "template_id" }' ``` ## Key Concepts > [accordion] User Creation via KYC Link > > When you generate a KYC link **without** a `userId`, the KYC flow will: > > 1. Create a new HIFI user account automatically > 2. Collect KYC information during the flow > 3. Return the new user ID via redirect URL > > This streamlines onboarding by combining user creation and KYC in one step. > > ```javascript theme={null} > // No userId provided - creates new user > const response = await fetch('https://sandbox.hifibridge.com/v2/kyc-link', { > method: 'POST', > headers: { > 'Authorization': 'Bearer YOUR_API_KEY', > 'Content-Type': 'application/json' > }, > body: JSON.stringify({ > userType: 'INDIVIDUAL', > rails: ['USD'], > redirectUrl: 'https://yourapp.com/kyc-complete' > }) > }); > const { kycLinkUrl } = await response.json(); > > // After completion, get userId from redirect > // https://yourapp.com/kyc-complete?userId=usr_new123 > ``` > [accordion] Updating Existing Users > > Generate a KYC link **with** a `userId` to submit or update KYC for an existing user. > > **Use cases:** > > * Adding KYC for a new rail > * Updating expired documents > * Re-submitting after rejection > > ```javascript theme={null} > // Existing user needs USD rail KYC > const response = await fetch('https://sandbox.hifibridge.com/v2/kyc-link', { > method: 'POST', > headers: { > 'Authorization': 'Bearer YOUR_API_KEY', > 'Content-Type': 'application/json' > }, > body: JSON.stringify({ > userId: 'usr_abc123', > rails: ['USD'], > redirectUrl: 'https://yourapp.com/kyc-complete' > }) > }); > const { kycLinkUrl } = await response.json(); > ``` > [accordion] KYC Status States > > Users progress through several KYC statuses: - **NOT_SUBMITTED**: No KYC > information submitted yet - **PENDING**: KYC submitted and under review - > **APPROVED**: KYC verified and approved - **REJECTED**: KYC rejected (see > rejection reason) - **EXPIRED**: KYC documents expired (rare, annual review) > Subscribe to KYC webhooks to track status changes in real-time. > [accordion] Session Tokens > > The `sessionToken` in the `kycLinkUrl` can be used for programmatic KYC submission if you want to build your own KYC UI instead of using the hosted page. Contact support for documentation on this advanced use case. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Users](/docs/users) - Understanding user accounts and KYC status * [Webhooks](/docs/webhooks) - Monitor KYC status changes in real-time * [Offramp Accounts](/docs/accounts/offramp-accounts) - KYC is required for offramping * [API Reference](https://docs.hifi.com/api-reference/kyc-link/generate-kyc-link) - Complete endpoint documentation # Offramp Source: https://docs.hifi.com/features/magic-values/offramp Use magic values in sandbox to force an offramp into a particular outcome, so you can test how your integration handles failures and returns. Every scenario resolves on its own. You force a scenario at create time, the offramp reaches the status you asked for, and **3 minutes later** it moves to its true terminal status, `CRYPTO_RETURNED`. No follow-up API call is needed. > [!WARNING] > > Magic values are sandbox only. In production, `sandboxScenario` is rejected with a `400`. ## Magic values You can force an offramp outcome by providing a magic value on the `sandboxScenario` field when making requests to the [create an offramp endpoint](https://docs.hifi.com/api-reference/offramp/create-an-offramp). The following table outlines the magic values and their effects: | Magic value | Response | | - | - | | `CRYPTO_FAILED` | Transfer is rejected before the fiat leg starts. | | `FIAT_FAILED` | Transfer fails at the fiat payout leg after the crypto has already left the source wallet. The offramp is returned with its normal creation status in the synchronous response, then progresses through the usual statuses before a webhook updates it to `FIAT_FAILED`. | | `COMPLETED` | Transfer completes cleanly and the payout reaches the destination bank, then is reversed after settlement. | All three resolve to `CRYPTO_RETURNED` 3 minutes after reaching the status they force. The offramp reports an intermediate `FIAT_RETURNED` on the way, matching the production progression, so expect webhooks for both statuses. Testnet crypto is delivered on chain to the sender's wallet as part of the return, and `CRYPTO_RETURNED` is reached once that delivery confirms. ## Example request ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps" \ -H "Authorization: Bearer YOUR_SANDBOX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "201ca31d-700f-4c76-ac4b-961623acbb79", "sandboxScenario": "FIAT_FAILED", "source": { "currency": "usdc", "chain": "POLYGON", "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", "amount": 10 }, "destination": { "currency": "usd", "accountId": "12c1c496-8f57-41a1-8292-dbe6547791ce", "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee" } }' ``` ## Coverage Offramp magic values are wired into USD offramps and global network offramps, and all three resolve to `CRYPTO_RETURNED`. Values that are not listed above either fall through to the standard sandbox behavior or return an error. ## Getting help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related resources * [Magic values overview](/features/magic-values/overview) - What magic values are and where they apply * [Onramp magic values](/features/magic-values/onramp) - Force an onramp outcome from the deposit that creates it * [Submit KYC magic values](/features/magic-values/submit-kyc) - Drive a KYC application to a particular status * [Sandbox](/sandbox) - Environment setup and how sandbox differs from production * [Offramps](/transactions/offramps#failed-payouts-and-returns) - Full offramp status progression, including returns * [Offramp events](/webhooks/offramp-events) - Webhook events emitted during failures and returns # Onramp Source: https://docs.hifi.com/features/magic-values/onramp Use magic values in sandbox to force an onramp into a particular outcome, so you can test how your integration handles failures and returns. Every scenario resolves on its own. You force a scenario on the deposit that creates the onramp, the onramp reaches the status you asked for, and **3 minutes later** it moves to its true terminal status, `FIAT_RETURNED`. No follow-up API call is needed. > [!WARNING] > > Magic values are sandbox only. In production, `sandboxScenario` is rejected with a `400`. ## Magic values Onramps funded by a USD virtual account are created by the deposit itself, so onramp magic values are passed on the `sandboxScenario` field of the [simulate a deposit to a virtual account endpoint](https://docs.hifi.com/api-reference/virtual-account/simulate-a-deposit-to-a-virtual-account) rather than on an onramp create request. The following table outlines the magic values and their effects on the onramp the deposit creates: | Magic value | Response | | - | - | | `FIAT_FAILED` | Deposit is rejected during review, before any crypto is delivered, and a webhook updates the onramp to `FIAT_FAILED`. | | `COMPLETED` | Deposit is accepted and the crypto is delivered to the destination wallet, then the deposit is reversed after settlement. | Both resolve to `FIAT_RETURNED` 3 minutes after reaching the status they force, with a webhook for the change. The onramp moves straight there, and `FIAT_RETURNED` is terminal. The fiat is returned to the sender's bank account as part of the return. ## Example request ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee/virtual-accounts/938e3b36-3be7-5535-ba12-8d89eb683e6b/simulate-deposit" \ -H "Authorization: Bearer YOUR_SANDBOX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "0dd0f1a1-5b2f-4f2f-9a6a-2f0a4f2b6c11", "amount": "100", "paymentRail": "WIRE", "sandboxScenario": "FIAT_FAILED", "source": { "routingNumber": "021000021", "accountNumber": "1234567890", "name": "John Doe", "bankName": "Test Bank" } }' ``` ## Coverage Onramp magic values are wired into USD onramps, triggered from the virtual account deposit that creates them, and both resolve to `FIAT_RETURNED`. This is available regardless of which rail funded the deposit. Values that are not listed above either fall through to the standard sandbox behavior or return an error. ## Getting help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related resources * [Magic values overview](/features/magic-values/overview) - What magic values are and where they apply * [Offramp magic values](/features/magic-values/offramp) - Force an offramp outcome at create time * [Submit KYC magic values](/features/magic-values/submit-kyc) - Drive a KYC application to a particular status * [Sandbox](/sandbox) - Environment setup and how sandbox differs from production * [Onramps](/transactions/onramps#failed-deposits-and-returns) - Full onramp status progression, including returns * [Onramp events](/webhooks/onramp-events) - Webhook events emitted during failures and returns # Overview Source: https://docs.hifi.com/features/magic-values/overview ## What are Magic Values Magic values are special input values, recognized only in sandbox, that force a transfer or KYC application into a particular outcome. You pass one when you create the record, and HIFI drives it to the status you asked for instead of the status it would otherwise reach. They exist because the interesting paths in an integration are the ones that are hard to trigger on purpose: * A payout that fails after the crypto has already moved * A deposit that gets reversed after settlement * A KYC application that stalls awaiting more information Magic values let you reach those states on demand. Magic values change the **outcome** a record lands on, not the path it takes to get there. The same steps, statuses, and webhooks fire as in a real failure or reversal, so what you build against sandbox behaves the same way in production. ## Why Use Magic Values * Test **failure and return handling** without waiting for a real failure * Verify your **webhook handlers** against every status your integration can receive * Exercise **terminal states** like `CRYPTO_RETURNED` and `FIAT_RETURNED` deterministically * Reproduce **KYC outcomes**, including rejections and stalled applications ## Where They Apply | Area | How you pass it | Outcomes | | - | - | - | | [Offramp](/features/magic-values/offramp) | `sandboxScenario` on the create offramp request | Resolve to `CRYPTO_RETURNED` after 3 minutes | | [Onramp](/features/magic-values/onramp) | `sandboxScenario` on the simulated deposit that creates the onramp | Resolve to `FIAT_RETURNED` after 3 minutes | | [Submit KYC](/features/magic-values/submit-kyc) | `lastName` or `businessName` on the submit KYC request | Drive the application to a particular status | Transfer scenarios resolve on their own. You force a scenario, the transfer reaches the status you asked for, and 3 minutes later it moves to its true terminal status with no follow-up API call. > [!WARNING] > > Magic values are sandbox only. In production, `sandboxScenario` is rejected with a `400`, and the KYC name values carry no special meaning. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Offramp](/features/magic-values/offramp) - Force an offramp outcome at create time * [Onramp](/features/magic-values/onramp) - Force an onramp outcome from the deposit that creates it * [Submit KYC](/features/magic-values/submit-kyc) - Drive a KYC application to a particular status * [Sandbox](/sandbox) - Environment setup and how sandbox differs from production # Submit KYC Source: https://docs.hifi.com/features/magic-values/submit-kyc Use magic values in sandbox to drive a KYC application to a particular status, so you can test how your integration handles each outcome. KYC uses a separate name-based convention from transfers. Rather than a `sandboxScenario` field, you set a name field to a magic value and the application is driven to the matching status. > [!WARNING] > > Magic values are sandbox only. In production, KYC applications undergo real compliance review and these names carry no special meaning. ## Magic values Set `lastName` (for individuals) or `businessName` (for businesses) to a magic value when making requests to the [submit KYC endpoint](https://docs.hifi.com/api-reference/kyc/submit-kyc) to drive the application to a particular status: | Magic value | Response | | - | - | | `APPROVED` | Application is approved and the user reaches `ACTIVE`. | | `PENDING` | Stuck application. The user stays in `PENDING`. | | `REJECTED` | Application is rejected and the user reaches `REJECTED`. | | `RFI` | The user enters `RFI_PENDING`, then auto-resolves to `ACTIVE` after roughly 10 minutes with no action needed. | > [!NOTE] > > **Note:** Any other value results in the standard sandbox behavior, where KYC is typically auto-approved. Some compliance checks, such as PEP screening, can still block approval in sandbox regardless of the name used. See [KYC status](/kyc/kyc-status) and [KYB status](/kyc/kyb-status) for what each status means. ## Coverage KYC magic values cover `APPROVED`, `PENDING`, `REJECTED`, and the `RFI_PENDING` lifecycle. `RFI` only auto-resolves to `ACTIVE`. ## Getting help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related resources * [Magic values overview](/features/magic-values/overview) - What magic values are and where they apply * [Offramp magic values](/features/magic-values/offramp) - Force an offramp outcome at create time * [Onramp magic values](/features/magic-values/onramp) - Force an onramp outcome from the deposit that creates it * [Sandbox](/sandbox) - Environment setup and how sandbox differs from production * [KYC requirements](/kyc/kyc-requirements) - What each application needs to submit * [KYC events](/webhooks/kyc-events) - Webhook events emitted as an application changes status # Orchestration Addresses Source: https://docs.hifi.com/features/orchestration-addresses An Orchestration Address is a persistent on-chain wallet attached to a USD payout account. Stablecoins sent to it are automatically off-ramped to fiat — immediately, on a schedule, or when an aggregate amount is reached. The user never has to create an offramp manually; HIFI does it for them. An Orchestration Address is the **inverse** of a [Virtual Account](/docs/accounts/virtual-accounts): | | Virtual Account | Orchestration Address | | - | - | - | | Direction | Fiat → Stablecoin | Stablecoin → Fiat | | Deposit method | Bank transfer (wire / ACH) | On-chain stablecoin transfer | | Destination | A crypto wallet | A bank account | Each Orchestration Address is bound to **one user, one chain, one source token (USDC or USDT), and one destination payout account**. The address is persistent — once created it lives forever and keeps accepting deposits, even after deactivation. ## Common Use Cases > [card] Merchant settlement > > Give customers a stable on-chain address to pay into. Auto-settle to your bank daily with `SCHEDULED` mode. > [card] Payment processing > > Issue per-customer addresses and settle each payment independently for clean reconciliation. Best paired with `PER_DEPOSIT` mode. > [card] Treasury sweeps > > Accumulate stablecoin revenue across wallets and sweep to fiat on a fixed cadence. `SCHEDULED` mode (`DAILY` / `WEEKLY`) keeps your bank balance predictable. > [card] Payouts collection > > Collect stablecoin from multiple senders and convert to USD once a meaningful balance accrues. `THRESHOLD` mode minimizes per-offramp fees. > [card] OTC desks & exchanges > > Automate fiat off-ramping without a manual quote-accept on every trade. `PER_DEPOSIT` gives each trade its own offramp record. > [card] Subscription billing > > Charge customers in stablecoin and convert to fiat on your billing cycle with `SCHEDULED` mode. ## How Orchestration Addresses Work **1. Create the address** Configure a source `(currency, chain)`, a USD destination payout account, and an orchestration `mode`. HIFI provisions a dedicated on-chain wallet and returns its address. **2. Receive stablecoin deposits** Senders transfer USDC or USDT on-chain to the address. HIFI detects each deposit via on-chain webhooks. **3. Automatic offramp** Based on the configured mode, HIFI batches eligible deposits and runs them through the standard offramp pipeline. USD lands in the destination account — no manual quote-accept step required. ## Orchestration Modes Choose one of three modes at create time. The mode is changeable later via the update endpoint. > [card] PER_DEPOSIT > > Every detected deposit becomes its own batch and offramp, immediately. > > Best for clients who want each customer payment to settle independently with full traceability. > [card] SCHEDULED > > Deposits accumulate until the next scheduled tick (`HOURLY`, `DAILY`, or `WEEKLY`), then roll up into a single batch. > > Best for predictable cadence or end-of-day sweeps. > [card] THRESHOLD > > Deposits accumulate until their aggregate amount reaches `thresholdAmount`, then roll up into a single batch. > > Best for minimizing offramp fees by waiting for a meaningful balance. Every active address also supports a **manual trigger** that batches whatever is currently pending — regardless of mode — without advancing the `SCHEDULED` clock. ## Supported Source Pairs | Chain | USDC | USDT | | - | :-: | :-: | | Ethereum, Polygon, Base, Solana | ✅ | ✅ | | Tron | ❌ | ✅ | Unsupported pairs (for example, USDC on Tron) are rejected at create time. ## Minimum Amounts Every destination rail enforces a minimum amount. A batch is only created once the eligible `PENDING` deposits sum to at least that minimum. | Rail | Minimum | | - | - | | Wire, ACH, RTP | 1 USDC | | SWIFT | 5 USDC | | USDT (any rail) | 10 USDT | Mode-specific behavior: * **`PER_DEPOSIT`** — a deposit at or above the minimum is batched immediately; a sub-minimum deposit is held `PENDING` and swept into the next qualifying batch. * **`SCHEDULED`** — a tick whose `PENDING` total is below the minimum batches nothing; the deposits roll into the next tick. * **`THRESHOLD`** — `thresholdAmount` is validated to be ≥ the rail minimum at create/update time, so a crossed threshold always clears it. * **Manual trigger** — returns `triggered: false, reason: "below_offramp_minimum"` if the pending total is below the minimum. ## Creating an Orchestration Address Create an address using the [Create Orchestration Address](https://docs.hifi.com/api-reference/orchestration-addresses/create-an-orchestration-address) endpoint. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/orchestration-addresses" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "550e8400-e29b-41d4-a716-446655440000", "source": { "currency": "usdc", "chain": "BASE" }, "destination": { "currency": "usd", "accountId": "acc_xyz789" }, "mode": "PER_DEPOSIT" }' ``` ### Request Fields **requestId** `string` *required* Your idempotency key (UUID v4). Repeating the same `requestId` with the same payload returns the existing record; repeating it with a different payload returns `409 RESOURCE_CONFLICT` identifying the first mismatched field (one of `source.currency`, `source.chain`, `destination.currency`, `destination.accountId`, `mode`, `schedule.interval`, or `thresholdAmount`). **source** `object` *required* The stablecoin and chain the address will accept. **Source Object Fields** **source.currency** `string` *required* Source stablecoin. Options: `usdc`, `usdt`. **source.chain** `string` *required* Blockchain network. Options: `ETHEREUM`, `POLYGON`, `BASE`, `SOLANA`, `TRON`. **destination** `object` *required* The USD payout account that will receive the offramped funds. **Destination Object Fields** **destination.currency** `string` *required* Payout currency. Currently only `usd` is supported. **destination.accountId** `string` *required* ID of an existing USD account belonging to the same user. **mode** `string` *required* Orchestration mode. One of `PER_DEPOSIT`, `SCHEDULED`, or `THRESHOLD`. **schedule** `object` Required when `mode = SCHEDULED`. Must be omitted otherwise. **Schedule Object Fields** **schedule.interval** `string` *required* Tick cadence. Options: `HOURLY`, `DAILY`, `WEEKLY`. **schedule.nextRunAt** `string` Optional ISO timestamp for the first tick. Defaults to `now + interval`. **thresholdAmount** `string` Required when `mode = THRESHOLD`. Must be omitted otherwise. Must be at least the destination rail's offramp minimum. ### Response ```json theme={null} { "id": "oa_abc123", "userId": "usr_abc123", "address": "0xAbc...123", "source": { "currency": "usdc", "chain": "BASE" }, "destination": { "currency": "usd", "accountId": "acc_xyz789" }, "mode": "PER_DEPOSIT", "schedule": null, "thresholdAmount": null, "status": "ACTIVE", "createdAt": "2026-06-22T12:00:00.000Z", "updatedAt": "2026-06-22T12:00:00.000Z", "deactivatedAt": null } ``` > [!NOTE] > > `status` may briefly be `PENDING_WALLET` while the on-chain wallet is being provisioned. The Create endpoint waits for provisioning to complete, so the typical response is already `ACTIVE` with `address` populated. ## Managing the Address Lifecycle ### Update [Update](https://docs.hifi.com/api-reference/orchestration-addresses/update-an-orchestration-address) the mode, schedule, threshold, or destination account at any time while the address is `ACTIVE`. Updates do not affect offramps already in flight — only future deposits use the new configuration. ### Deactivate [Deactivate](https://docs.hifi.com/api-reference/orchestration-addresses/deactivate-an-orchestration-address) the address with a `walletAddress` to receive any in-kind refunds. Deactivation: * Refunds all `PENDING` (not-yet-batched) deposits in-kind to `walletAddress`. * Lets in-flight `PROCESSING` batches continue to completion. * Stops offramping any **new** deposits — they are recorded as `IGNORED` with no automatic refund. The on-chain address keeps receiving deposits even after deactivation, since the underlying wallet cannot be taken offline. ### Manually trigger an orchestration Call [Trigger Orchestration](https://docs.hifi.com/api-reference/orchestration-addresses/trigger-an-orchestration) to batch all currently-`PENDING` deposits immediately, regardless of mode. Idempotent — returns `triggered: false` with a reason when there is nothing to orchestrate. ## Tracking Deposits and Batches Each on-chain deposit is recorded as a **deposit** row; each produced offramp is recorded as a **batch** row. | Resource | Statuses | Use | | - | - | - | | Deposit | `PENDING`, `BATCHED`, `IGNORED` | Track individual on-chain transfers. | | Batch | `PENDING`, `PROCESSING`, `COMPLETED`, `FAILED` | Track the offramp produced from a group of deposits. | Use [List Deposits](https://docs.hifi.com/api-reference/orchestration-addresses/list-deposits) and [List Batches](https://docs.hifi.com/api-reference/orchestration-addresses/list-batches) to query history. > [!TIP] > > [Get Orchestration Address](https://docs.hifi.com/api-reference/orchestration-addresses/get-an-orchestration-address) (the single-address endpoint) also returns a live `balance` field — the on-chain balance of the source token held by the address — so you don't need a separate provider call to check funds in flight. ### Reconciling with offramps Orchestration offramps flow through the same pipeline as direct offramps, so the existing offramp endpoints and webhooks work without changes: * **Webhook events:** the standard offramp progress events fire for orchestration offramps. Each event payload includes an `orchestrationAddressId` field — non-null when the offramp was produced by an orchestration address, null for direct offramps. * **Cross-reference:** [Get Offramp](https://docs.hifi.com/api-reference/offramp/get-an-offramp) includes `orchestrationAddressId` in its response, and a batch's `offrampTransactionId` links to the full offramp record. You can pivot in either direction without an extra round-trip. ### Ignored deposits A deposit is recorded with `status = IGNORED` (and not offramped) in two cases: * **`ADDRESS_DEACTIVATED`** — the deposit arrived after the address was deactivated. * **`UNSUPPORTED_TOKEN`** — the sender used the wrong stablecoin (for example, sending USDT to a USDC-only address). In both cases the funds remain in the on-chain wallet. Contact support to arrange a manual refund. ### Failed batches A batch can land in `FAILED` for one of two reasons, surfaced as `failureReason`: * **`ADDRESS_NOT_ACTIVE`** — the address was deactivated between batch creation and processing. * **A terminal offramp status** (`NOT_INITIATED`, `QUOTE_FAILED`, `CRYPTO_FAILED`, `FIAT_FAILED`, `EXPIRED`, `REJECTED`, `CANCELLED`) — the underlying offramp terminated. Compliance issues (lost product access, KYC rejection) surface here. The deposits in a failed batch remain in `BATCHED` status and are not automatically retried. Contact support to re-batch them once any underlying issue is resolved. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Virtual Accounts](/docs/accounts/virtual-accounts) - The inverse flow: fiat deposits converted to stablecoins * [Developer Fees](/docs/features/developer-fees) - Fee calculation for offramp transactions * [API Reference](https://docs.hifi.com/api-reference/orchestration-addresses/create-an-orchestration-address) - Complete endpoint documentation # Requests for Information Source: https://docs.hifi.com/features/rfi A request for information (RFI) is raised when our compliance team needs evidence beyond what was submitted. We email the request to your compliance contact with a HIFI-hosted link, and you can answer there or submit the reply through the API. ## Overview An RFI is opened by our compliance team after a review, either against a user's KYC/KYB or against a single transfer | Kind | Raised against | Effect while open | | :- | :- | :- | | `onboarding` | The user's KYC/KYB | KYC status moves to `RFI_PENDING` and onboarding does not complete until the request is resolved | | `transaction` | A single onramp or offramp | That transfer stays held until the request is resolved | ## Knowing an RFI Is Open There are three ways to find out, and they answer slightly different questions. | Signal | Tells you | | :- | :- | | [`KYC.RFI.OPEN` and `KYC.RFI.CLOSED`](/webhooks/kyc-events#kyc-rfi) webhooks | An onboarding request was opened or closed for a user | | [`ONRAMP.RFI.OPEN`](/webhooks/onramp-events#rfi-events) / [`OFFRAMP.RFI.OPEN`](/webhooks/offramp-events#rfi-events) and the matching `CLOSED` webhooks | A transaction request was opened or closed for a transfer. Pass the transfer's ID as `transferId` to GET `/v2/rfis` to fetch it | | GET `/v2/users/:user_id/kyc/status` | The user's KYC status, plus an `rfi` object describing the open onboarding request | | GET `/v2/rfis` | Every request across all your users, including transaction requests | > [!NOTE] > > A user can sit at `RFI_PENDING` with `rfi` still `null`. Our compliance team flags the case first and composes the request afterwards, so the status changes before there is anything to answer. Once the request is issued and emailed, `rfi` is populated. ## Rounds Each RFI has one open round at a time, numbered from 1. A round carries its own questions, its own deadline, and its own link. If the reply does not settle the question, our compliance team asks again, which closes the current round and opens the next one with a fresh link. A round accepts one submission. Answering twice, or answering after the deadline, returns an error rather than replacing the reply. ## Request Items The `items` array on the current round is what is being asked for, in the order it should be shown. Each item is answered by its `id`. | Field | Description | | :- | :- | | `id` | Quote this as `requestItemId` when you reply | | `kind` | `document` expects a file, or text explaining why the file cannot be provided. `question` expects text only | | `label` | What is being asked for, in the reviewer's own words | | `docType` | Hint for the kind of document expected, or `null` for a custom request. Not a closed set | | `detail` | Additional guidance, or `null` | | `required` | Whether the item must be answered for the submission to be accepted | ## Example: Answer an RFI **1. Find the open request** List the requests raised against your users, filtering by status. **Request** ```shell theme={null} curl "https://sandbox.hifibridge.com/v2/rfis?status=issued" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response** ```json theme={null} { "data": [ { "id": "7c9e1a34-5b02-4d68-91af-3e6d2b8c4075", "kind": "onboarding", "status": "issued", "subjectType": "individual", "userId": "2d5b7e18-9c40-4a63-b8f1-7e0a4c9d2536", "transferId": null, "flowType": null, "createdAt": "2026-07-01T10:30:00.000Z", "currentRound": 1, "round": { "id": "b81d4f2c-6e35-4a90-9f27-0c3e5a71d8b6", "round": 1, "issuedAt": "2026-07-01T10:30:00.000Z", "expiresAt": "2026-07-31T10:30:00.000Z", "submittedAt": null, "items": [ { "id": "3f7c1e90-2a4b-4d61-9c0e-5b8f2d6a1e34", "kind": "document", "label": "Proof of address issued in the last 3 months", "docType": "proof_of_address", "detail": "A utility bill or bank statement dated within the last three months.", "required": true }, { "id": "6b2d4a81-7c05-4e39-8f1a-2d9c3e7b5041", "kind": "question", "label": "What is the source of the funds being deposited?", "docType": null, "detail": null, "required": true } ], "link": "https://dashboard.hifi.com/production/rfi-link/rfir_2mNpXwZ7bV1aLcs3Kf9dQ#sessionToken=..." } } ], "pagination": { "limit": 20, "offset": 0, "total": 1 } } ``` > [!TIP] > > You can stop here. Open the `link` and answer on the HIFI-hosted page, with no further calls. The same link was emailed to your compliance contact when the request was issued. **2. Upload any documents** Upload each file via POST `/v2/files` and keep the `file_` ID from the response. ```shell theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/files" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "file=@proof-of-address.pdf" ``` **3. Submit the reply** Answer every required item in one call. Each entry carries exactly one of `fileId` or `answerText`, and repeating a `requestItemId` attaches several files to the same item. **Request** ```shell theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/rfis/7c9e1a34-5b02-4d68-91af-3e6d2b8c4075/submissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "requestItemId": "3f7c1e90-2a4b-4d61-9c0e-5b8f2d6a1e34", "fileId": "file_7bV1aLcs3Kf9dQ2mNpXwZ" }, { "requestItemId": "6b2d4a81-7c05-4e39-8f1a-2d9c3e7b5041", "answerText": "Salary from the user's employer, with payslips attached." } ] }' ``` **Response** ```json theme={null} { "rfiId": "7c9e1a34-5b02-4d68-91af-3e6d2b8c4075", "roundId": "b81d4f2c-6e35-4a90-9f27-0c3e5a71d8b6", "round": 1, "status": "submitted", "submittedAt": "2026-07-03T09:12:44.000Z", "responseCount": 2 } ``` **4. Track the outcome** The request sits at `submitted` while our compliance team reviews it. It then moves to `resolved`, or a new round opens if they need more. A request left unanswered past its deadline moves to `expired`. Resolving or expiring sends `KYC.RFI.CLOSED` for an onboarding request, or `ONRAMP.RFI.CLOSED` / `OFFRAMP.RFI.CLOSED` for a transaction request. A new round does not send another `OPEN`. ## Statuses | Status | Description | | - | - | | `issued` | Emailed to your compliance contact and waiting on a reply | | `submitted` | Answered and under review by our compliance team | | `resolved` | Decided by our compliance team | | `expired` | The deadline passed without a reply | > [!NOTE] > > These are the RFI's own statuses. The user's KYC status is separate: it reads `RFI_PENDING` while an onboarding request is open, and moves on once the request is resolved. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [KYC Status](/kyc/kyc-status) - Individual KYC statuses * [KYB Status](/kyc/kyb-status) - Business KYB statuses * [KYC Links](/features/kyc-links) - HIFI-hosted KYC collection # Settlement Rules Source: https://docs.hifi.com/features/settlement-rules Settlement Rules allow you to configure automated fee calculations and distributions for Virtual Account transactions. Automatically deduct fees using fixed amounts, percentages, or tiered pricing models, and send them to specified wallet addresses. > [!NOTE] > > Looking to charge fees for offramps? Visit [Developer Fees](/docs/features/developer-fees) for more details. ## How Settlement Rules Work **1. Create settlement rule** Define fee calculation methods and destination wallets. Settlement rules support fixed and tiered pricing models with percentage or flat fee amounts. **2. Apply to virtual account** Associate the rule with a user's virtual account. Rules must be created on the same blockchain network as the virtual account's destination chain. **3. Automatic distribution** Fees are automatically calculated and distributed on each transaction. The transaction amount is received, fees are deducted, and payments are sent to specified wallet addresses. ## Rule Configuration Settlement rules support two calculation models that can be combined: * **Fixed**: Apply a single rate or value to all transactions * **Tiered**: Apply different rates or values based on transaction amount ranges For each model, you can use either fixed values (flat fee amounts) or percentage values (percentage of transaction amount). You can also configure whether to include the HIFI platform fee in the calculation. ## Creating Settlement Rules Create a settlement rule using the [Create Settlement Rule](https://docs.hifi.com/api-reference/settlement-rules/create-a-settlement-rule) endpoint. ### Request ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/virtual-accounts/settlement-rules" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "550e8400-e29b-41d4-a716-446655440000", "chain": "BASE", "includeHIFIFee": false, "rules": [ { "type": "PERCENTAGE", "calculationModel": "FIXED", "value": 0.001, "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" }, { "type": "FIXED", "calculationModel": "FIXED", "value": 0.5, "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" } ] }' ``` **requestId** `string` *required* Unique identifier for the request (recommend using UUID v4). **chain** `string` *required* Blockchain network for the settlement rule (e.g., , , , ). **includeHIFIFee** `boolean` Whether to include HIFI platform fee in the calculation. Defaults to . **rules** `array` *required* Array of fee rule objects to apply (minimum 1 rule required). Each rule object contains: **Rule Object Fields** **type** `string` *required* Fee type. Must be or . **calculationModel** `string` *required* Calculation model. Must be or . **value** `number` Fee value (required for model, omit for ). Use decimal for percentages or a flat amount. **tiers** `array` Array of tier configurations (required for model, omit for ). Each tier contains: **Tier Object Fields** **min** `string` *required* Minimum value for this tier (empty string required for first tier). **max** `string` *required* Maximum value for this tier (empty string required for last tier). **value** `number` *required* Fee value for this tier. **walletAddress** `string` *required* Beneficiary wallet address to receive the fee. > [!NOTE] > > Multiple rules can be applied to a single settlement rule configuration. The rules are processed in the order they are defined. ### Response ```json theme={null} { "id": "15c786fb-de7a-520c-a4b3-f312d4a122d2", "chain": "BASE", "includeHIFIFee": false, "rules": [ { "type": "PERCENTAGE", "calculationModel": "FIXED", "value": 0.001, "tiers": null, "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" }, { "type": "FIXED", "calculationModel": "FIXED", "value": 0.5, "tiers": null, "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" } ] } ``` **id** `string` Unique settlement rule ID. Use this when applying the rule to virtual accounts. **chain** `string` Blockchain network the rule is configured for. Must match the virtual account's destination chain. **includeHIFIFee** `boolean` Whether HIFI platform fees are included in fee calculations. **rules** `array` Array of fee rules with their configuration, including type, calculation model, values, and beneficiary wallets. > [!NOTE] > > For detailed field documentation, see the [Create Settlement Rule](https://docs.hifi.com/api-reference/settlement-rules/create-a-settlement-rule) API reference. ## Rule Types Settlement rules support two calculation models that can be combined to create flexible fee structures: > [accordion] Fixed Calculation with Fixed Value > > Charge a flat fee amount per transaction regardless of transaction size. > > ```json theme={null} > { > "type": "FIXED", > "calculationModel": "FIXED", > "value": 0.5, > "tiers": null, > "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" > } > ``` > [accordion] Fixed Calculation with Percentage > > Charge a percentage of the transaction amount using a single rate. > > ```json theme={null} > { > "type": "PERCENTAGE", > "calculationModel": "FIXED", > "value": 0.001, > "tiers": null, > "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" > } > ``` > [accordion] Tiered Calculation with Percentage > > Charge a percentage using different rates based on transaction amount ranges. Useful for volume-based pricing. > > ```json theme={null} > { > "type": "PERCENTAGE", > "calculationModel": "TIERED", > "value": null, > "tiers": [ > { > "min": "", > "max": "1000", > "value": 0.0007 > }, > { > "min": "1000", > "max": "2000", > "value": 0.0005 > }, > { > "min": "2000", > "max": "", > "value": 0.0002 > } > ], > "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b" > } > ``` > > > [!NOTE] > > > > For tiered rules, leave `min` empty for the first tier and `max` empty for the last tier to create open-ended ranges. ## Applying Rules to Virtual Accounts After creating a settlement rule, associate it with a specific user's virtual account using the [Apply Settlement Rule](https://docs.hifi.com/api-reference/settlement-rules/apply-settlement-rule-to-virtual-account) endpoint. ### Request ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules/{ruleId}" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Path Parameters:** * **userId** (required): User ID who owns the virtual account * **accountId** (required): Virtual account ID to apply the rule to * **ruleId** (required): Settlement rule ID from the create response > [!WARNING] > > Settlement rules must be created on the same blockchain network as the virtual account's destination chain. For example, a virtual account configured for POLYGON can only use settlement rules created on POLYGON. ## How Fee Distribution Works When a transaction is processed through a virtual account with settlement rules: **1. Transaction received** The transaction amount is received through the virtual account. **2. Fees calculated** Fees are automatically calculated based on the settlement rule configuration. **3. Amounts distributed** The remaining amount is sent to the virtual account's destination wallet, and fee payments are sent to the specified wallet addresses. ### Monitoring Fees Track settlement transactions and fee distributions by monitoring the specified wallet addresses. Each fee distribution includes an on-chain transaction hash for verification. ## Key Concepts ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Virtual Accounts](/docs/accounts/virtual-accounts) - Set up reusable bank accounts for deposits * [Developer Fees](/docs/features/developer-fees) - Fee calculation for offramp transactions * [API Reference](https://docs.hifi.com/api-reference/settlement-rules/create-a-settlement-rule) - Complete endpoint documentation # KYC Token Import (Beta) Source: https://docs.hifi.com/features/token-sharing KYC Token Import allows you to onboard users who have already completed identity verification with Sumsub on your platform. Share their existing KYC directly into HIFI without requiring users to re-submit their information. > [!NOTE] > > KYC Token Import is a gated feature. Contact your HIFI account manager to have it enabled for your profile. ## How KYC Token Import Works **1. User completes KYC on your platform** Your user finishes identity verification through Sumsub on your own application. Their applicant data is stored in your Sumsub account and approved. **2. Generate a share token** Using Sumsub's API, generate a reusable identity share token for the applicant. This token authorizes HIFI to access the user's existing KYC data. **3. Import the token into HIFI** Call the Import KYC Token endpoint with the user's HIFI `userId` and the Sumsub share token. HIFI imports the applicant record and queues an async document sync. **4. Monitor KYC status** After import, the user's KYC status reflects their Sumsub review result. Use the [Retrieve KYC Status](/api-reference/kyc/retrieve-kyc-status) endpoint to poll for updates. ## Importing a KYC Token Import a user's existing Sumsub verification using the [Import KYC Token](/api-reference/kyc/import-kyc-token) endpoint. ### Request ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/{userId}/kyc/import-token" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "tokenProvider": "SUMSUB", "token": "your-sumsub-share-token" }' ``` **tokenProvider** `string` *required* The KYC provider the token was issued by. Currently only `SUMSUB` is supported. **token** `string` *required* The reusable identity share token obtained from Sumsub. Used to authorize HIFI to import the applicant's existing KYC data. ### Response ```json theme={null} { "rails": "USD", "status": "PENDING", "message": "Your KYC application has been successfully created. We will review it shortly.", } ``` **rails** `string` The rail the KYC submission applies to. Token import currently supports the USD rail. **status** `string` The KYC review status after import. Common values are PENDING, ACTIVE, INCOMPLETE, and INACTIVE. **message** `string` A human-readable description of the current status or any error encountered during import. ## Behavior > [accordion] User already has submitted KYC Application > > If the user already has submitted their KYC application, the endpoint returns a `400` with an error message indicating the user is not allowed for token sharing. > [accordion] Invalid or expired share token > > If Sumsub rejects the token (e.g., it has expired or was already used), the endpoint returns a `400` with an error message indicating the token is invalid. Generate a fresh share token from Sumsub and retry. > [accordion] Document sync is asynchronous > > After a successful import, HIFI queues a background job to pull the applicant's documents from Sumsub. The import response does not wait for documents to be synced — use the  [Retrieve KYC Status](/api-reference/kyc/retrieve-kyc-status) endpoint to check completion. ## Managing KYC After Import Once a token is imported, the user's KYC data is fully managed through HIFI's standard KYC endpoints — no special handling is required. ### Updating KYC Information If the imported data is incomplete or needs correction, use the [Update KYC](/api-reference/kyc/update-kyc-information) endpoint to modify individual fields. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/{userId}/kyc" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "firstName": "Jane", "lastName": "Doe" }' ``` ### Resubmitting KYC If the imported KYC is reviewed and comes back `INCOMPLETE`, update the flagged fields and resubmit using the [Submit KYC](vscode-webview://0i1j29tk92nufv4ln4afcj0psprq4mtgggj5r943g6sjkcmsrbdu/api-reference/kyc/submit-kyc) endpoint. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/{userId}/kyc/submissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rails": "USD" }' ``` Use the [Retrieve KYC Requirements](vscode-webview://0i1j29tk92nufv4ln4afcj0psprq4mtgggj5r943g6sjkcmsrbdu/api-reference/kyc/retrieve-kyc-requirements) endpoint beforehand to identify exactly which fields are missing or invalid before resubmitting. ## Notes for Token Sharing * Individuals only — no business/entity * Applicant must already be approved on the token donor side * Customer must have a specific agreement setting activated with HIFI in Sumsub * Applicant's Sumsub profile must contain all fields required by HIFI's [KYC standard](/rails/usd) * A given user can only import token once ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [KYC Overview](vscode-webview://0i1j29tk92nufv4ln4afcj0psprq4mtgggj5r943g6sjkcmsrbdu/docs/kyc/overview) - KYC submission flows and status lifecycle * [Submit KYC](vscode-webview://0i1j29tk92nufv4ln4afcj0psprq4mtgggj5r943g6sjkcmsrbdu/api-reference/kyc/submit-kyc) - Standard KYC submission without token import * [Retrieve KYC Status](vscode-webview://0i1j29tk92nufv4ln4afcj0psprq4mtgggj5r943g6sjkcmsrbdu/api-reference/kyc/retrieve-kyc-status) - Poll for KYC review outcomes * [API Reference](vscode-webview://0i1j29tk92nufv4ln4afcj0psprq4mtgggj5r943g6sjkcmsrbdu/api-reference/kyc/import-kyc-token) - Complete endpoint documentation # Transfer Approvals Source: https://docs.hifi.com/features/transfer-approvals Transfer approvals provide multi-party authorization for transactions, adding security and compliance controls to your organization's transaction workflow. Require approval before executing high-value or sensitive transactions. > [!NOTE] > > Transfer approvals apply to on-chain stablecoin transfers (wallet transfers, > batch transfers, and bridging) and offramps. Onramps do not support approval > workflows. ## How Transfer Approvals Work **1. Create transfer with approval** Include `requireApproval: true` when creating a transfer via API. **2. Transfer enters pending state** Transfer status becomes `PENDING_APPROVAL` and does not execute. **3. Admin notification** Dashboard admins receive email notifications about the pending approval. **4. Approve or reject** Authorized admins review and either approve or reject the transfer. **5. Execution or cancellation** If approved, transfer executes normally. If rejected, transfer is cancelled. ## Implementation Options Transfer approvals work differently depending on where transactions are initiated: ### Dashboard Approvals When transfers are created in the HIFI Dashboard: * **Members** can initiate wallet transfers * **Member-initiated transfers** require Admin approval before execution * **Admin-initiated transfers** execute without approval * **Members** can initiate offramp transactions, and these will **always** enter the transfer approval flow (require Admin approval) * **Email notifications** sent for approvals and rejections ### API Approvals When using the API: * Include `requireApproval: true` when creating transfers * Transfers enter approval workflow until approved or rejected * Supported on wallet transfers, batch transfers, bridging, and offramps * **Offramp transactions** will enter the transfer approval flow **only** if `requireApproval: true` is set in the request body * Can be integrated into your application's approval logic ## Creating Transfers with Approval Add the `requireApproval` parameter to any supported transaction endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/wallets/transfers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6", "source": { "userId": "usr_abc123" }, "destination": { "userId": "usr_xyz789" }, "amount": 10000, "currency": "usdc", "chain": "POLYGON", "requireApproval": true }' ``` **Response:** ```json theme={null} { "transferType": "WALLET.TRANSFER", "transferDetails": { "id": "xfr_abc123", "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6", "status": "PENDING_APPROVAL", "amount": 10000, "currency": "usdc", "chain": "POLYGON", "receipt": { "approval": { "id": "apv_xyz789", "status": "PENDING", "transferId": "xfr_abc123", "transferType": "WALLET.TRANSFER", "createdAt": "2025-02-03T16:11:36.654998+00:00", "votes": [] } } } } ``` ### Supported Endpoints The `requireApproval` parameter works with: | Endpoint | Transfer Type | | :- | :- | | `POST /v2/wallets/transfers` | Single wallet transfers | | `POST /v2/wallets/transfers/batches` | Batch transfers (up to 50 recipients) | | `POST /v2/wallets/bridges` | Cross-chain bridging transfers | | `POST /v2/offramps` | Offramp transfers (stablecoin to fiat) | > [!NOTE] > > **Bridging and Offramp Note:** For bridging transfers and offramps, quotes are > generated **after** approval. This prevents quotes from expiring while > awaiting review. ## Listing Pending Approvals Retrieve all transactions awaiting approval using the [List Transaction Approvals](https://docs.hifi.com/api-reference/transfer-approval/list-transfer-approvals) endpoint. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifi.com/v2/transfer-approvals?limit=20&offset=0" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Query Parameters:** * **limit** (optional): Number of approvals to return (default: 20, max: 100) * **offset** (optional): Number of approvals to skip for pagination (default: 0) **Response:** ```json theme={null} { "success": true, "message": "Pending approvals retrieved successfully", "count": 2, "approvals": [ { "id": "apv_abc123", "transferId": "xfr_xyz789", "status": "PENDING", "transferType": "WALLET.TRANSFER", "createdAt": "2024-01-15T10:30:00.000Z", "updatedAt": "2024-01-15T11:00:00.000Z" }, { "id": "apv_def456", "transferId": "bat_ghi789", "status": "PENDING", "transferType": "WALLET.TRANSFER.BATCH", "createdAt": "2024-01-15T09:15:00.000Z", "updatedAt": "2024-01-15T09:15:00.000Z" } ] } ``` Use this endpoint to build approval dashboards or automate approval workflows. ## Approving Transfers Approve pending transfers using the [Approve Transfer](https://docs.hifi.com/api-reference/transfer-approval/approve-transfer) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/transfer-approvals/apv_abc123/approve" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "comment": "Approved after reviewing transaction details" }' ``` **Request Fields:** * **approvalId** (required, path): ID of the approval to approve * **comment** (optional): Explanation for the approval decision (max 1000 characters) **Response:** ```json theme={null} { "success": true, "message": "Transfer approved and initiated successfully", "approvalId": "apv_abc123", "status": "APPROVED", "timestamp": "2024-01-15T11:00:00.000Z" } ``` After approval, the transfer proceeds to execution immediately. ## Rejecting Transfers Reject pending transfers using the [Reject Transfer](https://docs.hifi.com/api-reference/transfer-approval/reject-transfer) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/transfer-approvals/apv_abc123/reject" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "comment": "Transfer amount exceeds daily limit" }' ``` **Request Fields:** * **approvalId** (required, path): ID of the approval to reject * **comment** (optional): Reason for rejection (max 1000 characters) **Response:** ```json theme={null} { "success": true, "message": "Transfer rejected successfully", "approvalId": "apv_abc123", "status": "REJECTED", "timestamp": "2024-01-15T11:00:00.000Z" } ``` Rejected transactions are cancelled and will not execute. ## Approval Status Flow Transactions with `requireApproval: true` follow this status progression: | Status | Description | | :- | :- | | **PENDING_APPROVAL** | Transaction awaiting admin approval | | **APPROVED** | Transaction approved and proceeding to execution | | **REJECTED** | Transaction rejected and cancelled | After approval, transactions move to normal execution statuses (`CREATED`, `INITIATED`, `PENDING`, `COMPLETED`). > [!WARNING] > > **Expiration Times:** Transactions in `PENDING_APPROVAL` status will > automatically expire if not approved or rejected within the following > timeframes: - **Onchain transfers** (wallet transfers, batch transfers, > bridging): Expire after **1 week** - **Offramps**: Expire after **1 day** > Expired transactions are automatically cancelled and cannot be executed. > [!NOTE] > > **Status Updates:** Subscribe to `TRANSFER.APPROVAL.PENDING`, > `TRANSFER.APPROVAL.APPROVED`, and `TRANSFER.APPROVAL.REJECTED` webhook events > to receive real-time approval notifications. See [Webhooks](/docs/webhooks) > for setup instructions. ## Notifications ### Email Notifications **Admins receive notifications when:** * A transaction requires approval (Member-initiated) * A transaction needs their review **Members receive notifications when:** * Their transaction request is approved * Their transaction request is rejected (with reason if provided) ### Webhook Events Subscribe to approval events for automated workflows: | Event Type | Description | | :- | :- | | **TRANSFER.APPROVAL.PENDING** | Transaction created, awaiting approval | | **TRANSFER.APPROVAL.APPROVED** | Transaction approved, proceeding to execution | | **TRANSFER.APPROVAL.REJECTED** | Transaction rejected and cancelled | ## Sample Code Here's a complete approval workflow implementation: **1. Create a High-Value Transaction That Requires Approval** To trigger an approval workflow for transactions over a certain threshold (e.g., \$10k), include `requireApproval: true` in your request: ```javascript theme={null} async function createHighValueTransfer(amount, destinationUserId) { const requireApproval = amount > 10000; const transfer = await fetch('https://sandbox.hifi.com/v2/wallets/transfers', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ requestId: crypto.randomUUID(), source: { userId: 'usr_treasury' }, destination: { userId: destinationUserId }, amount, currency: 'usdc', chain: 'POLYGON', requireApproval }) }).then(r => r.json()); if (transfer.transferDetails.status === 'PENDING_APPROVAL') { notifyApprovers(transfer.transferDetails.id); } return transfer; } ``` If the transaction is flagged for approval, notify approvers (e.g., by email or internal notification). **2. List Pending Approvals (for Admin Review)** Fetch all pending transaction approvals to display in an admin dashboard: ```javascript theme={null} async function fetchPendingApprovals() { const approvals = await fetch( 'https://sandbox.hifi.com/v2/transfer-approvals?limit=50', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } } ).then(r => r.json()); return approvals.approvals.map(approval => ({ id: approval.id, transferId: approval.transferId, type: approval.transferType, pendingSince: approval.createdAt })); } ``` **3. Approve a Pending Transaction** Admins can approve a pending transaction by submitting an approval action: ```javascript theme={null} async function approveTransfer(approvalId, adminComment) { const approval = await fetch( `https://sandbox.hifi.com/v2/transfer-approvals/${approvalId}/approve`, { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ comment: adminComment }) } ).then(r => r.json()); console.log('Transaction approved:', approval.approvalId); return approval; } ``` **4. React to Approval Webhook Events** Use webhook events to automatically notify stakeholders and update your application's state: ```javascript theme={null} function handleApprovalWebhook(event) { switch (event.eventType) { case 'TRANSFER.APPROVAL.PENDING': sendSlackNotification({ message: `Transaction ${event.data.transferId} requires approval`, amount: event.data.amount, destination: event.data.destination }); break; case 'TRANSFER.APPROVAL.APPROVED': updateTransferStatus(event.data.transferId, 'APPROVED'); notifyRequester(event.data.initiatorId, 'approved'); break; case 'TRANSFER.APPROVAL.REJECTED': notifyRequester(event.data.initiatorId, 'rejected', event.data.comment); break; } } ``` Subscribe to webhook endpoints to handle `TRANSFER.APPROVAL.*` events. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/docs/transactions/transfers) - Single wallet transfers * [Batch Transfers](/docs/features/batch-transfers) - Multiple recipient transfers * [Bridging](/docs/transactions/bridging) - Cross-chain transfers * [Webhooks](/docs/webhooks) - Real-time approval notifications * [API Reference](https://docs.hifi.com/api-reference/transfer-approval/list-transfer-approvals) - Complete endpoint documentation # Welcome to HIFI Source: https://docs.hifi.com/index Infrastructure for money With HIFI, you can move, convert, route, and compile value across stablecoins and bank rails. Whether you're building cross-border flows, wallet products, or programmable money movement, HIFI provides a composable API platform to help you go live faster. ## What you can build > [card] [Send and receive payments](/transactions/overview) > > Move funds globally using fiat rails, stablecoins, and supported digital > assets. > [card] [Virtual accounts](/accounts/virtual-accounts) > > Issue local deposit accounts for users in supported markets and currencies. > [card] [Custody funds](/wallets) > > Provision custodial wallets and manage stablecoin balances securely. > [card] [On/off-ramp flows](/rails) > > Convert between local fiat rails and stablecoin balances through one API. > [card] [Automated orchestration](/features/settlement-rules) > > Build programmable money movement with settlement rules and workflow > controls. > [card] [Platform reporting](/reporting/metrics) > > Monitor operational and financial metrics across your payment flows. ## Getting started > [card] [Quickstart](/guides/quickstart) > > Get up and running in minutes with your first API flow. > [card] [Guides](/guides/quickstart) > > Explore practical integration flows for sending and receiving funds. > [card] [API Reference](/api/authentication) > > Review endpoint-level documentation with request and response schemas. > [card] [Dashboard](https://app.hifi.com) > > Access keys, manage environments, and operate your integration. ## Getting help We’re happy you’re here! If you have questions, encounter an issue, or need guidance, our team is ready to help — just reach out to us. [**support@hifi.com**](mailto:support@hifi.com) # Overview Source: https://docs.hifi.com/kyc To comply with financial regulations, HIFI enforces KYC (Know Your Customer) and KYB (Know Your Business) checks before a User can receive funds from fiat (onramps) or pay out to fiat (offramps). ## KYC & Rails A Rail is a payment corridor that enables payins or payouts to specific regions. Each rail has different KYC requirements depending on what it enables. | Rail | Access | Notes | | - | - | - | | USD Rail | Payins and payouts to the US via ACH, Wire, or RTP | Full USD coverage, includes virtual accounts | | Global Network Rail | Payouts to select corridors in Asia and Africa | Multi-currency support across key markets | | Africa Rail (Beta) | Payins and payouts across supported African countries | Local currency settlement | > [card] [Explore rails](/docs/rails) > > View supported rails and their KYC requirements ## KYC Requirements Before submitting KYC information, call the KYC Requirements endpoint to see what documents and information are needed for a specific user and rail combination. ```http Request theme={null} GET https://sandbox.hifibridge.com/v2/users/{userId}/kyc/requirements?rails=USD Authorization: Bearer ``` > [card] [KYC Requirements Guide](/kyc/kyc-requirements) > > Learn about the endpoint and response structure ## Submit KYC Once you've gathered and uploaded the required information for the User, submit it using the [KYC Submit](https://docs.hifi.com/api-reference/kyc/submit-kyc) endpoint. **What happens next:** * **Successful submission**: Status progresses to `pending` and enters compliance review * **Unsuccessful submission**: Status moves to `incomplete` with details about what's missing or invalid ## Track KYC Status After you submit KYC data, use the [KYC Status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) endpoint to monitor review progress and see any follow-up actions. When the status reaches `active`, the user can now access the functionalities of that rail. This guide lists every possible status, explains review results, and shows complete response examples. > [card] [KYC Status Guide](/kyc/kyc-status) > > Learn more about the endpoint and response structure ## Alternative: KYC Link If you don't want to handle KYC submission via API, generate a KYC link for users to complete verification through a web interface. > [card] [Create KYC Link](/features/kyc-links) > > Learn how to onboard users using a link # KYB Status Source: https://docs.hifi.com/kyc/kyb-status To check where a business's verification stands, diagnose issues, and confirm when they're ready to use a rail, use the [KYC Status endpoint](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status). This guide focuses on interpreting the business-specific response. > [!TIP] > > Read the [KYC Status](/kyc/kyc-status) guide first—it explains the compliance screening structure without Ultimate Beneficial Owners. > [!NOTE] > > This guide focuses on the USD rail. Requirements and response structure differ for other rails—see the [API > Reference](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) for complete details. ## Status Overview Business KYB applications move through the same statuses as individual KYC: | Status | Description | | - | - | | **INACTIVE** | No KYB submitted yet—call Submit KYC to begin verification | | **INCOMPLETE** | Submitted data needs updates—fix flagged items and resubmit | | **PENDING** | KYB submitted and is moving through automated compliance checks or bank onboarding | | **MANUAL_REVIEW** | Compliance team manually reviewing before final decision | | **RFI_PENDING** | Compliance requested additional information—check your compliance email | | **ACTIVE** | Business passed compliance review and can use the USD rail | | **REJECTED** | Permanently denied for USD rail—resubmission not permitted | | **CONTACT_SUPPORT** | System couldn't confirm status—contact HIFI support | > [!NOTE] > > Contact support if a business applicant remains in `PENDING` or `MANUAL_REVIEW` for more than 3 days. ## Response Structure ### Top-Level Fields The KYB status response has the same top-level structure as individual KYC, but with business-specific compliance categories in the `details` object. **status** `string` Current KYB application status **message** `string` Human-readable context for developers **reviewResult** `object` Overall decision for the KYB submission (`APPROVED`, `DECLINED`, or empty while pending review). **details** `object` Breakdown of business compliance categories and review results ### Review Result Each compliance category includes a `reviewResult` object with a general summary of the compliance review outcome. The same schema is used for the top-level `reviewResult` field: **reviewAnswer** `string` Screening outcome: `APPROVED` or `DECLINED` **reviewRejectType** `string` Resubmission permission: `RETRY` (can resubmit) or `FINAL` (hard rejection). Only present when `reviewAnswer` is `DECLINED`. **rejectReasons** `array[string]` Enumerated rejection reasons. Only present when `reviewAnswer` is `DECLINED`. **comment** `string` Human-readable explanation of the rejection. Only present when `reviewAnswer` is `DECLINED`. ### Review Details The `details` object returns the compliance review outcome for each information category. Every category includes a `reviewResult`, and some categories provide additional nested data. **companyInfo** `object` Structured business data: legal name, registered address, registration number, tax identifiers, and other non-document metadata. **properties** **reviewResult** `ReviewResultObject` Outcome of the automated compliance checks for the provided company attributes. **questionnaire** `object` Responses to the compliance questionnaire (purpose of account, expected transaction volume, counterparties, source of funds). **properties** **reviewResult** `ReviewResultObject` Approval state for the questionnaire answers. `DECLINED` responses include the reason and remediation comment. **legalPresence** `object` Document verification for the legal presence requirements. **properties** **reviewResult** `ReviewResultObject` Aggregate result for all submitted documents in this category. **details** `array[Document]` List of every uploaded document that was reviewed. **Document item** **id** `string` UUID for the document uploaded through Update KYC. **type** `string` Document category such as `INCORPORATION_CERT`, `INFORMATION_STATEMENT`, or `PROOF_OF_ADDRESS`. **subType** `string` Optional qualifier like `SINGLE_SIDE` or `FRONT_SIDE`. **reviewResult** `ReviewResultObject` Outcome for the individual document; comments explain what to resubmit when declined. **ownershipStructure** `object` Document verification for the ownership structure requirements. **properties** **reviewResult** `ReviewResultObject` Aggregate result for all submitted documents in this category. **details** `array[Document]` List of every uploaded document that was reviewed. **Document item** **id** `string` UUID for the document uploaded through Update KYC. **type** `string` Document category such as `INCORPORATION_CERT`, `INFORMATION_STATEMENT`, or `PROOF_OF_ADDRESS`. **subType** `string` Optional qualifier like `SINGLE_SIDE` or `FRONT_SIDE`. **reviewResult** `ReviewResultObject` Outcome for the individual document; comments explain what to resubmit when declined. **companyDetails** `object` Document verification for the company details requirements. **properties** **reviewResult** `ReviewResultObject` Aggregate result for all submitted documents in this category. **details** `array[Document]` List of every uploaded document that was reviewed. **Document item** **id** `string` UUID for the document uploaded through Update KYC. **type** `string` Document category such as `INCORPORATION_CERT`, `INFORMATION_STATEMENT`, or `PROOF_OF_ADDRESS`. **subType** `string` Optional qualifier like `SINGLE_SIDE` or `FRONT_SIDE`. **reviewResult** `ReviewResultObject` Outcome for the individual document; comments explain what to resubmit when declined. **controlStructure** `object` Document verification for the control structure requirements. **properties** **reviewResult** `ReviewResultObject` Aggregate result for all submitted documents in this category. **details** `array[Document]` List of every uploaded document that was reviewed. **Document item** **id** `string` UUID for the document uploaded through Update KYC. **type** `string` Document category such as `INCORPORATION_CERT`, `INFORMATION_STATEMENT`, or `PROOF_OF_ADDRESS`. **subType** `string` Optional qualifier like `SINGLE_SIDE` or `FRONT_SIDE`. **reviewResult** `ReviewResultObject` Outcome for the individual document; comments explain what to resubmit when declined. **ultimateBeneficialOwners** `object` Aggregated status for all UBOs. It contains a category-level `reviewResult` and a `details` array with one entry per UBO. Each UBO entry mirrors the individual KYC structure described in the [KYC Status guide](/kyc/kyc-status) (personal info, identity documents, proof of address, questionnaire). **properties** **reviewResult** `ReviewResultObject` Combined decision for the UBO set. If declined, consult each entry for remediation guidance. **details** `array[Ubo]` One entry per Ultimate Beneficial Owner. **UBO item** **id** `string` UUID used to update the UBO's information via Update KYC. **status** `string` Current onboarding status for that UBO (`ACTIVE`, `INCOMPLETE`, etc.). **message** `string` Contextual message for developers or support agents. **liveness** `string` Hosted verification URL returned when the UBO must complete live identity checks for virtual-account enablement. Show this URL to the corresponding UBO; Sumsub handles the verification experience after they open it. See [Liveness Checks](/guides/liveness-checks#show-each-ubo-their-link). **reviewResult** `ReviewResultObject` Decision for the specific UBO. **details** `object` Nested verification categories (`personalInfo`, `identity`, `proofOfAddress`, `questionnaire`) following the individual KYC schema. ## Response Breakdown > [tab] ACTIVE > > Business passed all compliance checks and completed bank onboarding. They can now use the USD rail. > > ```json expandable theme={null} > { > "status": "ACTIVE", > "message": "", > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": { > "companyInfo": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > }, > "questionnaire": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > }, > "legalPresence": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [...] > }, > "ownershipStructure": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [...] > }, > "companyDetails": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [...] > }, > "controlStructure": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [...] > }, > "ultimateBeneficialOwners": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [ > { > "id": "74441b74-caab-5f74-8e24-3fcee83faac8", > "status": "ACTIVE", > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > } > ] > } > } > } > ``` > [tab] INACTIVE > > No KYB submission made yet. Call the [Submit KYC endpoint](https://docs.hifi.com/api-reference/kyc/submit-kyc) to begin verification. > > ```json theme={null} > { > "status": "INACTIVE", > "message": "The rail is not active.", > "reviewResult": {}, > "details": {} > } > ``` > [tab] PENDING > > Application is moving through automated compliance screening or bank onboarding. > > ```json expandable theme={null} > { > "status": "PENDING", > "message": "", > "reviewResult": {}, > "details": { > ... > } > } > ``` > > > [!NOTE] > > > > Contact support if status doesn't change within 3 days for business applicants. > [tab] MANUAL_REVIEW > > Compliance team is manually reviewing the application. This typically follows `PENDING` when additional investigation is needed. > > ```json theme={null} > { > "status": "MANUAL_REVIEW", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` > > > [!NOTE] > > > > Contact support if status doesn't change within 3 days. > [tab] INCOMPLETE > > Submitted data needs updates before verification can continue. Use the `reviewResult` in each compliance category to identify what needs fixing. > > ```json expandable theme={null} > { > "status": "INCOMPLETE", > "message": "", > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["UNFILLED_ID"], > "comment": "" > }, > "details": { > "companyInfo": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > }, > "questionnaire": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > }, > "legalPresence": { > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["SCREENSHOTS"], > "comment": "Screenshots aren't accepted. Please upload a live photo of the document." > }, > "details": [...] > }, > "ownershipStructure": { > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["SCREENSHOTS"], > "comment": "Screenshots aren't accepted. Please upload a live photo of the document." > }, > "details": [...] > }, > "companyDetails": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [...] > }, > "controlStructure": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [...] > }, > "ultimateBeneficialOwners": { > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["SCREENSHOTS"], > "comment": "" > }, > "details": [ > { > "id": "74441b74-caab-5f74-8e24-3fcee83faac8", > "status": "INCOMPLETE", > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["SCREENSHOTS"], > "comment": "" > }, > "details": { > "identity": { > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["SCREENSHOTS"], > "comment": "Screenshots aren't accepted. Please upload a live photo of the document." > } > } > } > } > ] > } > } > } > ``` > > **How to resolve:** > > 1. Check the `reviewResult` in each compliance category for `DECLINED` items > 2. Read the `comment` field for specific guidance > 3. For company data: Use [**Update KYC**](https://docs.hifi.com/api-reference/kyc/update-kyc-information) to update non-document information, or [**Update Document**](https://docs.hifi.com/api-reference/kyc/update-a-document) / [**Add Document**](https://docs.hifi.com/api-reference/kyc/add-documents) to update documentation. > 4. For UBO data: Update the specific UBO's information using their `id` with [Update UBO](https://docs.hifi.com/api-reference/kyc/update-a-ubo) or [**Update Document**](https://docs.hifi.com/api-reference/kyc/update-a-document) / [**Add Document**](https://docs.hifi.com/api-reference/kyc/add-documents) to update documentation. > 5. Call [Submit KYC](https://docs.hifi.com/api-reference/kyc/submit-kyc) to trigger a new review > > **Business compliance category mapping:** > > | Category | Contains | > | - | - | > | companyInfo | Business name, address, registration number, tax ID | > | questionnaire | Source of funds and intended use responses | > | legalPresence | [Legal presence documentation](https://docs.hifi.com/compliance/documents#business-documents) | > | ownershipStructure | [Ownership structure documentation](https://docs.hifi.com/compliance/documents#business-documents) | > | companyDetails | [Company details documentation](https://docs.hifi.com/compliance/documents#business-documents) | > | controlStructure | [Control structure documentation](https://docs.hifi.com/compliance/documents#business-documents) | > | ultimateBeneficialOwners | Individual KYC for each UBO (see [KYC Status](/kyc/kyc-status)) | > > > [!NOTE] > > > > For compliance reasons, detailed rejection information is only available for documentation—not for other categories. Each UBO follows the individual KYC structure detailed in the [KYC Status guide](/kyc/kyc-status). > [tab] RFI_PENDING > > Compliance sent a Request for Information (RFI) to your compliance email asking for additional details about this business. > > ```json theme={null} > { > "status": "RFI_PENDING", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` > > > [!NOTE] > > > > Monitor your compliance inbox for RFI requests from **@hifi.com** > [tab] REJECTED > > Business is permanently denied for the USD rail. Resubmission via API is not permitted. > > ```json theme={null} > { > "status": "REJECTED", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` > > > [!NOTE] > > > > Contact support if you believe this status is incorrect. > [tab] CONTACT_SUPPORT > > System couldn't process the KYB or return the correct status. Contact HIFI support for resolution. > > ```json theme={null} > { > "status": "CONTACT_SUPPORT", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` # KYC Requirements Source: https://docs.hifi.com/kyc/kyc-requirements The KYC Requirements endpoint tells you exactly which data points and documents are needed to unlock a given rail for a specific user. Use it **before** submitting KYC information so you can pre-fill forms, surface missing fields, and resolve issues. > [!NOTE] > > After you submit KYC information, switch to the [KYC > Status](/docs/users/features/kyc-status) endpoint to monitor review progress > and any remaining blockers. ## Usage * **Pre-fill onboarding flows** with the precise set of fields per rail. * **Detect missing or invalid data** before attempting a submission. * **Show document requirements** (including minimum counts and accepted document types) to users or operators. ## Request Overview ```http Request theme={null} GET https://sandbox.hifibridge.com/v2/users/{userId}/kyc/requirements?rails=USD Authorization: Bearer ``` **userId** `string` *required* Path parameter. Provide the target user ID (UUID). **rails** `enum\` *required* Query parameter. Specify the rail to unlock — `USD`, `AFRICA_GENERAL`, `AFRICA_NIGERIA`, or `GLOBAL_NETWORK`. ## Response Structure Below is an example of a `200 OK` response for a USD business user: ```json expandable theme={null} [ { "userId": "35dbc7ea-2877-4a70-add6-b5458289df23", "rails": "USD", "type": "business", "required": { "businessName": "string", "registeredAddress": "string", "documents": { "legalPresence": { "minCount": 1, "acceptedDocTypes": ["INCORPORATION_CERT"] } } }, "optional": { "incorporationState": "string" }, "invalid": { "fields": { "taxIdentificationNumber": "missing" }, "documents": { "message": "The following document groups are not satisfied: ownershipStructure" } } } ] ``` The response has a standard shape: * top-level identifiers to anchor the entry (`userId`, `rails`, `type`) * three requirement buckets (`required`, `optional`, `invalid`) * reusable document-group metadata. Walk through the sections below to understand this structure. ### Top-level fields **userId** `string` *required* Unique identifier for the user. Always returned for context, even when the user has no invalid fields. **rails** `string` *required* The rail the requirements apply to. Matches the `rails` query parameter. **type** `string` *required* Indicates the user type. Possible values are `business` and `individual`. ### Requirement Buckets The `required`, `optional`, and `invalid` objects share the same internal layout. They differ only in intent—what must be supplied now, what enhances the submission, and what is missing today. **required** `object` *required* Complete list of fields that must be populated **before** submitting KYC for the selected rail and profile. Fields appear only when they are required. **properties** **fields** `object` Scalar requirements keyed by field name (for example `businessName`, `taxIdentificationNumber`). **documents** `object` Document groups that must be satisfied. **Document group** **minCount** `integer` Minimum number of files required for that group. **acceptedDocTypes** `array[string]` Allowed document identifiers. The applicant must upload at least `minCount` files from this list. **ultimateBeneficialOwners** `array[object]` Present for business profiles. Each entry lists the data and documentation required for a specific UBO. **optional** `object` Fields and document groups that improve submission quality but are not mandatory. **properties** **fields** `object` Optional scalar fields that may unlock higher limits or smoother reviews. **documents** `object` Optional document groups following the same structure as required document groups. **invalid** `object` Any fields or document groups that the user currently has but are missing or invalid for this rail. If the user has not provided data yet, this object may be empty. **properties** **message** `string` High-level explanation of what still blocks submission. **fields** `object` Each property corresponds to an invalid field with the reason (`missing`, `invalid_format`, etc.). **documents** `object` Structured document feedback that mirrors the document-group schema. **Document validation** **message** `string` Human-readable summary of which groups need attention. **groups** `object` Per-group validation using the `minCount`/`acceptedDocTypes` format so you can surface the exact requirements still outstanding. ### Document Groups Document groups appear anywhere documents are referenced (`required.documents`, `optional.documents`, and `invalid.documents.groups`). Each group specifies a minimum number of files and the accepted document types. | Property | Type | Description | | - | - | - | | `minCount` | integer | Minimum number of documents needed for that group. | | `acceptedDocTypes` | array | Accepted document identifiers; the user must provide at least `minCount` documents from this list. | > [!NOTE] > > Only documents uploaded through the Documents API count toward these > requirements. ## Response Breakdown The structure under `required`, `optional`, and `invalid` changes depending on whether the user is a business or an individual. Use the tabs below to explore both shapes. > [tab] Business (USD) > > ```json expandable theme={null} > { > "userId": "35dbc7ea-2877-4a70-add6-b5458289df23", > "rails": "USD", > "type": "business", > "required": { > "businessName": "string", > "businessType": "string", > "businessIndustry": "string", > "registrationNumber": "string", > "registeredAddress": "string", > "address": { > "required": { > "addressLine1": "string", > "city": "string", > "stateProvinceRegion": "string", > "postalCode": "string", > "country": "string" > }, > "optional": { > "addressLine2": "string" > } > }, > "website": "string", > "incorporationDate": "date", > "email": "string", > "phone": "string", > "taxIdentificationNumber": "string", > "sofEuQuestionnaire": { > "required": { > "primaryPurpose": "string", > "sourceOfFunds": "string", > "transmitsCustomerFunds": "boolean", > "conductsMoneyServices": "boolean", > "highRiskActivities": "array", > "estimatedAnnualRevenueUsd": "string", > "expectedMonthlyPaymentsUsd": "string", > "customerFundsDescription": "string" > }, > "optional": { > "operatesInProhibitedCountries": "string", > "primaryPurposeOther": "string", > "sourceOfFundsDescription": "string", > "transmitsCustomerFundsDescription": "string" > } > }, > "ultimateBeneficialOwners": [ > { > "required": { > "roles": "array", > "businessTitle": "string", > "firstName": "string", > "lastName": "string", > "nationality": "string", > "email": "string", > "phone": "string", > "address": { > "required": { > "addressLine1": "string", > "city": "string", > "stateProvinceRegion": "string", > "postalCode": "string", > "country": "string" > }, > "optional": { > "addressLine2": "string" > } > }, > "taxIdentificationNumber": "string", > "dateOfBirth": "date", > "shareProportion": "string", > "relationshipEstablishedAt": "date", > "documents": { > "identity": { > "minCount": 1, > "acceptedDocTypes": [ > "DRIVERS", > "ID_CARD", > "PASSPORT", > "RESIDENCE_PERMIT" > ] > } > } > }, > "optional": { > "middleName": "string" > } > } > ], > "documents": { > "legalPresence": { > "minCount": 1, > "acceptedDocTypes": [ > "INCORPORATION_ARTICLES", > "INCORPORATION_CERT", > "STATE_REGISTRY" > ] > }, > "ownershipStructure": { > "minCount": 1, > "acceptedDocTypes": [ > "SHAREHOLDER_REGISTRY", > "TRUST_AGREEMENT", > "INFORMATION_STATEMENT", > "STATE_REGISTRY" > ] > }, > "companyDetails": { > "minCount": 1, > "acceptedDocTypes": [ > "PROOF_OF_ADDRESS" > ] > }, > "controlStructure": { > "minCount": 1, > "acceptedDocTypes": [ > "DIRECTORS_REGISTRY", > "TRUST_AGREEMENT", > "INFORMATION_STATEMENT", > "STATE_REGISTRY" > ] > } > } > }, > "optional": { > "incorporationCountry": "string", > "incorporationState": "string" > }, > "invalid": { > "message": "fields are either missing or invalid", > "fields": { > "registrationNumber": "missing" > }, > "documents": { > "message": "The following document groups are not satisfied: controlStructure", > "groups": { > "controlStructure": { > "minCount": 1, > "acceptedDocTypes": [ > "DIRECTORS_REGISTRY", > "TRUST_AGREEMENT", > "INFORMATION_STATEMENT", > "STATE_REGISTRY" > ] > } > } > } > } > } > ``` > > **What to watch for** > > * **Ultimate Beneficial Owners (UBOs)**: Each UBO must meet the same address, identity, and questionnaire requirements as an individual. If any UBO document is missing, the requirement appears under `invalid.documents.groups`. > * **Document groups**: All four groups (`legalPresence`, `ownershipStructure`, `companyDetails`, `controlStructure`) must satisfy `minCount`. The response repeats accepted document types, so you can render them directly in an operator dashboard. > * **SofEu questionnaire**: Every field listed under `required` must be supplied. Optional fields only appear when they are relevant to the rail. > [tab] Individual (USD) > > ```json expandable theme={null} > { > "userId": "35dbc7ea-2877-4a70-add6-b5458289df23", > "rails": "USD", > "type": "individual", > "required": { > "firstName": "string", > "lastName": "string", > "email": "string", > "phone": "string", > "nationality": "string", > "dateOfBirth": "string", > "address": { > "required": { > "addressLine1": "string", > "city": "string", > "stateProvinceRegion": "string", > "postalCode": "string", > "country": "string" > }, > "optional": { > "addressLine2": "string" > } > }, > "taxIdentificationNumber": "string", > "documents": { > "identity": { > "minCount": 1, > "acceptedDocTypes": [ > "DRIVERS", > "ID_CARD", > "PASSPORT", > "RESIDENCE_PERMIT" > ] > }, > "proofOfResidence": { > "minCount": 1, > "acceptedDocTypes": [ > "UTILITY_BILL", > "BANK_STATEMENT", > "GOVERNMENT_LETTER" > ] > } > } > }, > "optional": { > "sofEuQuestionnaire": { > "required": { > "actingAsIntermediary": "string", > "employmentStatus": "string", > "expectedMonthlyPayments": "string", > "mostRecentOccupation": "string", > "primaryPurpose": "string", > "sourceOfFunds": "string" > }, > "optional": { > "primaryPurposeOther": "string" > } > } > }, > "invalid": { > "message": "fields are either missing or invalid", > "fields": { > "phone": "missing", > "nationality": "missing", > "taxIdentificationNumber": "missing" > }, > "documents": { > "message": "The following document groups are not satisfied: identity", > "groups": { > "identity": { > "minCount": 1, > "acceptedDocTypes": [ > "DRIVERS", > "ID_CARD", > "PASSPORT", > "RESIDENCE_PERMIT" > ] > } > } > } > } > } > ``` > > **What to watch for** > > * **Identity documents**: Individuals must always satisfy the `identity` document group. If `minCount` is `1`, at least one document from the accepted list must be present. > * **Proof of residence**: Some rails require the `proofOfResidence` group; when it is optional it will surface in the `optional` object instead. > * **Invalid messages**: Use `invalid.fields` to highlight missing form inputs and `invalid.documents.message` for UI copy explaining outstanding document groups. ## Next Steps * After all required fields and documents are satisfied, call [Submit KYC](https://docs.hifi.com/api-reference/kyc/submit-kyc). * Use the [KYC Status guide](/docs/users/features/kyc-status) to interpret post-submission results and remediation steps. # KYC Status Source: https://docs.hifi.com/kyc/kyc-status Use the KYC Status endpoint to check where a user's verification stands, diagnose issues, and confirm when they're ready to use a rail. > [!NOTE] > > This guide focuses on the USD rail. Requirements and response structure differ for other rails—see the [API > Reference](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) for complete details. ## Status Overview | Status | Description | | - | - | | **INACTIVE** | No KYC submitted yet—call Submit KYC to begin verification | | **INCOMPLETE** | Submitted data needs updates—fix flagged items and resubmit | | **PENDING** | KYC submitted and is moving through automated compliance checks or bank onboarding | | **MANUAL_REVIEW** | Compliance team manually reviewing before final decision | | **RFI_PENDING** | Compliance requested additional information—check your compliance email | | **ACTIVE** | User passed compliance review and can use the USD rail | | **REJECTED** | Permanently denied for USD rail—resubmission not permitted | | **CONTACT_SUPPORT** | System couldn't confirm status—contact HIFI support | > [!NOTE] > > Contact support if an applicant remains in `PENDING` or `MANUAL_REVIEW` for more than 24 hours. ## Response Structure ### Top-Level Fields The KYC status response contains four top-level fields: **status** `string` Current KYC application status **message** `string` Human-readable context for developers **reviewResult** `object` Detailed screening outcome from the compliance engine **details** `object` Breakdown of compliance categories and review results ### Review Result Each compliance category includes a `reviewResult` object with a general summary of the compliance review outcome: **reviewAnswer** `string` Screening outcome: `APPROVED` or `DECLINED` **reviewRejectType** `string` Resubmission permission: `RETRY` (can resubmit) or `FINAL` (hard rejection). Only present when `reviewAnswer` is `DECLINED`. **rejectReasons** `array[string]` Enumerated rejection reasons. Only present when `reviewAnswer` is `DECLINED`. **comment** `string` Human-readable explanation of the rejection. Only present when `reviewAnswer` is `DECLINED`. ### Review Details The `details` object returns the compliance review outcome for each KYC category. Every category includes a `reviewResult`, and documentation-based categories also expose the individual files that were reviewed. **personalInfo** `object` Non-document information: name, address, date of birth, tax ID **properties** **reviewResult** `ReviewResultObject` Outcome of the compliance checks for the submitted personal information. **identity** `object` Government ID documentation review results **properties** **reviewResult** `ReviewResultObject` Aggregate decision for all identity documents. **details** `array[Document]` Uploaded identity documents that were reviewed. **Document item** **id** `string` UUID for the document uploaded through Update KYC. **type** `string` Document category such as `PASSPORT` or `ID_CARD`. **subType** `string` Optional qualifier like `FRONT_SIDE` or `BACK_SIDE`. **reviewResult** `ReviewResultObject` Decision for the individual document, including remediation guidance when declined. **proofOfAddress** `object` Proof of address documentation (if submitted) **properties** **reviewResult** `ReviewResultObject` Final decision for the proof-of-address submission. **details** `array[Document]` Proof-of-address documents under review. **Document item** **id** `string` UUID for the document uploaded through Update KYC. **type** `string` Document category such as `UTILITY_BILL` or `BANK_STATEMENT`. **subType** `string` Qualifier like `SINGLE_SIDE` when applicable. **reviewResult** `ReviewResultObject` Outcome for that document, including decline feedback. **questionnaire** `object` Source of funds and intended use responses **properties** **reviewResult** `ReviewResultObject` Status of the compliance questionnaire evaluation. ## Response Breakdown > [tab] ACTIVE > > User passed all compliance checks and completed bank onboarding. They can now use the USD rail. > > ```json expandable theme={null} > { > "status": "ACTIVE", > "message": "", > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": { > "identity": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [ > { > "id": "989c9fae-9846-48e0-a5c1-2035e9cbd323", > "type": "ID_CARD", > "subType": "FRONT_SIDE", > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > } > ] > }, > "questionnaire": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [] > }, > "personalInfo": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": [] > } > } > } > ``` > [tab] INACTIVE > > No KYC submission made yet. Call the [Submit KYC endpoint](https://docs.hifi.com/api-reference/kyc/submit-kyc) to begin verification. > > ```json theme={null} > { > "status": "INACTIVE", > "message": "The rail is not active.", > "reviewResult": {}, > "details": {} > } > ``` > [tab] PENDING > > Application is moving through automated compliance screening or bank onboarding. > > ```json theme={null} > { > "status": "PENDING", > "message": "", > "reviewResult": {}, > "details": { > "identity": { > "reviewResult": {}, > "details": [...] > }, > "questionnaire": { > "reviewResult": {} > }, > "personalInfo": { > "reviewResult": {} > } > } > } > ``` > > > [!NOTE] > > > > Contact support if status doesn't change within 24 hours for individual applicants. > [tab] MANUAL_REVIEW > > Compliance team is manually reviewing the application. This typically follows `PENDING` when additional investigation is needed. > > ```json theme={null} > { > "status": "MANUAL_REVIEW", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` > > > [!NOTE] > > > > Contact support if status doesn't change within 24 hours. > [tab] INCOMPLETE > > Submitted data needs updates before verification can continue. Use the `reviewResult` in each compliance category to identify what needs fixing. > > ```json expandable theme={null} > { > "status": "INCOMPLETE", > "message": "", > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["BAD_PROOF_OF_IDENTITY"], > "comment": "" > }, > "details": { > "identity": { > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": [], > "comment": "The uploaded document is not acceptable or no longer valid. Upload a different document." > }, > "details": [ > { > "id": "42e54f82-dd1d-4cdf-844c-fd56fcfcdb8e", > "type": "ID_CARD", > "subType": "BACK_SIDE", > "reviewResult": { > "reviewAnswer": "DECLINED", > "reviewRejectType": "RETRY", > "rejectReasons": ["BAD_PROOF_OF_IDENTITY"], > "comment": "The uploaded document is not acceptable or no longer valid. Upload a different document." > } > } > ] > }, > "questionnaire": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > }, > "personalInfo": { > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > } > } > } > } > ``` > > **How to resolve:** > > 1. Check the `reviewResult` in each compliance category for `DECLINED` items > 2. Read the `comment` field for specific guidance > 3. Use [**Update KYC**](https://docs.hifi.com/api-reference/kyc/update-kyc-information) to update non-document information, or [**Update Document**](https://docs.hifi.com/api-reference/kyc/update-a-document)\*\* / \*\*[**Add Document**](https://docs.hifi.com/api-reference/kyc/add-documents) to update documentation. > 4. Call [Submit KYC](https://docs.hifi.com/api-reference/kyc/submit-kyc) to trigger a new review > > **Compliance category mapping:** > > | Category | Contains | > | - | - | > | identity | Government ID documentation | > | questionnaire | Source of funds and intended use responses | > | personalInfo | Name, address, date of birth, tax ID | > | proofOfAddress | Proof of address documentation (if provided) | > > > [!NOTE] > > > > For compliance reasons, detailed rejection information is only available for documentation—not for other categories. > [tab] RFI_PENDING > > Compliance sent a Request for Information (RFI) to your compliance email asking for additional details about this user. > > ```json theme={null} > { > "status": "RFI_PENDING", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` > > > [!NOTE] > > > > Monitor your compliance inbox for RFI requests from **@hifi.com** > [tab] REJECTED > > User is permanently denied for the USD rail. Resubmission via API is not permitted. > > ```json theme={null} > { > "status": "REJECTED", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` > > > [!NOTE] > > > > Contact support if you believe this status is incorrect. > [tab] CONTACT_SUPPORT > > System couldn't process the KYC or return the correct status. Contact HIFI support for resolution. > > ```json theme={null} > { > "status": "CONTACT_SUPPORT", > "message": "", > "reviewResult": {}, > "details": {} > } > ``` # Platform Overview Source: https://docs.hifi.com/overview HIFI provides infrastructure for money through three core product pillars: Inflows, Controls, and Outflows. ## Inflows Inflow APIs help you create entry points for value so funds can move into your system from bank rails and digital assets. | Product | Description | Use this to | | :- | :- | :- | | [**Virtual Accounts**](/accounts/virtual-accounts) | Issue unique local account details for supported markets and currencies to receive deposits. | Accept recurring or one-time inbound bank transfers and reconcile funds per user or account. | | [**Onramps**](/transactions/onramps) | Convert fiat into supported stablecoin balances through programmatic transfer flows. | Bring user or treasury funds on-chain from local bank rails. | | [**Wallet Deposits**](/wallets) | Provision custodial wallets that can receive and hold supported digital assets. | Let users or your business receive stablecoin deposits into managed custody. | ## Controls Control APIs give you programmable control over how money moves internally across accounts, wallets, chains, and workflows. | Product | Description | Use this to | | :- | :- | :- | | [**Transfers**](/transactions/transfers) | Trigger one-time transfer operations across supported rails and counterparties. | Move funds programmatically between entities in your product lifecycle. | | [**Wallet Transfers**](/transactions/overview) | Manage digital asset movement between wallets and destinations. | Power treasury, internal rebalancing, and operational crypto movements. | | [**Bridging**](/transactions/bridging) | Move assets across supported chains while keeping workflows unified. | Route liquidity or settle value across multiple networks. | | [**Swaps**](/transactions/swaps) | Exchange supported assets to meet settlement or treasury requirements. | Convert one digital asset into another as part of a payment or treasury flow. | | [**Settlement Rules**](/features/settlement-rules) | Configure deterministic routing logic for incoming funds and account behavior. | Automate value routing and reduce manual operational intervention. | | [**Batch Transfers**](/features/batch-transfers) | Submit grouped transfer actions in a single orchestration workflow. | Execute high-volume payouts or internal disbursements efficiently. | | [**Transfer Approvals**](/features/transfer-approvals) | Add policy-based approval steps before transfer execution. | Enforce internal controls and governance for sensitive fund movement. | ## Outflows Outflow APIs help you settle to users, partners, and counterparties across bank rails and digital asset destinations. | Product | Description | Use this to | | :- | :- | :- | | [**Offramps**](/transactions/offramps) | Convert stablecoin balances into fiat and deliver to bank payout endpoints. | Settle users or partners in local currency. | | [**Coverage**](/coverage) | Explore supported regions, corridors, and payment rails. | Plan where and how you can settle payments to. | *** ## Compliance HIFI includes built-in onboarding and compliance primitives so product teams can launch regulated money movement with fewer integration layers. | Product | Description | Use this to | | :- | :- | :- | | [**Users**](/users/overview) | Create and manage end users or business entities in your integration. | Maintain customer records tied to wallet, account, and transfer activity. | | [**KYC/KYB**](/kyc) | Collect and evaluate identity and business verification requirements. | Satisfy onboarding controls before enabling production money movement. | | [**KYC Links**](/features/kyc-links) | Generate hosted onboarding flows for compliance submission. | Offload document collection and verification UX while keeping API control. | ## Private Transactions For institution-grade settlement between trusted counterparties, HIFI also supports private transaction workflows designed for controlled, compliant value movement. [Learn more about Private Transactions](/features/canton/overview) *** ## Where to start > [card] [Request access](https://www.hifi.com/contact?utm_source=docs\&utm_medium=referral\&utm_campaign=request_access) > > Schedule a call with our sales team to discuss your needs. > [card] [Quickstart](/guides/quickstart) > > Build your first flow in sandbox and learn how things work. ## Getting help We’re happy you’re here! If you have questions, encounter an issue, or need guidance, our team is ready to help — just reach out to us. [**support@hifi.com**](mailto:support@hifi.com) # About Rails Source: https://docs.hifi.com/rails Unlocking a Rail enables a user's access to specific payment networks and geographic regions. ## Overview HIFI supports three rails. Each rail provides a specialized connection to specific markets and payment methods, enabling pay-ins (onramps) and pay-outs (offramps) for individuals and businesses. * **USD Rail** – enables payins and payouts to the US * **Global Network Rail** – enables payouts to multiple regions * **Africa Rail (Beta)** – enables payins and payouts to multiple countries > [!NOTE] > > See the [coverage page](/docs/coverage) for the full list of supported countries and regions. ## USD Rail The USD Rail enables USD pay-ins and pay-outs through multiple payment methods and supports virtual accounts for onramps. **Payment Methods:** * ACH (Automated Clearing House) * RTP (Real-Time Payments) * Wire transfers **Features:** * Virtual accounts for onramps * Payouts include user's KYC/B name * Full USD onramp and offramp capabilities Learn more: [USD Rail](/docs/rails/usd) ## Global Network Rail The Global Network Rail enables payouts across Asia, Europe, Africa, and the Americas with support for multiple currencies. **Supported Regions:** * **China (CN)**: USD and CNY * **Hong Kong (HK)**: USD and HKD * **Europe**: EUR and USD * **Other regions**: BRL, MXN, NGN Learn more: [Global Network Rail](/docs/rails/global-network) ## Africa Rail (Beta) > [!WARNING] > > The Africa Rail is currently in **beta**. Features and supported countries may change. The Africa Rail enables payins and payouts to various African countries with local currency support. **Supported Countries:** * Benin (BEN) * Botswana (BWA) * Burkina Faso (BFA) * Cameroon (CMR) * Côte d'Ivoire (CIV) * Kenya (KEN) * Malawi (MWI) * Mali (MLI) * Nigeria (NGA) * Senegal (SEN) * South Africa (ZAF) * Tanzania (TZA) * Togo (TGO) * Uganda (UGA) * Zambia (ZMB) Learn more: [Africa Rail](/docs/rails/africa) # Africa Rail (Beta) Source: https://docs.hifi.com/rails/africa The Africa Rail (beta) enables local currency pay-ins and pay-outs across multiple African countries through bank transfers and mobile money. > [!WARNING] > > The Africa Rail is currently in **beta**. Features and supported countries may change. ## Payment Methods | Payment Method | Direction | Typical Duration | | :- | :- | :- | | Bank Transfer | Payin, Payout | 1-3 business days | | Mobile Money | Payin, Payout | Instant to 1 day | ## Currency Support | Country | Currency | Direction | | :- | :- | :- | | Benin | XOF | Payin, Payout | | Botswana | BWP | Payin, Payout | | Burkina Faso | XOF | Payout | | Cameroon | XAF | Payin, Payout | | Côte d'Ivoire | XOF | Payin, Payout | | Kenya | KES | Payout | | Malawi | MWK | Payin, Payout | | Mali | XOF | Payout | | Nigeria | NGN | Payin, Payout | | Senegal | XOF | Payout | | South Africa | ZAR | Payout | | Tanzania | TZS | Payin, Payout | | Togo | XOF | Payin, Payout | | Uganda | UGX | Payin, Payout | | Zambia | ZMW | Payin, Payout | ## Individual The Africa Rail for individual users requires KYC (Know Your Customer) verification. The requirements vary by country. ### KYC Fields | Field | Description | `Required` | | :- | :- | :- | | **firstName** | User's first name | `Required` | | **lastName** | User's last name | `Required` | | **email** | User's email address | `Required` | | **phone** | User's phone number | `Required` | | **address** | The address where the user currently resides. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **dateOfBirth** | User's date of birth | `Required` | | **idType** | Type of identification document. Refer to the [ID Types](#id-types) section | `Required` | | **idNumber** | Identification document number | `Required` | > [accordion] ID Types > > | ID Type | Description | > | :- | :- | > | DRIVERS | Drivers license | > | ID_CARD | Identification card | > | PASSPORT | National passport | > | RESIDENCE_PERMIT | Residence permit or document | ### Nigeria Requirements For Nigerian users, the following additional fields are required: | Field | Description | `Required` | | :- | :- | :- | | **additionalIdType** | Additional identification document type | `Required` | | **additionalIdNumber** | Additional identification number | `Required` | ## Business ### KYB Fields | Field | Description | `Required` | | :- | :- | :- | | **businessName** | The full legal name of the business | `Required` | | **taxIdentificationNumber** | Company tax number | `Required` | > [!WARNING] > > **Note:** Business accounts are not currently supported in Nigeria—only > individual accounts are available. ## Financial Institutions Here's a list of financial institutions supported for each country: ### Nigeria **Channels:** Bank, Momo\ **Availability:** Onramp & Offramp #### Offramp > [accordion] Financial Institutions > > | Name | Type | > | - | - | > | Suntrust Bank | Bank | > | Accion MFB | Bank | > | Standard Chartered Bank | Bank | > | Nova MB | Bank | > | Citibank Nigeria | Bank | > | Wema Bank | Bank | > | Bowen MFB | Bank | > | Unity Bank | Bank | > | Premium Trust Bank | Bank | > | Mint-Finex Microfinance Bank | Bank | > | United Bank for Africa | Bank | > | Access Bank (Diamond) | Bank | > | Kuda Microfinance Bank | Bank | > | Union Bank of Nigeria | Bank | > | Ecobank Nigeria | Bank | > | Taj Bank | Bank | > | Providus Bank | Bank | > | PremiumTrust Bank | Bank | > | Access Bank | Bank | > | Stanbic IBTC Bank | Bank | > | Polaris Bank | Bank | > | Lotus Bank | Bank | > | Titan Trust Bank | Bank | > | Parallex Bank | Bank | > | PalmPay | Bank | > | Keystone Bank | Bank | > | Nomba Bank | Bank | > | Alternative Bank | Bank | > | Fidelity Bank | Bank | > | Moniepoint Microfinance Bank | Bank | > | OPay | Bank | > | GoMoney | Bank | > | Optimus Bank | Bank | > | Zenith Bank | Bank | > | Fairmoney Microfinance Bank Ltd | Bank | > | Globus Bank | Bank | > | Heritage Bank | Bank | > | Enterprise Bank | Bank | > | Guaranty Trust Bank | Bank | > | GT Bank | Bank | > | Paga | Bank | > | Jaiz Bank | Bank | > | VFD Microfinance Bank | Bank | > | Nownow (Contec Global) | Bank | > | NET MFB | Bank | > | Sterling Bank | Bank | > | Mainstreet Bank | Bank | > | 9JAPAY MICROFINANCE | Bank | > | First City Monument Bank | Bank | > | Bellbank Microfinance | Bank | > | First Bank of Nigeria | Bank | > | Titan-Paystack | Bank | #### Onramp > [accordion] Financial Institutions > > | Name | Type | > | - | - | > | Kuda Microfinance Bank | Bank | > | Taj Bank | Bank | > | Lotus Bank | Bank | > | PalmPay | Bank | > | Moniepoint Microfinance Bank | Bank | > | OPay | Bank | > | GoMoney | Bank | > | Fairmoney Microfinance Bank Ltd | Bank | > | Jaiz Bank | Bank | > | VFD Microfinance Bank | Bank | > | Nownow (Contec Global) | Bank | > | NET MFB | Bank | > | 9JAPAY MICROFINANCE | Bank | > | Titan-Paystack | Bank | *** ### Kenya **Channels:** Bank, Momo\ **Availability:** Offramp #### Offramp > [accordion] Banks > > | Name | Type | > | - | - | > | Absa Bank Kenya Plc | Bank | > | African Banking Corporation | Bank | > | Bank of Africa Kenya Ltd | Bank | > | Bank of Baroda | Bank | > | Bank of India | Bank | > | Central Bank of Kenya | Bank | > | Charterhouse Bank Ltd | Bank | > | Citibank N.A. | Bank | > | Commercial Bank of Africa Ltd | Bank | > | Consolidated Bank of Kenya Ltd | Bank | > | Co-operative Bank | Bank | > | Credit Bank Ltd | Bank | > | Development Bank of Kenya | Bank | > | Diamond Trust Bank | Bank | > | Dubai Bank of Kenya Ltd | Bank | > | Ecobank Kenya Ltd | Bank | > | Equitorial Commercial Bank Ltd | Bank | > | Equity Bank | Bank | > | Family Bank Ltd | Bank | > | Fidelity Commercial Bank | Bank | > | First Community Bank | Bank | > | Giro Bank Ltd | Bank | > | Guardian Bank | Bank | > | Guaranty Trust (Kenya) Ltd | Bank | > | Gulf African Bank Ltd | Bank | > | Habib Bank A.G. | Bank | > | Habib Bank Ltd | Bank | > | Housing Finance Corporation of Kenya | Bank | > | Imperial Bank Limited | Bank | > | Investments and Mortgages | Bank | > | Jamii Bora Bank Ltd | Bank | > | Kenya Commercial Bank Ltd | Bank | > | K-Rep Bank | Bank | > | Middle East Bank (K) Limited | Bank | > | NCBA Bank | Bank | > | National Bank of Kenya | Bank | > | Oriental Commercial Bank | Bank | > | Paramount Universal Bank Ltd | Bank | > | Prime Bank Limited | Bank | > | Stanbic Bank Kenya Limited | Bank | > | Standard Chartered | Bank | > | Trans-National Bank | Bank | > | UBA Kenya Ltd | Bank | > | Victoria Commercial Bank Ltd | Bank | > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Wallet (M-PESA) | Mobile Money | *** ### Tanzania **Channels:** Bank, Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Banks > > | Name | Type | > | - | - | > | Absa Bank Tanzania Limited | Bank | > | AccessBank Tanzania | Bank | > | Akiba Commercial Bank | Bank | > | Amana Bank | Bank | > | Azania Bank | Bank | > | BancABC Tanzania | Bank | > | Bank of Africa Tanzania Limited | Bank | > | Bank of Baroda Tanzania Limited | Bank | > | Bank of Tanzania | Bank | > | China Commercial Bank Limited | Bank | > | Citibank Tanzania Ltd | Bank | > | CRDB Bank | Bank | > | DCB Commercial Bank | Bank | > | Diamond Trust Bank Tanzania | Bank | > | Ecobank | Bank | > | Equity Bank (Tanzania) | Bank | > | Exim Bank (Tanzania) | Bank | > | First National Bank of Tanzania | Bank | > | Guaranty Trust Bank (Tanzania) Limited | Bank | > | Habib African Bank | Bank | > | I\&M Bank (Tanzania) | Bank | > | International Commercial Bank Tanzania | Bank | > | KCB Bank Tanzania Limited | Bank | > | Letshego Bank Tanzania | Bank | > | Maendeleo Bank Ltd | Bank | > | Mkombozi Commercial Bank | Bank | > | Mwalimu Commercial Bank | Bank | > | National Bank of Commerce (Tanzania) | Bank | > | National Microfinance Bank | Bank | > | NCBA Bank Tanzania | Bank | > | People's Bank of Zanzibar | Bank | > | Stanbic Bank Tanzania Limited | Bank | > | Standard Chartered Bank | Bank | > | TPB Bank Plc | Bank | > | United Bank for Africa | Bank | > [accordion] Mobile Money > > | Name | Type | > | - | - | > | AIRTELMONEYTZ | Mobile Money | > | AZAMPESA | Mobile Money | > | HALOPESA | Mobile Money | > | TIGO | Mobile Money | > | VODACOM | Mobile Money | #### Offramp > [accordion] Banks > > | Name | Type | > | - | - | > | Absa Bank Tanzania Limited | Bank | > | AccessBank Tanzania | Bank | > | Akiba Commercial Bank | Bank | > | Amana Bank | Bank | > | Azania Bank | Bank | > | BancABC Tanzania | Bank | > | Bank of Africa Tanzania Limited | Bank | > | Bank of Baroda Tanzania Limited | Bank | > | Bank of Tanzania | Bank | > | China Commercial Bank Limited | Bank | > | Citibank Tanzania Ltd | Bank | > | CRDB Bank | Bank | > | DCB Commercial Bank | Bank | > | Diamond Trust Bank Tanzania | Bank | > | Ecobank | Bank | > | Equity Bank (Tanzania) | Bank | > | Exim Bank (Tanzania) | Bank | > | First National Bank of Tanzania | Bank | > | Guaranty Trust Bank (Tanzania) Limited | Bank | > | Habib African Bank | Bank | > | I\&M Bank (Tanzania) | Bank | > | International Commercial Bank Tanzania | Bank | > | KCB Bank Tanzania Limited | Bank | > | Letshego Bank Tanzania | Bank | > | Maendeleo Bank Ltd | Bank | > | Mkombozi Commercial Bank | Bank | > | Mwalimu Commercial Bank | Bank | > | National Bank of Commerce (Tanzania) | Bank | > | National Microfinance Bank | Bank | > | NCBA Bank Tanzania | Bank | > | People's Bank of Zanzibar | Bank | > | Stanbic Bank Tanzania Limited | Bank | > | Standard Chartered Bank | Bank | > | TPB Bank Plc | Bank | > | United Bank for Africa | Bank | > [accordion] Mobile Money > > | Name | Type | > | - | - | > | AIRTELMONEYTZ | Mobile Money | > | AZAMPESA | Mobile Money | > | HALOPESA | Mobile Money | > | TIGO | Mobile Money | > | VODACOM | Mobile Money | *** ### Uganda **Channels:** Momo only\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Money | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Money | Mobile Money | *** ### Botswana **Channels:** Bank, Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Banks > > | Name | Type | > | - | - | > | ABSA Bank Botswana | Bank | > | Access Bank | Bank | > | Bank Gaborone Limited | Bank | > | Bank of Baroda Botswana | Bank | > | Barclays Bank | Bank | > | First Capital Bank Botswana | Bank | > | First National Bank | Bank | > | Stanbic Bank | Bank | > | Standard Chartered Bank Botswana Limited | Bank | > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Money | Mobile Money | #### Offramp > [accordion] Banks > > | Name | Type | > | - | - | > | ABSA Bank Botswana | Bank | > | Access Bank | Bank | > | Bank Gaborone Limited | Bank | > | Bank of Baroda Botswana | Bank | > | Barclays Bank | Bank | > | First Capital Bank Botswana | Bank | > | First National Bank | Bank | > | Stanbic Bank | Bank | > | Standard Chartered Bank Botswana Limited | Bank | > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Money | Mobile Money | *** ### Cameroon **Channels:** Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Wallet | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Mobile Wallet | Mobile Money | *** ### Malawi **Channels:** Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Airtel | Mobile Money | > | TNM | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Airtel | Mobile Money | > | TNM | Mobile Money | *** ### Zambia **Channels:** Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | MTN | Mobile Money | > | Zamtel | Mobile Money | > | Airtel | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | MTN | Mobile Money | > | Zamtel | Mobile Money | > | Airtel | Mobile Money | *** ### Côte d'Ivoire **Channels:** Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Moov | Mobile Money | > | Wave | Mobile Money | > | Orange | Mobile Money | > | MTN | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Wave | Mobile Money | > | Orange Money | Mobile Money | > | MTN Mobile Money | Mobile Money | > | VISA / MasterCard | Mobile Money | > | Moov Money | Mobile Money | > | Moov | Mobile Money | > | Orange | Mobile Money | > | MTN | Mobile Money | *** ### Benin **Channels:** Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | MTN | Mobile Money | > | Moov | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | MTN | Mobile Money | > | Moov | Mobile Money | > | MTN Mobile Money BJ | Mobile Money | *** ### Burkina Faso **Channels:** Momo\ **Availability:** Offramp #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Moov Money | Mobile Money | > | Orange Money | Mobile Money | *** ### Togo **Channels:** Momo\ **Availability:** Onramp & Offramp #### Onramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | TogoCell | Mobile Money | > | Moov | Mobile Money | #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Flooz TG | Mobile Money | > | Tmoney TG | Mobile Money | > | TogoCell | Mobile Money | > | Moov | Mobile Money | *** ### Mali **Channels:** Momo\ **Availability:** Offramp #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Moov Money | Mobile Money | *** ### Senegal **Channels:** Momo\ **Availability:** Offramp #### Offramp > [accordion] Mobile Money > > | Name | Type | > | - | - | > | Orange | Mobile Money | > | Wave | Mobile Money | > | Free | Mobile Money | *** ### South Africa **Channels:** Bank\ **Availability:** Offramp #### Offramp > [accordion] Banks > > | Name | Type | > | - | - | > | Absa Bank | Bank | > | African Bank | Bank | > | Albaraka Bank | Bank | > | Bank of Athens | Bank | > | Bank of Namibia | Bank | > | Barclays Bank | Bank | > | Bidvest Bank | Bank | > | Capitec Bank | Bank | > | Central Bank of Lesotho | Bank | > | Citi Bank | Bank | > | Discovery Bank Limited | Bank | > | Finbond Mutual Bank | Bank | > | First National Bank (South Africa) | Bank | > | First National Bank Lesotho | Bank | > | First National Bank Namibia | Bank | > | First National Bank Swaziland | Bank | > | FirstRand Bank Limited | Bank | > | Grinrod Bank | Bank | > | HSBC Bank | Bank | > | Investec Bank | Bank | > | JP Morgan Chase Bank | Bank | > | Meeg Bank | Bank | > | Mercantile Bank Limited | Bank | > | MTN Banking | Bank | > | Nedbank (South Africa) | Bank | > | Old Mutual | Bank | > | Peach | Bank | > | Postbank | Bank | > | Rand Merchant Bank | Bank | > | RMB Private Bank | Bank | > | SA Post Bank (Post Office) | Bank | > | Sasfin Bank Limited | Bank | > | South African Bank of Athens Limited | Bank | > | Standard Bank (South Africa) | Bank | > | Standard Bank Namibia | Bank | > | Standard Chartered Bank | Bank | > | State Bank of India | Bank | > | Tyme Bank | Bank | > | Ubank | Bank | > | Unibank | Bank | > | VBS Mutual Bank | Bank | # Global Network Rail Source: https://docs.hifi.com/rails/global-network The Global Network Rail enables payouts across multiple regions with support for multiple currencies. ## Payment Methods | Payment Method | Direction | Typical Duration | | :- | :- | :- | | SWIFT | Payout | 1-5 business days | | CHATS | Payout | Real Time | | FPS | Payout | Real Time | | SPEI | Payout | Real Time | | PIX | Payout | Real Time | | IMPS | Payout | Real Time | | NEFT | Payout | Same business day | | RTGS | Payout | Real Time | | SEPA (\< \$100k) | Payout | Instant or minutes | | SEPA (> \$100k) | Payout | Next business day | | Bank | Payout | 1-3 business days | > [!NOTE] > > SWIFT cut-off times: SWIFT operates Monday to Friday, 8:30 AM to 4:00 AM SGT; Saturday is treated as a non-working day starting 11:59 PM SGT on Friday. > [!NOTE] > > **Bank** here refers to a local payment rail. It is used for SGD payouts to Singapore and NGN payouts to Nigeria. > [!NOTE] > > **IMPS**, **NEFT**, and **RTGS** are the local Indian payment rails used for INR payouts to India. ## Currency Support | Country | Currency | Direction | | :- | :- | :- | | Albania | EUR | Payout | | Andorra | EUR | Payout | | Argentina | USD | Payout | | Austria | USD, EUR | Payout | | Belgium | USD, EUR | Payout | | Brazil | USD, BRL | Payout | | British Virgin Islands | USD | Payout | | Bulgaria | USD, EUR | Payout | | Chile | USD | Payout | | China | USD, CNY | Payout | | Colombia | USD, COP | Payout | | Croatia | USD, EUR | Payout | | Cyprus | USD, EUR | Payout | | Czech Republic | USD, EUR | Payout | | Denmark | USD, EUR | Payout | | Estonia | USD, EUR | Payout | | Finland | USD, EUR | Payout | | France | USD, EUR | Payout | | Germany | USD, EUR | Payout | | Greece | USD, EUR | Payout | | Hong Kong | USD, HKD | Payout | | Hungary | USD, EUR | Payout | | Iceland | USD, EUR | Payout | | India | INR | Payout | | Indonesia | USD | Payout | | Ireland | USD, EUR | Payout | | Italy | USD, EUR | Payout | | Japan | USD | Payout | | Kenya | USD | Payout | | Latvia | USD, EUR | Payout | | Liechtenstein | USD, EUR | Payout | | Lithuania | USD, EUR | Payout | | Luxembourg | USD, EUR | Payout | | Malta | USD, EUR | Payout | | Mexico | MXN | Payout | | Moldova | EUR | Payout | | Monaco | EUR | Payout | | Montenegro | EUR | Payout | | Netherlands | USD, EUR | Payout | | Nigeria | NGN | Payout | | North Macedonia | EUR | Payout | | Norway | USD, EUR | Payout | | Poland | USD, EUR | Payout | | Portugal | USD, EUR | Payout | | Romania | USD, EUR | Payout | | San Marino | EUR | Payout | | Serbia | USD, EUR | Payout | | Singapore | USD, SGD | Payout | | Slovakia | USD, EUR | Payout | | Slovenia | USD, EUR | Payout | | South Africa | USD | Payout | | South Korea | USD | Payout | | Spain | USD, EUR | Payout | | Sweden | USD, EUR | Payout | | Switzerland | EUR | Payout | | Taiwan | USD | Payout | | Thailand | USD | Payout | | United Arab Emirates | USD, AED | Payout | | United Kingdom | USD | Payout | | Vatican City | EUR | Payout | ## Individual The Global Network rail for individual users requires comprehensive KYC (Know Your Customer) verification to comply with international financial regulations. ### KYC Fields | Field | Description | `Required` | | :- | :- | :- | | **firstName** | User's first name | `Required` | | **lastName** | User's last name | `Required` | | **email** | User's email address | `Required` | | **phone** | User's phone number | `Required` | | **address** | The address where the user currently resides. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **nationality** | User's nationality | `Required` | | **dateOfBirth** | User's date of birth | `Required` | | **taxIdentificationNumber** | User's tax identification number | `Required` | | **sofEuQuestionnaire** | Refer to the [Questionnaire](#questionnaire) section | `Required` | | **documents** | Refer to the [Documents](#documents) section | `Required` | ### Questionnaire | Field | Description | `Required` | | :- | :- | :- | | **mostRecentOccupation** | User's most recent occupation | `Required` | | **sourceOfFunds** | What is the source of funds | `Required` | ### Documents | Document Group | Min Count | Document Types | `Required` | | :- | :- | :- | :- | | **identity** | 1 | DRIVERS, ID_CARD, PASSPORT, RESIDENCE_PERMIT | `Required` | | **proofOfResidence** | 0 | PROOF_OF_ADDRESS | `Optional` | > [accordion] Document types > > \| Document Type | Description | | :--------------- | :--------------------------- | | DRIVERS | Drivers license | | ID_CARD | Identification card | | PASSPORT | National passport | | RESIDENCE_PERMIT | Residence permit or document | | PROOF_OF_ADDRESS | Proof of address document | ## Business The Global Network rail for business users requires comprehensive KYB (Know Your Business) verification to comply with international financial regulations. ### KYB Fields | Field | Description | `Required` | | :- | :- | :- | | **businessName** | The full legal name of the business | `Required` | | **tradeName** | The trade name or DBA (Doing Business As) of the business | `Required` | | **businessType** | The type of business structure | `Required` | | **businessIndustry** | The industry in which this business operates. Click [here](/docs/compliance/references/business-industries) for the complete list of valid industries and codes | `Required` | | **address** | Business address. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **incorporationDate** | Date when the business was incorporated | `Required` | | **taxIdentificationNumber** | Company tax number | `Required` | | **website** | Business website URL | `Required` | | **email** | Business email address | `Required` | | **phone** | Business phone number | `Required` | | **sofEuQuestionnaire** | Refer to the [Questionnaire](#questionnaire-1) section | `Required` | | **ultimateBeneficialOwners** | Refer to the [UBOs](#ubos) section | `Required` | | **documents** | Refer to the [Documents](#documents-1) section | `Required` | ### Questionnaire | Field | Description | `Required` | | :- | :- | :- | | **sourceOfFunds** | What is the source of funds | `Required` | ### Documents | Document Group | Min Count | Document Types | `Required` | | :- | :- | :- | :- | | **legalPresence** | 0 | INCORPORATION_ARTICLES, INCORPORATION_CERT, STATE_REGISTRY | `Optional` | | **ownershipStructure** | 0 | SHAREHOLDER_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, STATE_REGISTRY | `Optional` | | **companyDetails** | 0 | PROOF_OF_ADDRESS | `Optional` | | **controlStructure** | 0 | DIRECTORS_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, STATE_REGISTRY | `Optional` | > [accordion] Document types > > \| Document Type | Description | | :--------------------- | :--------------------------------- | | INCORPORATION_ARTICLES | Incorporation articles document | | INCORPORATION_CERT | Incorporation certificate document | | STATE_REGISTRY | State registry document | | SHAREHOLDER_REGISTRY | Shareholder registry document | | TRUST_AGREEMENT | Trust agreement document | | INFORMATION_STATEMENT | Information statement document | | PROOF_OF_ADDRESS | Proof of address document | | DIRECTORS_REGISTRY | Directors registry document | ### UBOs | Field | Description | `Required` | | :- | :- | :- | | **firstName** | UBO's first name | `Required` | | **lastName** | UBO's last name | `Required` | | **address** | The address where the UBO currently resides. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **dateOfBirth** | UBO's date of birth | `Required` | | **shareProportion** | UBO's share proportion in the business | `Required` | | **documents** | Identity documents. Optional: minimum 1 document. Accepted types: DRIVERS, ID_CARD, PASSPORT, RESIDENCE_PERMIT | `Optional` | # USD Rail Source: https://docs.hifi.com/rails/usd The USD Rail enables pay-ins and pay-outs from stablecoins to USD. It also enables Virtual Accounts for recurring payments. ### Payment Methods | Payment Method | Direction | Typical Duration | | :- | :- | :- | | Wire | Payin, Payout | \< 1 business day | | ACH | Payin, Payout | 1-3 business days | | SWIFT | Payout | 1-5 business days | | RTP | Payin, Payout | Instant | > [!NOTE] > > SWIFT cut-off times: SWIFT operates Monday to Friday. The daily cut-off time is 11:30 AM EST; any transactions processed after this time will be queued for processing at approximately 2:00 AM EST the following business day. Saturday and Sunday are treated as non-working days. ## Currency Support | Country | Currency | Direction | Payment Methods | | :- | :- | :- | :- | | United States | USD | Payin, Payout | Wire, ACH, RTP, SWIFT(Payout-only) | | United Arab Emirates | USD | Payout | SWIFT | | Australia | USD | Payout | SWIFT | | Austria | USD | Payout | SWIFT | | Belgium | USD | Payout | SWIFT | | Canada | USD | Payout | SWIFT | | Estonia | USD | Payout | SWIFT | | Finland | USD | Payout | SWIFT | | France | USD | Payout | SWIFT | | Germany | USD | Payout | SWIFT | | Greece | USD | Payout | SWIFT | | India | USD | Payout | SWIFT | | Ireland | USD | Payout | SWIFT | | Italy | USD | Payout | SWIFT | | Japan | USD | Payout | SWIFT | | Lithuania | USD | Payout | SWIFT | | Luxembourg | USD | Payout | SWIFT | | Mexico | USD | Payout | SWIFT | | Malaysia | USD | Payout | SWIFT | | Netherlands | USD | Payout | SWIFT | | New Zealand | USD | Payout | SWIFT | | Norway | USD | Payout | SWIFT | | Oman | USD | Payout | SWIFT | | Philippines | USD | Payout | SWIFT | | Portugal | USD | Payout | SWIFT | | Slovenia | USD | Payout | SWIFT | | Spain | USD | Payout | SWIFT | | United Kingdom | USD | Payout | SWIFT | | Colombia | USD | Payout | SWIFT | | Guatemala | USD | Payout | SWIFT | | Uruguay | USD | Payout | SWIFT | > [!NOTE] > > USD SWIFT payouts are currently limited to senders based in the United States. For other regions, please use the [Global Network](/rails/global-network) rail. ## Virtual Account Eligibility Business users incorporated in India, Nigeria, Panama, the Philippines, Saudi Arabia, and Vietnam can be enabled for USD virtual accounts after every UBO with 10% ownership or above completes the required identity and liveness checks. > [!NOTE] > > This eligibility applies to virtual accounts only. It does not expand USD > SWIFT payout coverage for businesses incorporated in these countries. See > [Liveness Checks](/compliance/liveness-checks) for the complete requirements. ## Individual The USD rail for individual users requires comprehensive KYC (Know Your Customer) verification to comply with US financial regulations. ### KYC Fields | Field | Description | `Required` | | :- | :- | :- | | **firstName** | User's first name | `Required` | | **lastName** | User's last name | `Required` | | **email** | User's email address | `Required` | | **phone** | User's phone number | `Required` | | **address** | The address the user currently resides. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **nationality** | User's nationality | `Required` | | **dateOfBirth** | User's date of birth | `Required` | | **taxIdentificationNumber** | For individual US customers, this has to be SSN or ITIN | `Required` | | **documents** | Refer to the [Documents](#documents) section | `Required` | ### Documents | Document Group | Min Count | Document Types | `Required` | | :- | :- | :- | - | | **identity** | 1 | DRIVERS, ID_CARD, PASSPORT, RESIDENCE_PERMIT | `Required` | | **proofOfResidence** | 1 | UTILITY_BILL, BANK_STATEMENT, RENTAL_AGREEMENT, TAX_DOCUMENT, VOTER_REGISTRATION_CARD, BANK_REFERENCE_LETTER, LEASE_OR_TENANCY_AGREEMENT, PROOF_OF_ADDRESS, DRIVERS (US and Canada Only) , ID_CARD (US and Canada Only), RESIDENCE_PERMIT (US and Canada Only) | `Required` | > [accordion] Document types > > | Document Type | Description | > | :- | :- | > | DRIVERS | Drivers license | > | ID_CARD | Identification card | > | PASSPORT | National passport | > | RESIDENCE_PERMIT | Residence permit or document | ## Business The USD rail for business users requires comprehensive KYB (Know Your Business) verification to comply with US financial regulations. ### KYB Fields | Fields | Description | `Required` | | :- | :- | :- | | **businessName** | The full legal name of the business | `Required` | | **businessIndustry** | The industry in which this business operates. Click [here](/docs/compliance/references/business-industries) for the complete list of valid industries and codes | `Required` | | **businessType** | The type of business structure | `Required` | | **registrationNumber** | Business Registration Number | `Required` | | **address** | Business address. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **registeredAddress** | The official registered office address of the business as filed with the government authority in its jurisdiction of incorporation. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **incorporationDate** | Date when the business was incorporated | `Required` | | **email** | Business email address | `Required` | | **phone** | Business phone number | `Required` | | **taxIdentificationNumber** | Company tax number. For US business, EIN has to be provided | `Required` | | **website** | Business website URL | `Required` | | **incorporationCountry** | Country where the business was incorporated | | | **incorporationState** | State where the business was incorporated | | | **sofEuQuestionnaire** | Refer to the [Source of Funds and Expected Use](#source-of-funds-and-expected-use-questionnaire-1) section | `Required` | | **documents** | Refer to the [Documents](#documents-1) section | `Required` | | **ultimateBeneficialOwners** | Refer to the [Ultimate Beneficial Owners](#ultimate-beneficial-owners-ubos) section | `Required` | ### Questionnaire | Fields | Description | `Required` | | :- | :- | :- | | **primaryPurpose** | What is the primary purpose of the customer's account? | `Required` | | **primaryPurposeOther** | Required if the primary purpose is 'other' | | | **sourceOfFunds** | What is the source of funds for the customer's account? | `Required` | | **sourceOfFundsDescription** | Additional description of the source of funds | | | **transmitsCustomerFunds** | Does the business transmit customer funds? (boolean) | `Required` | | **transmitsCustomerFundsDescription** | Description of how customer funds are transmitted | | | **conductsMoneyServices** | Does the business conduct money services? (boolean) | `Required` | | **highRiskActivities** | List of high-risk activities the business is involved in (array) | `Required` | | **estimatedAnnualRevenueUsd** | Estimated annual revenue in USD | `Required` | | **expectedMonthlyPaymentsUsd** | Expected monthly volume of payments in USD | `Required` | | **customerFundsDescription** | Description of how customer funds are handled | `Required` | | **operatesInProhibitedCountries** | Does the business operate in prohibited countries? | | ### Documents | Document Group | Min Count | Document Types | `Required` | | :- | :- | :- | :- | | **legalPresence** | 1 | INCORPORATION_ARTICLES, INCORPORATION_CERT, STATE_REGISTRY | `Required` | | **ownershipStructure** | 1 | SHAREHOLDER_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, STATE_REGISTRY | `Required` | | **companyDetails** | 1 | PROOF_OF_ADDRESS | `Required` | | **controlStructure** | 1 | DIRECTORS_REGISTRY, TRUST_AGREEMENT, INFORMATION_STATEMENT, STATE_REGISTRY | `Required` | > [accordion] Document types > > \| Document Type | Description | | :--------------------- | :--------------------------------- | | INCORPORATION_ARTICLES | Incorporation articles document | | INCORPORATION_CERT | Incorporation certificate document | | STATE_REGISTRY | State registry document | | SHAREHOLDER_REGISTRY | Shareholder registry document | | TRUST_AGREEMENT | Trust agreement document | | INFORMATION_STATEMENT | Information statement document | | PROOF_OF_ADDRESS | Proof of address document | | DIRECTORS_REGISTRY | Directors registry document | ### UBOs > [!NOTE] > > **Role Requirements:** The combined `roles` across all provided UBOs must include at least one `DIRECTOR` and one `UBO`. > [!NOTE] > > **Share Threshold:** Only UBOs with a share proportion greater than 25% need to be provided. > [!NOTE] > > For businesses seeking virtual-account enablement that are subject to > [liveness checks](/compliance/liveness-checks), > provide every UBO with 10% ownership or above. Those UBOs must complete full > individual KYC through the hosted verification flow, including live ID > capture and biometric liveness verification. | Fields | Description | `Required` | | :- | :- | :- | | **roles** | Array of roles (e.g., DIRECTOR, UBO). Combined roles across all UBOs must include at least one DIRECTOR and one UBO | `Required` | | **businessTitle** | UBO's business title | `Required` | | **firstName** | UBO's first name | `Required` | | **middleName** | UBO's middle name | | | **lastName** | UBO's last name | `Required` | | **nationality** | UBO's nationality | `Required` | | **email** | UBO's email address | `Required` | | **phone** | UBO's phone number | `Required` | | **address** | The address where the UBO currently resides. Required fields: `addressLine1`, `city`, `stateProvinceRegion`, `postalCode`, `country`. Optional: `addressLine2` | `Required` | | **dateOfBirth** | UBO's date of birth | `Required` | | **taxIdentificationNumber** | UBO's tax identification number | `Required` | | **shareProportion** | UBO's share proportion in the business | `Required` | | **relationshipEstablishedAt** | Date when the relationship was established | `Required` | | **documents** | Identity documents. Required: minimum 1 document. Accepted types: DRIVERS, ID_CARD, PASSPORT, RESIDENCE_PERMIT | `Required` | # Account Purposes Source: https://docs.hifi.com/references/account-purposes Reference for acceptable account purpose values and their descriptions | Acceptable value | Description | | :- | :- | | `PAY_SUPPLIERS` | Businesses that need to pay their suppliers for goods or services they purchase. | | `PAY_SERVICE_PROVIDERS` | Businesses that make payments to contractors or service providers (like consultants, agencies, or maintenance services). | | `GOODS_MERCHANDISE_COMMODITIES` | Businesses engaged in purchasing or selling physical goods, merchandise, or commodities. | | `FREELANCERS_CONTRACTORS_PAYROLL` | Businesses paying employees, freelancers, or contractors for their work. | | `FINANCIAL_SERVICES_LOANS_INVESTMENTS` | Businesses offering financial services, loans, or investment opportunities. | | `TAX_REGULATORY_FEES` | This purpose applies when the business needs to pay taxes or regulatory fees to government agencies. | | `LEGAL_SERVICES` | Businesses or individuals paying for legal services. | | `OPERATIONAL_EXPENSES` | Businesses paying general expenses necessary for day-to-day operations, such as utilities, rent, or office supplies. | | `SUBSCRIPTIONS` | Applies to businesses paying recurring payments for subscriptions (e.g., software as a service, memberships, or media subscriptions). | | `TRAVEL_RELATED_EXPENSES` | For businesses paying for travel services (flights, hotels, transportation, etc.). | | `INSURANCE` | For businesses paying insurance premiums or dealing with insurance-related transactions. | | `ADVERTISING_MARKETING_EXPENSES` | This category involves businesses paying for advertising or marketing services, such as digital campaigns, print ads, partnerships, etc. | | `EQUIPMENT_MACHINERY` | Businesses making payments involving the purchase or lease of equipment or machinery used in business operations. | | `TECHNOLOGY_SERVICES` | Businesses making payments related to software development, IT services, or cloud computing services. | | `EDUCATION_RELATED_EXPENSES` | Businesses making payments related to education services, such as tuition fees, courses, or training programs. | | `TREASURY_PAYMENTS` | Businesses making payments involving the movement of funds within a company's treasury, including inter-company transfers or liquidity management. | | `FX_SERVICES` | Businesses making payments that involve conducting foreign exchange transactions or currency conversions. | | `OTHER` | For business purposes that don't fit the other categories. If a business purpose doesn't fall under the defined categories, it can be classified as "Other" and still undergo the KYC process for due diligence. | | `ONLINE_MARKETPLACE_TRADING` | Businesses that collect funds or payments from online marketplaces (e.g., e-commerce platforms like Amazon, eBay, etc.). | | `OFFLINE_TRADING` | Businesses that engage in offline trade (e.g., retail transactions, in-person sales, or traditional markets). | # business-industries Source: https://docs.hifi.com/references/business-industries # Administrative & Support Services Source: https://docs.hifi.com/references/business-industries/administrative-support-services Reference table of administrative and support services industry codes and classifications. | Industry | Code | | :- | :- | | Office Administrative Services | 561110 | | Facilities Support Services | 561210 | | Employment Placement Agencies | 561311 | | Executive Search Services | 561312 | | Temporary Help Services | 561320 | | Professional Employer Organizations | 561330 | | Document Preparation Services | 561410 | | Telephone Answering Services | 561421 | | Telemarketing Bureaus And Other Contact Centers | 561422 | | Private Mail Centers | 561431 | | Other Business Service Centers Including Copy Shops | 561439 | | Collection Agencies | 561440 | | Credit Bureaus | 561450 | | Repossession Services | 561491 | | Court Reporting And Stenotype Services | 561492 | | All Other Business Support Services | 561499 | | Travel Agencies | 561510 | | Tour Operators | 561520 | | Convention And Visitors Bureaus | 561591 | | All Other Travel Arrangement And Reservation Services | 561599 | | Investigation And Personal Background Check Services | 561611 | | Security Guards And Patrol Services | 561612 | | Armored Car Services | 561613 | | Security Systems Services Except Locksmiths | 561621 | | Locksmiths | 561622 | | Exterminating And Pest Control Services | 561710 | | Janitorial Services | 561720 | | Landscaping Services | 561730 | | Carpet And Upholstery Cleaning Services | 561740 | | Other Services To Buildings And Dwellings | 561790 | | Packaging And Labeling Services | 561910 | | Convention And Trade Show Organizers | 561920 | | All Other Support Services | 561990 | | Solid Waste Collection | 562111 | | Hazardous Waste Collection | 562112 | | Other Waste Collection | 562119 | | Hazardous Waste Treatment And Disposal | 562211 | | Solid Waste Landfill | 562212 | | Solid Waste Combustors And Incinerators | 562213 | | Other Nonhazardous Waste Treatment And Disposal | 562219 | | Remediation Services | 562910 | | Materials Recovery Facilities | 562920 | | Septic Tank And Related Services | 562991 | | All Other Miscellaneous Waste Management Services | 562998 | # Agriculture & Forestry Source: https://docs.hifi.com/references/business-industries/agriculture-forestry Reference table of agriculture and forestry industry codes and classifications. | Industry | Code | | :- | :- | | Soybean Farming | 111110 | | Oilseed Except Soybean Farming | 111120 | | Dry Pea And Bean Farming | 111130 | | Wheat Farming | 111140 | | Corn Farming | 111150 | | Rice Farming | 111160 | | Oilseed And Grain Combination Farming | 111191 | | All Other Grain Farming | 111199 | | Potato Farming | 111211 | | Other Vegetable Except Potato And Melon Farming | 111219 | | Orange Groves | 111310 | | Citrus Except Orange Groves | 111320 | | Apple Orchards | 111331 | | Grape Vineyards | 111332 | | Strawberry Farming | 111333 | | Berry Except Strawberry Farming | 111334 | | Tree Nut Farming | 111335 | | Fruit And Tree Nut Combination Farming | 111336 | | Other Noncitrus Fruit Farming | 111339 | | Mushroom Production | 111411 | | Other Food Crops Grown Under Cover | 111419 | | Nursery And Tree Production | 111421 | | Floriculture Production | 111422 | | Tobacco Farming | 111910 | | Cotton Farming | 111920 | | Sugarcane Farming | 111930 | | Hay Farming | 111940 | | Sugar Beet Farming | 111991 | | Peanut Farming | 111992 | | All Other Miscellaneous Crop Farming | 111998 | | Beef Cattle Ranching And Farming | 112111 | | Cattle Feedlots | 112112 | | Dairy Cattle And Milk Production | 112120 | | Hog And Pig Farming | 112210 | | Chicken Egg Production | 112310 | | Broilers And Other Meat Type Chicken Production | 112320 | | Turkey Production | 112330 | | Poultry Hatcheries | 112340 | | Other Poultry Production | 112390 | | Sheep Farming | 112410 | | Goat Farming | 112420 | | Finfish Farming And Fish Hatcheries | 112511 | | Shellfish Farming | 112512 | | Other Aquaculture | 112519 | | Apiculture | 112910 | | Horses And Other Equine Production | 112920 | | Fur Bearing Animal And Rabbit Production | 112930 | | All Other Animal Production | 112990 | | Timber Tract Operations | 113110 | | Forest Nurseries And Gathering Of Forest Products | 113210 | | Logging | 113310 | | Finfish Fishing | 114111 | | Shellfish Fishing | 114112 | | Other Marine Fishing | 114119 | | Hunting And Trapping | 114210 | | Cotton Ginning | 115111 | | Soil Preparation Planting And Cultivating | 115112 | | Crop Harvesting Primarilyby Machine | 115113 | | Postharvest Crop Activities Except Cotton Ginning | 115114 | | Farm Labor Contractors And Crew Leaders | 115115 | | Farm Management Services | 115116 | | Support Activities For Animal Production | 115210 | | Support Activities For Forestry | 115310 | # Arts, Recreation & Entertainment Source: https://docs.hifi.com/references/business-industries/arts-recreation-entertainment Reference table of arts, recreation and entertainment industry codes and classifications. | Industry | Code | | :- | :- | | Theater Companies And Dinner Theaters | 711110 | | Dance Companies | 711120 | | Musical Groups And Artists | 711130 | | Other Performing Arts Companies | 711190 | | Sports Teams And Clubs | 711211 | | Racetracks | 711212 | | Other Spectator Sports | 711219 | | Promoters Of Performing Arts Sports And Similar Events With Facilities | 711310 | | Promoters Of Performing Arts Sports And Similar Events Without Facilities | 711320 | | Agents And Managers For Artists Athletes Entertainers And Other Public Figures | 711410 | | Independent Artists Writers And Performers | 711510 | | Museums | 712110 | | Historical Sites | 712120 | | Zoos And Botanical Gardens | 712130 | | Nature Parks And Other Similar Institutions | 712190 | | Amusement And Theme Parks | 713110 | | Amusement Arcades | 713120 | | Casinos Except Casino Hotels | 713210 | | Other Gambling Industries | 713290 | | Golf Courses And Country Clubs | 713910 | | Skiing Facilities | 713920 | | Marinas | 713930 | | Fitness And Recreational Sports Centers | 713940 | | Bowling Centers | 713950 | | All Other Amusement And Recreation Industries | 713990 | # Construction Source: https://docs.hifi.com/references/business-industries/construction Reference table of construction industry codes and classifications. | Industry | Code | | :- | :- | | New Single Family Housing Construction Except For Sale Builders | 236115 | | New Multifamily Housing Construction Except For Sale Builders | 236116 | | New Housing For Sale Builders | 236117 | | Residential Remodelers | 236118 | | Industrial Building Construction | 236210 | | Commercial And Institutional Building Construction | 236220 | | Water And Sewer Line And Related Structures Construction | 237110 | | Oil And Gas Pipeline And Related Structures Construction | 237120 | | Power And Communication Line And Related Structures Construction | 237130 | | Land Subdivision | 237210 | | Highway Street And Bridge Construction | 237310 | | Other Heavy And Civil Engineering Construction | 237990 | | Residential Poured Concrete Foundation And Structure Contractors | 238111 | | Non Residential Poured Concrete Foundation And Structure Contractors | 238112 | | Residential Structural Steel And Precast Concrete Contractors | 238121 | | Non Residential Structural Steel And Precast Concrete Contractors | 238122 | | Residential Framing Contractors | 238131 | | Non Residential Framing Contractors | 238132 | | Residential Masonry Contractors | 238141 | | Non Residential Masonry Contractors | 238142 | | Residential Glass And Glazing Contractors | 238151 | | Non Residential Glass And Glazing Contractors | 238152 | | Residential Roofing Contractors | 238161 | | Non Residential Roofing Contractors | 238162 | | Residential Siding Contractors | 238171 | | Non Residential Siding Contractors | 238172 | | Residential Other Foundation Structure And Building Exterior Contractors | 238191 | | Non Residential Other Foundation Structure And Building Exterior Contractors | 238192 | | Residential Electrical Contractors And Other Wiring Installation Contractors | 238211 | | Non Residential Electrical Contractors And Other Wiring Installation Contractors | 238212 | | Residential Plumbing Heating And Air Conditioning Contractors | 238221 | | Non Residential Plumbing Heating And Air Conditioning Contractors | 238222 | | Residential Other Building Equipment Contractors | 238291 | | Non Residential Other Building Equipment Contractors | 238292 | | Residential Drywall And Insulation Contractors | 238311 | | Non Residential Drywall And Insulation Contractors | 238312 | | Residential Painting And Wall Covering Contractors | 238321 | | Non Residential Painting And Wall Covering Contractors | 238322 | | Residential Flooring Contractors | 238331 | | Non Residential Flooring Contractors | 238332 | | Residential Tile And Terrazzo Contractors | 238341 | | Non Residential Tile And Terrazzo Contractors | 238342 | | Residential Finish Carpentry Contractors | 238351 | | Non Residential Finish Carpentry Contractors | 238352 | | Residential Other Building Finishing Contractors | 238391 | | Non Residential Other Building Finishing Contractors | 238392 | | Residential Site Preparation Contractors | 238911 | | Non Residential Site Preparation Contractors | 238912 | | Residential All Other Specialty Trade Contractors | 238991 | | Non Residential All Other Specialty Trade Contractors | 238992 | # Education Source: https://docs.hifi.com/references/business-industries/education Reference table of education industry codes and classifications. | Industry | Code | | :- | :- | | Elementary And Secondary Schools | 611110 | | Junior Colleges | 611210 | | Colleges Universities And Professional Schools | 611310 | | Business And Secretarial Schools | 611410 | | Computer Training | 611420 | | Professional And Management Development Training | 611430 | | Cosmetology And Barber Schools | 611511 | | Flight Training | 611512 | | Apprenticeship Training | 611513 | | Other Technical And Trade Schools | 611519 | | Fine Arts Schools | 611610 | | Sports And Recreation Instruction | 611620 | | Language Schools | 611630 | | Exam Preparation And Tutoring | 611691 | | Automobile Driving Schools | 611692 | | All Other Miscellaneous Schools And Instruction | 611699 | | Educational Support Services | 611710 | # Finance & Insurance Source: https://docs.hifi.com/references/business-industries/finance-insurance Reference table of finance and insurance industry codes and classifications. | Industry | Code | | :- | :- | | Monetary Authorities Central Bank | 521110 | | Commercial Banking | 522110 | | Credit Unions | 522130 | | Savings Institutions And Other Depository Credit Intermediation | 522180 | | Credit Card Issuing | 522210 | | Sales Financing | 522220 | | Consumer Lending | 522291 | | Real Estate Credit | 522292 | | All Other Nondepository Credit Intermediation | 522298 | | International Secondary Market And All Other Nondepository Credit Intermediation | 522299 | | Mortgage And Nonmortgage Loan Brokers | 522310 | | Financial Transactions Processing Reserve And Clearinghouse Activities | 522320 | | Other Activities Related To Credit Intermediation | 522390 | | Investment Banking And Securities Intermediation | 523150 | | Commodity Contracts Intermediation | 523160 | | Securities And Commodity Exchanges | 523210 | | Miscellaneous Intermediation | 523910 | | Portfolio Management And Investment Advice | 523940 | | Trust Fiduciary And Custody Activities | 523991 | | Miscellaneous Financial Investment Activities | 523999 | | Direct Life Insurance Carriers | 524113 | | Direct Health And Medical Insurance Carriers | 524114 | | Direct Property And Casualty Insurance Carriers | 524126 | | Direct Title Insurance Carriers | 524127 | | Other Direct Insurance Except Life Health And Medical Carriers | 524128 | | Reinsurance Carriers | 524130 | | Insurance Agencies And Brokerages | 524210 | | Claims Adjusting | 524291 | | Pharmacy Benefit Management And Other Third Party Administration Of Insurance And Pension Funds | 524292 | | All Other Insurance Related Activities | 524298 | | Pension Funds | 525110 | | Health And Welfare Funds | 525120 | | Other Insurance Funds | 525190 | | Open End Investment Funds | 525910 | | Trusts Estates And Agency Accounts | 525920 | | Other Financial Vehicles | 525990 | # Health & Social Services Source: https://docs.hifi.com/references/business-industries/health-social-services Reference table of health and social services industry codes and classifications. | Industry | Code | | :- | :- | | Offices Of Physicians Except Mental Health Specialists | 621111 | | Offices Of Physicians Mental Health Specialists | 621112 | | Offices Of Dentists | 621210 | | Offices Of Chiropractors | 621310 | | Offices Of Optometrists | 621320 | | Offices Of Mental Health Practitioners Except Physicians | 621330 | | Offices Of Physical Occupational And Speech Therapists And Audiologists | 621340 | | Offices Of Podiatrists | 621391 | | Offices Of All Other Miscellaneous Health Practitioners | 621399 | | Family Planning Centers | 621410 | | Outpatient Mental Health And Substance Abuse Centers | 621420 | | HMO Medical Centers | 621491 | | Kidney Dialysis Centers | 621492 | | Freestanding Ambulatory Surgical And Emergency Centers | 621493 | | All Other Outpatient Care Centers | 621498 | | Medical Laboratories | 621511 | | Diagnostic Imaging Centers | 621512 | | Home Health Care Services | 621610 | | Ambulance Services | 621910 | | Blood And Organ Banks | 621991 | | All Other Miscellaneous Ambulatory Health Care Services | 621999 | | General Medical And Surgical Hospitals | 622110 | | Psychiatric And Substance Abuse Hospitals | 622210 | | Specialty Except Psychiatric And Substance Abuse Hospitals | 622310 | | Nursing Care Facilities Skilled Nursing Facilities | 623110 | | Residential Intellectual And Developmental Disability Facilities | 623210 | | Residential Mental Health And Substance Abuse Facilities | 623220 | | Continuing Care Retirement Communities | 623311 | | Assisted Living Facilities For The Elderly | 623312 | | Other Residential Care Facilities | 623990 | | Child And Youth Services | 624110 | | Services For The Elderly And Persons With Disabilities | 624120 | | Other Individual And Family Services | 624190 | | Community Food Services | 624210 | | Temporary Shelters | 624221 | | Other Community Housing Services | 624229 | | Emergency And Other Relief Services | 624230 | | Vocational Rehabilitation Services | 624310 | | Child Care Services | 624410 | # Hospitality & Food Source: https://docs.hifi.com/references/business-industries/hospitality-food Reference table of hospitality and food industry codes and classifications. | Industry | Code | | :- | :- | | Hotels Except Casino Hotels And Motels | 721110 | | Casino Hotels | 721120 | | Bedand Breakfast Inns | 721191 | | All Other Traveler Accommodation | 721199 | | RV Recreational Vehicle Parks And Campgrounds | 721211 | | Recreational And Vacation Camps Except Campgrounds | 721214 | | Rooming And Boarding Houses Dormitories And Workers Camps | 721310 | | Food Service Contractors | 722310 | | Caterers | 722320 | | Mobile Food Services | 722330 | | Drinking Places Alcoholic Beverages | 722410 | | Full Service Restaurants | 722511 | | Limited Service Restaurants | 722513 | | Cafeterias Grill Buffets And Buffets | 722514 | | Snack And Nonalcoholic Beverage Bars | 722515 | # Information & Media Source: https://docs.hifi.com/references/business-industries/information-media Reference table of information and media industry codes and classifications. | Industry | Code | | :- | :- | | Motion Picture And Video Production | 512110 | | Motion Picture And Video Distribution | 512120 | | Motion Picture Theaters Except Drive Ins | 512131 | | Drive In Motion Picture Theaters | 512132 | | Teleproduction And Other Postproduction Services | 512191 | | Other Motion Picture And Video Industries | 512199 | | Music Publishers | 512230 | | Sound Recording Studios | 512240 | | Record Production And Distribution | 512250 | | Other Sound Recording Industries | 512290 | | Newspaper Publishers | 513110 | | Periodical Publishers | 513120 | | Book Publishers | 513130 | | Directory And Mailing List Publishers | 513140 | | Greeting Card Publishers | 513191 | | All Other Publishers | 513199 | | Software Publishers | 513210 | | Cable And Other Subscription Programming | 515210 | | Radio Broadcasting Stations | 516110 | | Television Broadcasting Stations | 516120 | | Media Streaming Distribution Services Social Networks And Other Media Networks And Content Providers | 516210 | | Wired Telecommunications Carriers | 517111 | | Wireless Telecommunications Carriers Except Satellite | 517112 | | Telecommunications Resellers | 517121 | | Satellite Telecommunications | 517410 | | All Other Telecommunications | 517810 | | Computing Infrastructure Providers Data Processing Web Hosting And Related Services | 518210 | | Libraries And Archives | 519210 | | Web Search Portals And All Other Information Services | 519290 | # Manufacturing Source: https://docs.hifi.com/references/business-industries/manufacturing Reference table of manufacturing industry codes and classifications. | Industry | Code | | :- | :- | | Dog And Cat Food Manufacturing | 311111 | | Other Animal Food Manufacturing | 311119 | | Flour Milling | 311211 | | Rice Milling | 311212 | | Malt Manufacturing | 311213 | | Wet Corn Milling And Starch Manufacturing | 311221 | | Soybean And Other Oilseed Processing | 311224 | | Fats And Oils Refining And Blending | 311225 | | Breakfast Cereal Manufacturing | 311230 | | Beet Sugar Manufacturing | 311313 | | Cane Sugar Manufacturing | 311314 | | Nonchocolate Confectionery Manufacturing | 311340 | | Chocolate And Confectionery Manufacturing From Cacao Beans | 311351 | | Confectionery Manufacturing From Purchased Chocolate | 311352 | | Frozen Fruit Juice And Vegetable Manufacturing | 311411 | | Frozen Specialty Food Manufacturing | 311412 | | Fruit And Vegetable Canning | 311421 | | Specialty Canning | 311422 | | Dried And Dehydrated Food Manufacturing | 311423 | | Fluid Milk Manufacturing | 311511 | | Creamery Butter Manufacturing | 311512 | | Cheese Manufacturing | 311513 | | Dry Condensed And Evaporated Dairy Product Manufacturing | 311514 | | Ice Cream And Frozen Dessert Manufacturing | 311520 | | Animal Except Poultry Slaughtering | 311611 | | Meat Processed From Carcasses | 311612 | | Rendering And Meat Byproduct Processing | 311613 | | Poultry Processing | 311615 | | Seafood Product Preparation And Packaging | 311710 | | Retail Bakeries | 311811 | | Commercial Bakeries | 311812 | | Frozen Cakes Pies And Other Pastries Manufacturing | 311813 | | Cookie And Cracker Manufacturing | 311821 | | Dry Pasta Dough And Flour Mixes Manufacturing From Purchased Flour | 311824 | | Tortilla Manufacturing | 311830 | | Roasted Nuts And Peanut Butter Manufacturing | 311911 | | Other Snack Food Manufacturing | 311919 | | Coffee And Tea Manufacturing | 311920 | | Flavoring Syrup And Concentrate Manufacturing | 311930 | | Mayonnaise Dressing And Other Prepared Sauce Manufacturing | 311941 | | Spice And Extract Manufacturing | 311942 | | Perishable Prepared Food Manufacturing | 311991 | | All Other Miscellaneous Food Manufacturing | 311999 | | Soft Drink Manufacturing | 312111 | | Bottled Water Manufacturing | 312112 | | Ice Manufacturing | 312113 | | Breweries | 312120 | | Wineries | 312130 | | Distilleries | 312140 | | Tobacco Manufacturing | 312230 | | Fiber Yarn And Thread Mills | 313110 | | Broadwoven Fabric Mills | 313210 | | Narrow Fabric Mills And Schiffli Machine Embroidery | 313220 | | Nonwoven Fabric Mills | 313230 | | Knit Fabric Mills | 313240 | | Textile And Fabric Finishing Mills | 313310 | | Fabric Coating Mills | 313320 | | Carpet And Rug Mills | 314110 | | Curtain And Linen Mills | 314120 | | Textile Bag And Canvas Mills | 314910 | | Rope Cordage Twine Tire Cord And Tire Fabric Mills | 314994 | | All Other Miscellaneous Textile Product Mills | 314999 | | Apparel Knitting Mills | 315120 | | Cut And Sew Apparel Contractors | 315210 | | Cut And Sew Apparel Manufacturing Except Contractors | 315250 | | Apparel Accessories And Other Apparel Manufacturing | 315990 | | Leather And Hide Tanning And Finishing | 316110 | | Footwear Manufacturing | 316210 | | Other Leather And Allied Product Manufacturing | 316990 | | Sawmills | 321113 | | Wood Preservation | 321114 | | Hardwood Veneer And Plywood Manufacturing | 321211 | | Softwood Veneer And Plywood Manufacturing | 321212 | | Engineered Wood Member Manufacturing | 321215 | | Reconstituted Wood Product Manufacturing | 321219 | | Wood Window And Door Manufacturing | 321911 | | Cut Stock Resawing Lumber And Planing | 321912 | | Other Millwork Including Flooring | 321918 | | Wood Container And Pallet Manufacturing | 321920 | | Manufactured Home Mobile Home Manufacturing | 321991 | | Prefabricated Wood Building Manufacturing | 321992 | | All Other Miscellaneous Wood Product Manufacturing | 321999 | | Pulp Mills | 322110 | | Paper Mills | 322120 | | Paperboard Mills | 322130 | | Corrugated And Solid Fiber Box Manufacturing | 322211 | | Folding Paperboard Box Manufacturing | 322212 | | Other Paperboard Container Manufacturing | 322219 | | Paper Bag And Coated And Treated Paper Manufacturing | 322220 | | Stationery Product Manufacturing | 322230 | | Sanitary Paper Product Manufacturing | 322291 | | All Other Converted Paper Product Manufacturing | 322299 | | Commercial Printing Except Screen And Books | 323111 | | Commercial Screen Printing | 323113 | | Books Printing | 323117 | | Support Activities For Printing | 323120 | | Petroleum Refineries | 324110 | | Asphalt Paving Mixture And Block Manufacturing | 324121 | | Asphalt Shingle And Coating Materials Manufacturing | 324122 | | Petroleum Lubricating Oil And Grease Manufacturing | 324191 | | All Other Petroleum And Coal Products Manufacturing | 324199 | | Petrochemical Manufacturing | 325110 | | Industrial Gas Manufacturing | 325120 | | Synthetic Dye And Pigment Manufacturing | 325130 | | Other Basic Inorganic Chemical Manufacturing | 325180 | | Ethyl Alcohol Manufacturing | 325193 | | Cyclic Crude Intermediate And Gum And Wood Chemical Manufacturing | 325194 | | All Other Basic Organic Chemical Manufacturing | 325199 | | Plastics Material And Resin Manufacturing | 325211 | | Synthetic Rubber Manufacturing | 325212 | | Artificial And Synthetic Fibers And Filaments Manufacturing | 325220 | | Nitrogenous Fertilizer Manufacturing | 325311 | | Phosphatic Fertilizer Manufacturing | 325312 | | Fertilizer Mixing Only Manufacturing | 325314 | | Compost Manufacturing | 325315 | | Pesticide And Other Agricultural Chemical Manufacturing | 325320 | | Medicinal And Botanical Manufacturing | 325411 | | Pharmaceutical Preparation Manufacturing | 325412 | | In Vitro Diagnostic Substance Manufacturing | 325413 | | Biological Product Except Diagnostic Manufacturing | 325414 | | Paint And Coating Manufacturing | 325510 | | Adhesive Manufacturing | 325520 | | Soap And Other Detergent Manufacturing | 325611 | | Polish And Other Sanitation Good Manufacturing | 325612 | | Surface Active Agent Manufacturing | 325613 | | Toilet Preparation Manufacturing | 325620 | | Printing Ink Manufacturing | 325910 | | Explosives Manufacturing | 325920 | | Custom Compounding Of Purchased Resins | 325991 | | Photographic Film Paper Plate Chemical And Copy Toner Manufacturing | 325992 | | All Other Miscellaneous Chemical Product And Preparation Manufacturing | 325998 | | Plastics Bag And Pouch Manufacturing | 326111 | | Plastics Packaging Film And Sheet Including Laminated Manufacturing | 326112 | | Unlaminated Plastics Film And Sheet Except Packaging Manufacturing | 326113 | | Unlaminated Plastics Profile Shape Manufacturing | 326121 | | Plastics Pipe And Pipe Fitting Manufacturing | 326122 | | Laminated Plastics Plate Sheet Except Packaging And Shape Manufacturing | 326130 | | Polystyrene Foam Product Manufacturing | 326140 | | Urethane And Other Foam Product Except Polystyrene Manufacturing | 326150 | | Plastics Bottle Manufacturing | 326160 | | Plastics Plumbing Fixture Manufacturing | 326191 | | All Other Plastics Product Manufacturing | 326199 | | Tire Manufacturing Except Retreading | 326211 | | Tire Retreading | 326212 | | Rubber And Plastics Hoses And Belting Manufacturing | 326220 | | Rubber Product Manufacturing For Mechanical Use | 326291 | | All Other Rubber Product Manufacturing | 326299 | | Pottery Ceramics And Plumbing Fixture Manufacturing | 327110 | | Clay Building Material And Refractories Manufacturing | 327120 | | Flat Glass Manufacturing | 327211 | | Other Pressed And Blown Glass And Glassware Manufacturing | 327212 | | Glass Container Manufacturing | 327213 | | Glass Product Manufacturing Made Of Purchased Glass | 327215 | | Cement Manufacturing | 327310 | | Ready Mix Concrete Manufacturing | 327320 | | Concrete Block And Brick Manufacturing | 327331 | | Concrete Pipe Manufacturing | 327332 | | Other Concrete Product Manufacturing | 327390 | | Lime Manufacturing | 327410 | | Gypsum Product Manufacturing | 327420 | | Abrasive Product Manufacturing | 327910 | | Cut Stone And Stone Product Manufacturing | 327991 | | Ground Or Treated Mineral And Earth Manufacturing | 327992 | | Mineral Wool Manufacturing | 327993 | | All Other Miscellaneous Nonmetallic Mineral Product Manufacturing | 327999 | | Iron And Steel Mills And Ferroalloy Manufacturing | 331110 | | Iron And Steel Pipe And Tube Manufacturing From Purchased Steel | 331210 | | Rolled Steel Shape Manufacturing | 331221 | | Steel Wire Drawing | 331222 | | Alumina Refining And Primary Aluminum Production | 331313 | | Secondary Smelting And Alloying Of Aluminum | 331314 | | Aluminum Sheet Plate And Foil Manufacturing | 331315 | | Other Aluminum Rolling Drawing And Extruding | 331318 | | Nonferrous Metal Except Aluminum Smelting And Refining | 331410 | | Copper Rolling Drawing Extruding And Alloying | 331420 | | Nonferrous Metal Except Copper And Aluminum Rolling Drawing And Extruding | 331491 | | Secondary Smelting Refining And Alloying Of Nonferrous Metal Except Copper And Aluminum | 331492 | | Iron Foundries | 331511 | | Steel Investment Foundries | 331512 | | Steel Foundries Except Investment | 331513 | | Nonferrous Metal Die Casting Foundries | 331523 | | Aluminum Foundries Except Die Casting | 331524 | | Other Nonferrous Metal Foundries Except Die Casting | 331529 | | Iron And Steel Forging | 332111 | | Nonferrous Forging | 332112 | | Custom Roll Forming | 332114 | | Powder Metallurgy Part Manufacturing | 332117 | | Metal Crown Closure And Other Metal Stamping Except Automotive | 332119 | | Metal Kitchen Cookware Utensil Cutlery And Flatware Except Precious Manufacturing | 332215 | | Saw Blade And Handtool Manufacturing | 332216 | | Prefabricated Metal Building And Component Manufacturing | 332311 | | Fabricated Structural Metal Manufacturing | 332312 | | Plate Work Manufacturing | 332313 | | Metal Window And Door Manufacturing | 332321 | | Sheet Metal Work Manufacturing | 332322 | | Ornamental And Architectural Metal Work Manufacturing | 332323 | | Power Boiler And Heat Exchanger Manufacturing | 332410 | | Metal Tank Heavy Gauge Manufacturing | 332420 | | Metal Can Manufacturing | 332431 | | Other Metal Container Manufacturing | 332439 | | Hardware Manufacturing | 332510 | | Spring Manufacturing | 332613 | | Other Fabricated Wire Product Manufacturing | 332618 | | Machine Shops | 332710 | | Precision Turned Product Manufacturing | 332721 | | Bolt Nut Screw Rivet And Washer Manufacturing | 332722 | | Metal Heat Treating | 332811 | | Metal Coating Engraving Except Jewelry And Silverware And Allied Servicesto Manufacturers | 332812 | | Electroplating Plating Polishing Anodizing And Coloring | 332813 | | Industrial Valve Manufacturing | 332911 | | Fluid Power Valve And Hose Fitting Manufacturing | 332912 | | Plumbing Fixture Fitting And Trim Manufacturing | 332913 | | Other Metal Valve And Pipe Fitting Manufacturing | 332919 | | Ball And Roller Bearing Manufacturing | 332991 | | Small Arms Ammunition Manufacturing | 332992 | | Ammunition Except Small Arms Manufacturing | 332993 | | Small Arms Ordnance And Ordnance Accessories Manufacturing | 332994 | | Fabricated Pipe And Pipe Fitting Manufacturing | 332996 | | All Other Miscellaneous Fabricated Metal Product Manufacturing | 332999 | | Farm Machinery And Equipment Manufacturing | 333111 | | Lawn And Garden Tractor And Home Lawn And Garden Equipment Manufacturing | 333112 | | Construction Machinery Manufacturing | 333120 | | Mining Machinery And Equipment Manufacturing | 333131 | | Oil And Gas Field Machinery And Equipment Manufacturing | 333132 | | Food Product Machinery Manufacturing | 333241 | | Semiconductor Machinery Manufacturing | 333242 | | Sawmill Woodworking And Paper Machinery Manufacturing | 333243 | | All Other Industrial Machinery Manufacturing | 333248 | | Commercial And Service Industry Machinery Manufacturing | 333310 | | Industrial And Commercial Fan And Blower And Air Purification Equipment Manufacturing | 333413 | | Heating Equipment Except Warm Air Furnaces Manufacturing | 333414 | | Air Conditioning And Warm Air Heating Equipment And Commercial And Industrial Refrigeration Equipment Manufacturing | 333415 | | Industrial Mold Manufacturing | 333511 | | Special Die And Tool Die Set Jig And Fixture Manufacturing | 333514 | | Cutting Tool And Machine Tool Accessory Manufacturing | 333515 | | Machine Tool Manufacturing | 333517 | | Rolling Mill And Other Metalworking Machinery Manufacturing | 333519 | | Turbine And Turbine Generator Set Units Manufacturing | 333611 | | Speed Changer Industrial High Speed Drive And Gear Manufacturing | 333612 | | Mechanical Power Transmission Equipment Manufacturing | 333613 | | Other Engine Equipment Manufacturing | 333618 | | Air And Gas Compressor Manufacturing | 333912 | | Measuring Dispensing And Other Pumping Equipment Manufacturing | 333914 | | Elevator And Moving Stairway Manufacturing | 333921 | | Conveyor And Conveying Equipment Manufacturing | 333922 | | Overhead Traveling Crane Hoist And Monorail System Manufacturing | 333923 | | Industrial Truck Tractor Trailer And Stacker Machinery Manufacturing | 333924 | | Power Driven Handtool Manufacturing | 333991 | | Welding And Soldering Equipment Manufacturing | 333992 | | Packaging Machinery Manufacturing | 333993 | | Industrial Process Furnace And Oven Manufacturing | 333994 | | Fluid Power Cylinder And Actuator Manufacturing | 333995 | | Fluid Power Pump And Motor Manufacturing | 333996 | | All Other Miscellaneous General Purpose Machinery Manufacturing | 333998 | | Electronic Computer Manufacturing | 334111 | | Computer Storage Device Manufacturing | 334112 | | Computer Terminal And Other Computer Peripheral Equipment Manufacturing | 334118 | | Telephone Apparatus Manufacturing | 334210 | | Radio And Television Broadcasting And Wireless Communications Equipment Manufacturing | 334220 | | Other Communications Equipment Manufacturing | 334290 | | Audio And Video Equipment Manufacturing | 334310 | | Bare Printed Circuit Board Manufacturing | 334412 | | Semiconductor And Related Device Manufacturing | 334413 | | Capacitor Resistor Coil Transformer And Other Inductor Manufacturing | 334416 | | Electronic Connector Manufacturing | 334417 | | Printed Circuit Assembly Electronic Assembly Manufacturing | 334418 | | Other Electronic Component Manufacturing | 334419 | | Electromedical And Electrotherapeutic Apparatus Manufacturing | 334510 | | Search Detection Navigation Guidance Aeronautical And Nautical System And Instrument Manufacturing | 334511 | | Automatic Environmental Control Manufacturing For Residential Commercial And Appliance Use | 334512 | | Instruments And Related Products Manufacturing For Measuring Displaying And Controlling Industrial Process Variables | 334513 | | Totalizing Fluid Meter And Counting Device Manufacturing | 334514 | | Instrument Manufacturing For Measuring And Testing Electricity And Electrical Signals | 334515 | | Analytical Laboratory Instrument Manufacturing | 334516 | | Irradiation Apparatus Manufacturing | 334517 | | Other Measuring And Controlling Device Manufacturing | 334519 | | Manufacturing And Reproducing Magnetic And Optical Media | 334610 | | Residential Electric Lighting Fixture Manufacturing | 335131 | | Commercial Industrial And Institutional Electric Lighting Fixture Manufacturing | 335132 | | Electric Lamp Bulb And Other Lighting Equipment Manufacturing | 335139 | | Small Electrical Appliance Manufacturing | 335210 | | Major Household Appliance Manufacturing | 335220 | | Power Distribution And Specialty Transformer Manufacturing | 335311 | | Motor And Generator Manufacturing | 335312 | | Switchgear And Switchboard Apparatus Manufacturing | 335313 | | Relay And Industrial Control Manufacturing | 335314 | | Battery Manufacturing | 335910 | | Fiber Optic Cable Manufacturing | 335921 | | Other Communication And Energy Wire Manufacturing | 335929 | | Current Carrying Wiring Device Manufacturing | 335931 | | Noncurrent Carrying Wiring Device Manufacturing | 335932 | | Carbon And Graphite Product Manufacturing | 335991 | | All Other Miscellaneous Electrical Equipment And Component Manufacturing | 335999 | | Automobile And Light Duty Motor Vehicle Manufacturing | 336110 | | Heavy Duty Truck Manufacturing | 336120 | | Motor Vehicle Body Manufacturing | 336211 | | Truck Trailer Manufacturing | 336212 | | Motor Home Manufacturing | 336213 | | Travel Trailer And Camper Manufacturing | 336214 | | Motor Vehicle Gasoline Engine And Engine Parts Manufacturing | 336310 | | Motor Vehicle Electrical And Electronic Equipment Manufacturing | 336320 | | Motor Vehicle Steering And Suspension Components Except Spring Manufacturing | 336330 | | Motor Vehicle Brake System Manufacturing | 336340 | | Motor Vehicle Transmission And Power Train Parts Manufacturing | 336350 | | Motor Vehicle Seating And Interior Trim Manufacturing | 336360 | | Motor Vehicle Metal Stamping | 336370 | | Other Motor Vehicle Parts Manufacturing | 336390 | | Aircraft Manufacturing | 336411 | | Aircraft Engine And Engine Parts Manufacturing | 336412 | | Other Aircraft Parts And Auxiliary Equipment Manufacturing | 336413 | | Guided Missile And Space Vehicle Manufacturing | 336414 | | Guided Missile And Space Vehicle Propulsion Unit And Propulsion Unit Parts Manufacturing | 336415 | | Other Guided Missile And Space Vehicle Parts And Auxiliary Equipment Manufacturing | 336419 | | Railroad Rolling Stock Manufacturing | 336510 | | Ship Building And Repairing | 336611 | | Boat Building | 336612 | | Motorcycle Bicycle And Parts Manufacturing | 336991 | | Military Armored Vehicle Tank And Tank Component Manufacturing | 336992 | | All Other Transportation Equipment Manufacturing | 336999 | | Wood Kitchen Cabinet And Countertop Manufacturing | 337110 | | Upholstered Household Furniture Manufacturing | 337121 | | Nonupholstered Wood Household Furniture Manufacturing | 337122 | | Household Furniture Except Wood And Upholstered Manufacturing | 337126 | | Institutional Furniture Manufacturing | 337127 | | Wood Office Furniture Manufacturing | 337211 | | Custom Architectural Woodwork And Millwork Manufacturing | 337212 | | Office Furniture Except Wood Manufacturing | 337214 | | Showcase Partition Shelving And Locker Manufacturing | 337215 | | Mattress Manufacturing | 337910 | | Blind And Shade Manufacturing | 337920 | | Surgical And Medical Instrument Manufacturing | 339112 | | Surgical Appliance And Supplies Manufacturing | 339113 | | Dental Equipment And Supplies Manufacturing | 339114 | | Ophthalmic Goods Manufacturing | 339115 | | Dental Laboratories | 339116 | | Jewelry And Silverware Manufacturing | 339910 | | Sporting And Athletic Goods Manufacturing | 339920 | | Doll Toy And Game Manufacturing | 339930 | | Office Supplies Except Paper Manufacturing | 339940 | | Sign Manufacturing | 339950 | | Gasket Packing And Sealing Device Manufacturing | 339991 | | Musical Instrument Manufacturing | 339992 | | Fastener Button Needle And Pin Manufacturing | 339993 | | Broom Brush And Mop Manufacturing | 339994 | | Burial Casket Manufacturing | 339995 | | All Other Miscellaneous Manufacturing | 339999 | # Mining & Energy Source: https://docs.hifi.com/references/business-industries/mining-energy Reference table of mining and energy industry codes and classifications. | Industry | Code | | :- | :- | | Crude Petroleum Extraction | 211120 | | Natural Gas Extraction | 211130 | | Surface Coal Mining | 212114 | | Underground Coal Mining | 212115 | | Iron Ore Mining | 212210 | | Gold Ore And Silver Ore Mining | 212220 | | Copper Nickel Lead And Zinc Mining | 212230 | | Other Metal Ore Mining | 212290 | | Dimension Stone Mining And Quarrying | 212311 | | Crushed And Broken Limestone Mining And Quarrying | 212312 | | Crushed And Broken Granite Mining And Quarrying | 212313 | | Other Crushed And Broken Stone Mining And Quarrying | 212319 | | Construction Sand And Gravel Mining | 212321 | | Industrial Sand Mining | 212322 | | Kaolin Clay And Ceramic And Refractory Minerals Mining | 212323 | | Other Nonmetallic Mineral Mining And Quarrying | 212390 | | Drilling Oil And Gas Wells | 213111 | | Support Activities For Oil And Gas Operations | 213112 | | Support Activities For Coal Mining | 213113 | | Support Activities For Metal Mining | 213114 | | Support Activities For Nonmetallic Minerals Except Fuels Mining | 213115 | | Hydroelectric Power Generation | 221111 | | Fossil Fuel Electric Power Generation | 221112 | | Nuclear Electric Power Generation | 221113 | | Solar Electric Power Generation | 221114 | | Wind Electric Power Generation | 221115 | | Geothermal Electric Power Generation | 221116 | | Biomass Electric Power Generation | 221117 | | Other Electric Power Generation | 221118 | | Electric Bulk Power Transmission And Control | 221121 | | Electric Power Distribution | 221122 | | Natural Gas Distribution | 221210 | | Water Supply And Irrigation Systems | 221310 | | Sewage Treatment Facilities | 221320 | | Steam And Air Conditioning Supply | 221330 | # Other Services Source: https://docs.hifi.com/references/business-industries/other-services Reference table of other services industry codes and classifications. | Industry | Code | | :- | :- | | General Automotive Repair | 811111 | | Specialized Automotive Repair | 811114 | | Automotive Body Paint And Interior Repair And Maintenance | 811121 | | Automotive Glass Replacement Shops | 811122 | | Automotive Oil Change And Lubrication Shops | 811191 | | Car Washes | 811192 | | All Other Automotive Repair And Maintenance | 811198 | | Electronic And Precision Equipment Repair And Maintenance | 811210 | | Commercial And Industrial Machinery And Equipment Except Automotive And Electronic Repair And Maintenance | 811310 | | Home And Garden Equipment Repair And Maintenance | 811411 | | Appliance Repair And Maintenance | 811412 | | Reupholstery And Furniture Repair | 811420 | | Footwear And Leather Goods Repair | 811430 | | Other Personal And Household Goods Repair And Maintenance | 811490 | | Barber Shops | 812111 | | Beauty Salons | 812112 | | Nail Salons | 812113 | | Diet And Weight Reducing Centers | 812191 | | Other Personal Care Services | 812199 | | Funeral Homes And Funeral Services | 812210 | | Cemeteries And Crematories | 812220 | | Coin Operated Laundries And Drycleaners | 812310 | | Drycleaning And Laundry Services Except Coin Operated | 812320 | | Linen Supply | 812331 | | Industrial Launderers | 812332 | | Pet Care Except Veterinary Services | 812910 | | Photofinishing Laboratories Except One Hour | 812921 | | One Hour Photofinishing | 812922 | | Parking Lots And Garages | 812930 | | All Other Personal Services | 812990 | | Religious Organizations | 813110 | | Grantmaking Foundations | 813211 | | Voluntary Health Organizations | 813212 | | Other Grantmaking And Giving Services | 813219 | | Human Rights Organizations | 813311 | | Environment Conservation And Wildlife Organizations | 813312 | | Other Social Advocacy Organizations | 813319 | | Civic And Social Organizations | 813410 | | Business Associations | 813910 | | Professional Organizations | 813920 | | Labor Unions And Similar Labor Organizations | 813930 | | Political Organizations | 813940 | | Other Similar Organizations Except Business Professional Labor And Political Organizations | 813990 | | Private Households | 814110 | # Professional & Technical Services Source: https://docs.hifi.com/references/business-industries/professional-technical-services Reference table of professional and technical services industry codes and classifications. | Industry | Code | | :- | :- | | Offices Of Lawyers | 541110 | | Title Abstract And Settlement Offices | 541191 | | All Other Legal Services | 541199 | | Offices Of Certified Public Accountants | 541211 | | Tax Preparation Services | 541213 | | Payroll Services | 541214 | | Other Accounting Services | 541219 | | Architectural Services | 541310 | | Landscape Architectural Services | 541320 | | Engineering Services | 541330 | | Drafting Services | 541340 | | Building Inspection Services | 541350 | | Geophysical Surveying And Mapping Services | 541360 | | Surveying And Mapping Except Geophysical Services | 541370 | | Testing Laboratories And Services | 541380 | | Interior Design Services | 541410 | | Industrial Design Services | 541420 | | Graphic Design Services | 541430 | | Other Specialized Design Services | 541490 | | Custom Computer Programming Services | 541511 | | Computer Systems Design Services | 541512 | | Computer Facilities Management Services | 541513 | | Other Computer Related Services | 541519 | | Administrative Management And General Management Consulting Services | 541611 | | Human Resources Consulting Services | 541612 | | Marketing Consulting Services | 541613 | | Process Physical Distribution And Logistics Consulting Services | 541614 | | Other Management Consulting Services | 541618 | | Environmental Consulting Services | 541620 | | Other Scientific And Technical Consulting Services | 541690 | | Research And Development In Nanotechnology | 541713 | | Research And Development In Biotechnology Except Nanobiotechnology | 541714 | | Research And Development In The Physical Engineering And Life Sciences Except Nanotechnology And Biotechnology | 541715 | | Research And Development In The Social Sciences And Humanities | 541720 | | Advertising Agencies | 541810 | | Public Relations Agencies | 541820 | | Media Buying Agencies | 541830 | | Media Representatives | 541840 | | Indoor And Outdoor Display Advertising | 541850 | | Direct Mail Advertising | 541860 | | Advertising Material Distribution Services | 541870 | | Other Services Related To Advertising | 541890 | | Marketing Research And Public Opinion Polling | 541910 | | Photography Studios Portrait | 541921 | | Commercial Photography | 541922 | | Translation And Interpretation Services | 541930 | | Veterinary Services | 541940 | | All Other Professional Scientific And Technical Services | 541990 | | Offices Of Bank Holding Companies | 551111 | | Offices Of Other Holding Companies | 551112 | | Corporate Subsidiary And Regional Managing Offices | 551114 | # Public Administration Source: https://docs.hifi.com/references/business-industries/public-administration Reference table of public administration industry codes and classifications. | Industry | Code | | :- | :- | | Executive Offices | 921110 | | Legislative Bodies | 921120 | | Public Finance Activities | 921130 | | Executive And Legislative Offices Combined | 921140 | | American Indian And Alaska Native Tribal Governments | 921150 | | Other General Government Support | 921190 | | Courts | 922110 | | Police Protection | 922120 | | Legal Counsel And Prosecution | 922130 | | Correctional Institutions | 922140 | | Parole Offices And Probation Offices | 922150 | | Fire Protection | 922160 | | Other Justice Public Order And Safety Activities | 922190 | | Administration Of Education Programs | 923110 | | Administration Of Public Health Programs | 923120 | | Administration Of Human Resource Programs Except Education Public Health And Veterans Affairs Programs | 923130 | | Administration Of Veterans Affairs | 923140 | | Administration Of Air And Water Resource And Solid Waste Management Programs | 924110 | | Administration Of Conservation Programs | 924120 | | Administration Of Housing Programs | 925110 | | Administration Of Urban Planning And Community And Rural Development | 925120 | | Administration Of General Economic Programs | 926110 | | Regulation And Administration Of Transportation Programs | 926120 | | Regulation And Administration Of Communications Electric Gas And Other Utilities | 926130 | | Regulation Of Agricultural Marketing And Commodities | 926140 | | Regulation Licensing And Inspection Of Miscellaneous Commercial Sectors | 926150 | | Space Research And Technology | 927110 | | National Security | 928110 | | International Affairs | 928120 | # Real Estate & Leasing Source: https://docs.hifi.com/references/business-industries/real-estate-leasing Reference table of real estate and leasing industry codes and classifications. | Industry | Code | | :- | :- | | Lessors Of Residential Buildings And Dwellings | 531110 | | Lessors Of Nonresidential Buildings Except Miniwarehouses | 531120 | | Lessors Of Miniwarehouses And Self Storage Units | 531130 | | Lessors Of Other Real Estate Property | 531190 | | Offices Of Real Estate Agents And Brokers | 531210 | | Residential Property Managers | 531311 | | Nonresidential Property Managers | 531312 | | Offices Of Real Estate Appraisers | 531320 | | Other Activities Related To Real Estate | 531390 | | Passenger Car Rental | 532111 | | Passenger Car Leasing | 532112 | | Truck Utility Trailer And RV Recreational Vehicle Rental And Leasing | 532120 | | Consumer Electronics And Appliances Rental | 532210 | | Formal Wear And Costume Rental | 532281 | | Video Tape And Disc Rental | 532282 | | Home Health Equipment Rental | 532283 | | Recreational Goods Rental | 532284 | | All Other Consumer Goods Rental | 532289 | | General Rental Centers | 532310 | | Commercial Air Rail And Water Transportation Equipment Rental And Leasing | 532411 | | Construction Mining And Forestry Machinery And Equipment Rental And Leasing | 532412 | | Office Machinery And Equipment Rental And Leasing | 532420 | | Other Commercial And Industrial Machinery And Equipment Rental And Leasing | 532490 | | Lessors Of Nonfinancial Intangible Assets Except Copyrighted Works | 533110 | # Transportation & Logistics Source: https://docs.hifi.com/references/business-industries/transportation-logistics Reference table of transportation and logistics industry codes and classifications. | Industry | Code | | :- | :- | | Scheduled Passenger Air Transportation | 481111 | | Scheduled Freight Air Transportation | 481112 | | Nonscheduled Chartered Passenger Air Transportation | 481211 | | Nonscheduled Chartered Freight Air Transportation | 481212 | | Other Nonscheduled Air Transportation | 481219 | | Line Haul Railroads | 482111 | | Short Line Railroads | 482112 | | Deep Sea Freight Transportation | 483111 | | Deep Sea Passenger Transportation | 483112 | | Coastal And Great Lakes Freight Transportation | 483113 | | Coastal And Great Lakes Passenger Transportation | 483114 | | Inland Water Freight Transportation | 483211 | | Inland Water Passenger Transportation | 483212 | | General Freight Trucking Local | 484110 | | General Freight Trucking Long Distance Truckload | 484121 | | General Freight Trucking Long Distance Less Than Truckload | 484122 | | Used Household And Office Goods Moving | 484210 | | Specialized Freight Except Used Goods Trucking Local | 484220 | | Specialized Freight Except Used Goods Trucking Long Distance | 484230 | | Mixed Mode Transit Systems | 485111 | | Commuter Rail Systems | 485112 | | Bus And Other Motor Vehicle Transit Systems | 485113 | | Other Urban Transit Systems | 485119 | | Interurban And Rural Bus Transportation | 485210 | | Taxi And Ridesharing Services | 485310 | | Limousine Service | 485320 | | School And Employee Bus Transportation | 485410 | | Charter Bus Industry | 485510 | | Special Needs Transportation | 485991 | | All Other Transit And Ground Passenger Transportation | 485999 | | Pipeline Transportation Of Crude Oil | 486110 | | Pipeline Transportation Of Natural Gas | 486210 | | Pipeline Transportation Of Refined Petroleum Products | 486910 | | All Other Pipeline Transportation | 486990 | | Scenic And Sightseeing Transportation Land | 487110 | | Scenic And Sightseeing Transportation Water | 487210 | | Scenic And Sightseeing Transportation Other | 487990 | | Air Traffic Control | 488111 | | Other Airport Operations | 488119 | | Other Support Activities For Air Transportation | 488190 | | Support Activities For Rail Transportation | 488210 | | Port And Harbor Operations | 488310 | | Marine Cargo Handling | 488320 | | Navigational Services To Shipping | 488330 | | Other Support Activities For Water Transportation | 488390 | | Motor Vehicle Towing | 488410 | | Other Support Activities For Road Transportation | 488490 | | Freight Transportation Arrangement | 488510 | | Packing And Crating | 488991 | | All Other Support Activities For Transportation | 488999 | | Postal Service | 491110 | | Couriers And Express Delivery Services | 492110 | | Local Messengers And Local Delivery | 492210 | | General Warehousing And Storage | 493110 | | Refrigerated Warehousing And Storage | 493120 | | Farm Product Warehousing And Storage | 493130 | | Other Warehousing And Storage | 493190 | # Wholesale & Retail Trade Source: https://docs.hifi.com/references/business-industries/wholesale-retail-trade Reference table of wholesale and retail trade industry codes and classifications. | Industry | Code | | :- | :- | | Automobile And Other Motor Vehicle Merchant Wholesalers | 423110 | | Motor Vehicle Supplies And New Parts Merchant Wholesalers | 423120 | | Tire And Tube Merchant Wholesalers | 423130 | | Motor Vehicle Parts Used Merchant Wholesalers | 423140 | | Furniture Merchant Wholesalers | 423210 | | Home Furnishing Merchant Wholesalers | 423220 | | Lumber Plywood Millwork And Wood Panel Merchant Wholesalers | 423310 | | Brick Stone And Related Construction Material Merchant Wholesalers | 423320 | | Roofing Siding And Insulation Material Merchant Wholesalers | 423330 | | Other Construction Material Merchant Wholesalers | 423390 | | Photographic Equipment And Supplies Merchant Wholesalers | 423410 | | Office Equipment Merchant Wholesalers | 423420 | | Computer And Computer Peripheral Equipment And Software Merchant Wholesalers | 423430 | | Other Commercial Equipment Merchant Wholesalers | 423440 | | Medical Dental And Hospital Equipment And Supplies Merchant Wholesalers | 423450 | | Ophthalmic Goods Merchant Wholesalers | 423460 | | Other Professional Equipment And Supplies Merchant Wholesalers | 423490 | | Metal Service Centers And Other Metal Merchant Wholesalers | 423510 | | Coal And Other Mineral And Ore Merchant Wholesalers | 423520 | | Electrical Apparatus And Equipment Wiring Supplies And Related Equipment Merchant Wholesalers | 423610 | | Household Appliances Electric Housewares And Consumer Electronics Merchant Wholesalers | 423620 | | Other Electronic Parts And Equipment Merchant Wholesalers | 423690 | | Hardware Merchant Wholesalers | 423710 | | Plumbing And Heating Equipment And Supplies Hydronics Merchant Wholesalers | 423720 | | Warm Air Heating And Air Conditioning Equipment And Supplies Merchant Wholesalers | 423730 | | Refrigeration Equipment And Supplies Merchant Wholesalers | 423740 | | Construction And Mining Except Oil Well Machinery And Equipment Merchant Wholesalers | 423810 | | Farm And Garden Machinery And Equipment Merchant Wholesalers | 423820 | | Industrial Machinery And Equipment Merchant Wholesalers | 423830 | | Industrial Supplies Merchant Wholesalers | 423840 | | Service Establishment Equipment And Supplies Merchant Wholesalers | 423850 | | Transportation Equipment And Supplies Except Motor Vehicle Merchant Wholesalers | 423860 | | Sporting And Recreational Goods And Supplies Merchant Wholesalers | 423910 | | Toy And Hobby Goods And Supplies Merchant Wholesalers | 423920 | | Recyclable Material Merchant Wholesalers | 423930 | | Jewelry Watch Precious Stone And Precious Metal Merchant Wholesalers | 423940 | | Other Miscellaneous Durable Goods Merchant Wholesalers | 423990 | | Printing And Writing Paper Merchant Wholesalers | 424110 | | Stationery And Office Supplies Merchant Wholesalers | 424120 | | Industrial And Personal Service Paper Merchant Wholesalers | 424130 | | Drugs And Druggists Sundries Merchant Wholesalers | 424210 | | Piece Goods Notions And Other Dry Goods Merchant Wholesalers | 424310 | | Footwear Merchant Wholesalers | 424340 | | Clothing And Clothing Accessories Merchant Wholesalers | 424350 | | General Line Grocery Merchant Wholesalers | 424410 | | Packaged Frozen Food Merchant Wholesalers | 424420 | | Dairy Product Except Dried Or Canned Merchant Wholesalers | 424430 | | Poultry And Poultry Product Merchant Wholesalers | 424440 | | Confectionery Merchant Wholesalers | 424450 | | Fish And Seafood Merchant Wholesalers | 424460 | | Meat And Meat Product Merchant Wholesalers | 424470 | | Fresh Fruit And Vegetable Merchant Wholesalers | 424480 | | Other Grocery And Related Products Merchant Wholesalers | 424490 | | Grain And Field Bean Merchant Wholesalers | 424510 | | Livestock Merchant Wholesalers | 424520 | | Other Farm Product Raw Material Merchant Wholesalers | 424590 | | Plastics Materials And Basic Forms And Shapes Merchant Wholesalers | 424610 | | Other Chemical And Allied Products Merchant Wholesalers | 424690 | | Petroleum Bulk Stations And Terminals | 424710 | | Petroleum And Petroleum Products Merchant Wholesalers Except Bulk Stations And Terminals | 424720 | | Beer And Ale Merchant Wholesalers | 424810 | | Wine And Distilled Alcoholic Beverage Merchant Wholesalers | 424820 | | Farm Supplies Merchant Wholesalers | 424910 | | Book Periodical And Newspaper Merchant Wholesalers | 424920 | | Flower Nursery Stock And Florists Supplies Merchant Wholesalers | 424930 | | Tobacco Product And Electronic Cigarette Merchant Wholesalers | 424940 | | Paint Varnish And Supplies Merchant Wholesalers | 424950 | | Other Miscellaneous Nondurable Goods Merchant Wholesalers | 424990 | | Wholesale Trade Agents And Brokers | 425120 | | New Car Dealers | 441110 | | Used Car Dealers | 441120 | | Recreational Vehicle Dealers | 441210 | | Boat Dealers | 441222 | | Motorcycle ATV And All Other Motor Vehicle Dealers | 441227 | | Automotive Parts And Accessories Retailers | 441330 | | Tire Dealers | 441340 | | Home Centers | 444110 | | Paint And Wallpaper Retailers | 444120 | | Hardware Retailers | 444140 | | Other Building Material Dealers | 444180 | | Outdoor Power Equipment Retailers | 444230 | | Nursery Garden Center And Farm Supply Retailers | 444240 | | Supermarkets And Other Grocery Retailers Except Convenience Retailers | 445110 | | Convenience Retailers | 445131 | | Vending Machine Operators | 445132 | | Fruit And Vegetable Retailers | 445230 | | Meat Retailers | 445240 | | Fish And Seafood Retailers | 445250 | | Baked Goods Retailers | 445291 | | Confectionery And Nut Retailers | 445292 | | All Other Specialty Food Retailers | 445298 | | Beer Wine And Liquor Retailers | 445320 | | Furniture Retailers | 449110 | | Floor Covering Retailers | 449121 | | Window Treatment Retailers | 449122 | | All Other Home Furnishings Retailers | 449129 | | Electronics And Appliance Retailers | 449210 | | Mail Order Houses | 454113 | | Other Direct Selling Establishments | 454390 | | Department Stores | 455110 | | Warehouse Clubs And Supercenters | 455211 | | All Other General Merchandise Retailers | 455219 | | Pharmacies And Drug Retailers | 456110 | | Cosmetics Beauty Supplies And Perfume Retailers | 456120 | | Optical Goods Retailers | 456130 | | Food Health Supplement Retailers | 456191 | | All Other Health And Personal Care Retailers | 456199 | | Gasoline Stations With Convenience Stores | 457110 | | Other Gasoline Stations | 457120 | | Fuel Dealers | 457210 | | Clothing And Clothing Accessories Retailers | 458110 | | Shoe Retailers | 458210 | | Jewelry Retailers | 458310 | | Luggage And Leather Goods Retailers | 458320 | | Sporting Goods Retailers | 459110 | | Hobby Toy And Game Retailers | 459120 | | Sewing Needlework And Piece Goods Retailers | 459130 | | Musical Instrument And Supplies Retailers | 459140 | | Book Retailers And News Dealers | 459210 | | Florists | 459310 | | Office Supplies And Stationery Retailers | 459410 | | Gift Novelty And Souvenir Retailers | 459420 | | Used Merchandise Retailers | 459510 | | Pet And Pet Supplies Retailers | 459910 | | Art Dealers | 459920 | | Manufactured Mobile Home Dealers | 459930 | | Tobacco Electronic Cigarette And Other Smoking Supplies Retailers | 459991 | | All Other Miscellaneous Retailers | 459999 | # Currencies Source: https://docs.hifi.com/references/currencies With HIFI, you can convert fiat currencies into stablecoins and vice versa using various local payment methods. This page outlines supported currencies and payment methods across regions. ## Stablecoins > [card] > > | Currency | Ethereum | Polygon | Solana | Base | > | - | - | - | - | - | > | 🇺🇸 USDC | ✅ | ✅ | ✅ | ✅ | > | 🇺🇸 USDT | ✅ | ✅ | ✅ | ✅ | ## Onramps ### Americas > [card] > > | Currency | Country | Payment Method | > | - | - | - | > | 🇺🇸 USD | United States | ACH (Push), Wire, RTP | > [!NOTE] > > SWIFT and RTP are in development. ### Africa (Beta) > [card] > > | Currency | Country | Payment Method | > | - | - | - | > | 🇳🇬 NGN | Nigeria | Bank | > | 🇰🇪 KES | Kenya | Bank, Mobile Money | > | 🇸🇳 XOF | Senegal | Mobile Money | > | 🇷🇼 RWF | Rwanda | Bank, Mobile Money | > | 🇹🇿 TZS | Tanzania | Bank, Mobile Money | > | 🇿🇲 ZMW | Zambia | Mobile Money | > | 🇲🇼 MWK | Malawi | Mobile Money | > | 🇨🇲 XAF | Cameroon | Mobile Money | > | 🇿🇦 ZAR | South Africa | Bank | > | 🇧🇼 BWP | Botswana | Bank | > [!NOTE] > > Corridor coverage for these currencies is part of the [Africa Rail](/docs/rails/africa) (beta). ## Offramps ### Americas > [card] > > | Currency | Country | Payment Method | > | - | - | - | > | 🇺🇸 USD | United States | ACH, Wire, RTP | > | 🇧🇷 BRL | Brazil | PIX | > | 🇲🇽 MXN | Mexico | SPEI | > [!NOTE] > > SWIFT and RTP are in development. ### Europe > [card] > > | Currency | Region | Payment Method | > | - | - | - | > | 🇪🇺 EUR | SEPA countries | SEPA | ### Africa (Beta) > [card] > > | Currency | Country | Payment Method | > | - | - | - | > | 🇳🇬 NGN | Nigeria | Bank | > | 🇰🇪 KES | Kenya | Bank, Mobile Money | > | 🇸🇳 XOF | Senegal | Mobile Money | > | 🇷🇼 RWF | Rwanda | Bank, Mobile Money | > | 🇹🇿 TZS | Tanzania | Bank, Mobile Money | > | 🇿🇲 ZMW | Zambia | Mobile Money | > | 🇲🇼 MWK | Malawi | Mobile Money | > | 🇨🇲 XAF | Cameroon | Mobile Money | > | 🇿🇦 ZAR | South Africa | Bank | > | 🇧🇼 BWP | Botswana | Bank | > [!NOTE] > > Corridor coverage for these currencies is part of the [Africa Rail](/docs/rails/africa) (beta). ### Asia-Pacific > [card] > > | Currency | Country | Payment Method | > | - | - | - | > | 🇭🇰 USD | Hong Kong | SWIFT | > | 🇭🇰 HKD | Hong Kong | SWIFT, CHATS, FPS | > | 🇨🇳 USD | China | SWIFT | > | 🇨🇳 CNY | China | SWIFT | > | 🇸🇬 SGD | Singapore | SWIFT | > | 🇦🇪 AED | United Arab Emirate | SWIFT | # Export Categories Source: https://docs.hifi.com/references/export-categories Reference table listing export categories and their codes. | **Code** | **Category** | | :- | :- | | `00` | Other | | `01` | Safety equipment and gear | | `02` | Packaging, printing and consumables | | `03` | Adult products | | `04` | Pet supplies | | `05` | Kitchen and bathroom supplies | | `06` | Lighting devices | | `07` | Electrical products and spare parts | | `08` | Automobiles | | `09` | Mineral products | | `10` | E-cigarettes | | `11` | Forest products | | `12` | Fashion jewellery and accessories | | `13` | Construction materials | | `14` | Furniture | | `15` | Home furnishings | | `16` | Industrial materials, lab and scientific equipment | | `17` | Toys, sports, and hobby items | | `18` | Stationery and office supplies | | `19` | Apparel, shoes, handbags and accessories | | `20` | Medical devices and equipment | | `21` | Data servers, technical hardware and equipment | | `22` | Mobile phones, computers and computer accessories | | `23` | Electronic components, modules and accessories | | `24` | Wigs | | `25` | Auto parts, motorcycles and parts, other transport machinery and parts | | `26` | Food, beverage, condiments and groceries | | `27` | Beauty, cosmetics and personal care | | `28` | Gifts and crafts | | `29` | Metal and metallurgy-related products | | `30` | Household appliances and accessories | | `31` | Machinery and accessories | | `32` | Consumer electronics and accessories | | `33` | Daily necessities, garden tools and hardware tools | | `34` | Chemical products | | `35` | Home textiles | | `36` | Plastic and rubber products | | `37` | Hazardous chemicals (related to precursor chemicals) | | `38` | Logistics services | | `39` | Software services | | `40` | Advertising services | | `41` | Tea | # Identity Documents Source: https://docs.hifi.com/references/identity-documents Reference table of supported government-issued identity documents by country and document type. | Code | Name | DRIVERS | PASSPORT | ID_CARD | RESIDENCE_PERMIT | | :- | :- | :- | :- | :- | :- | | ABW | Aruba | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | AFG | Afghanistan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | AGO | Angola | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | AIA | Anguilla | `SINGLE_SIDE` | `SINGLE_SIDE` | | | | ALA | Åland Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ALB | Albania | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | AND | Andorra | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | `FRONT_SIDE` `BACK_SIDE` | | ARE | United Arab Emirates | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ARG | Argentina | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ARM | Armenia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ASM | American Samoa | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | | | ATA | Antarctica | | `SINGLE_SIDE` | | | | ATF | French Southern Territories | | `SINGLE_SIDE` | | | | ATG | Antigua and Barbuda | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | AUS | Australia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | AUT | Austria | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | AZE | Azerbaijan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BDI | Burundi | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | BEL | Belgium | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BEN | Benin | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BES | Bonaire, Sint Eustatius and Saba | | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BFA | Burkina Faso | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | BGD | Bangladesh | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BGR | Bulgaria | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BHR | Bahrain | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BHS | Bahamas | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BIH | Bosnia and Herzegovina | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BLM | Saint Barthélemy | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | BLR | Belarus | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | BLZ | Belize | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | BMU | Bermuda | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BOL | Bolivia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BRA | Brazil | `ANY` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BRB | Barbados | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | BRN | Brunei | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BTN | Bhutan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | BWA | Botswana | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | CAF | Central African Republic | `SINGLE_SIDE` | `SINGLE_SIDE` | | `FRONT_SIDE` `BACK_SIDE` | | CAN | Canada | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CCK | Cocos (Keeling) Islands | | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | CHE | Switzerland | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CHL | Chile | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CHN | China | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CIV | Côte d'Ivoire | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CMR | Cameroon | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | COD | Democratic Republic of the Congo | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | COG | Republic of the Congo | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | COK | Cook Islands | `SINGLE_SIDE` | `SINGLE_SIDE` | | | | COL | Colombia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | COM | Comoros | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | CPV | Cape Verde | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | CRI | Costa Rica | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CUB | Cuba | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CUW | Curaçao | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | CXR | Christmas Island | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | | | CYM | Cayman Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | | | CYP | Cyprus | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | CZE | Czech Republic | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | DEU | Germany | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | DJI | Djibouti | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | DMA | Dominica | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | DNK | Denmark | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | DOM | Dominican Republic | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | DZA | Algeria | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ECU | Ecuador | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | EGY | Egypt | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | ERI | Eritrea | | `SINGLE_SIDE` | `SINGLE_SIDE` | | | ESH | Western Sahara | | `SINGLE_SIDE` | | | | ESP | Spain | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | EST | Estonia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ETH | Ethiopia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | FIN | Finland | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | FJI | Fiji | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | FLK | Falkland Islands | | `SINGLE_SIDE` | | | | FRA | France | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | FRO | Faroe Islands | `SINGLE_SIDE` | `SINGLE_SIDE` | | | | FSM | Micronesia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | `FRONT_SIDE` `BACK_SIDE` | | GAB | Gabon | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GBR | United Kingdom | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GEO | Georgia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GGY | Guernsey | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | GHA | Ghana | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GIB | Gibraltar | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | GIN | Guinea | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | GLP | Guadeloupe | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GMB | Gambia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GNB | Guinea-Bissau | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GNQ | Equatorial Guinea | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GRC | Greece | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GRD | Grenada | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GRL | Greenland | `SINGLE_SIDE` | `SINGLE_SIDE` | | | | GTM | Guatemala | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GUF | French Guiana | | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | GUM | Guam | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | GUY | Guyana | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | HKG | Hong Kong | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | HMD | Heard Island and McDonald Islands | | `SINGLE_SIDE` | | | | HND | Honduras | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | HRV | Croatia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | HTI | Haiti | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | HUN | Hungary | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | IDN | Indonesia | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | IMN | Isle of Man | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | IND | India | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | IOT | British Indian Ocean Territory | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | IRL | Ireland | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | IRN | Iran | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | IRQ | Iraq | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ISL | Iceland | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ISR | Israel | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ITA | Italy | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | JAM | Jamaica | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | JEY | Jersey | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | JOR | Jordan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | JPN | Japan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KAZ | Kazakhstan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KEN | Kenya | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KGZ | Kyrgyzstan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KHM | Cambodia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KIR | Kiribati | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | KNA | Saint Kitts and Nevis | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KOR | South Korea | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | KWT | Kuwait | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LAO | Laos | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LBN | Lebanon | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LBR | Liberia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | LBY | Libya | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | LCA | Saint Lucia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | LIE | Liechtenstein | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LKA | Sri Lanka | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LSO | Lesotho | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | LTU | Lithuania | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LUX | Luxembourg | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | LVA | Latvia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MAC | Macao | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MAF | Saint Martin | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | MAR | Morocco | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MCO | Monaco | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MDA | Moldova | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MDG | Madagascar | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MDV | Maldives | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MEX | Mexico | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MHL | Marshall Islands | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MKD | North Macedonia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MLI | Mali | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | MLT | Malta | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MMR | Myanmar | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MNE | Montenegro | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MNG | Mongolia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MNP | Northern Mariana Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | MOZ | Mozambique | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MRT | Mauritania | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MSR | Montserrat | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | `FRONT_SIDE` `BACK_SIDE` | | MTQ | Martinique | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | MUS | Mauritius | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | MWI | Malawi | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MYS | Malaysia | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | MYT | Mayotte | | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | NAM | Namibia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NCL | New Caledonia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | NER | Niger | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NFK | Norfolk Island | | `SINGLE_SIDE` | | | | NGA | Nigeria | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NIC | Nicaragua | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NIU | Niue | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | NLD | Netherlands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NOR | Norway | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NPL | Nepal | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | NRU | Nauru | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | NZL | New Zealand | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | OMN | Oman | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PAK | Pakistan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PAN | Panama | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PCN | Pitcairn | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | PER | Peru | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PHL | Philippines | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PLW | Palau | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | PNG | Papua New Guinea | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | POL | Poland | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PRI | Puerto Rico | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | PRT | Portugal | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PRY | Paraguay | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | PSE | Palestine | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | PYF | French Polynesia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | QAT | Qatar | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | REU | Réunion | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | RKS | Kosovo | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ROU | Romania | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | RUS | Russia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | RWA | Rwanda | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SAU | Saudi Arabia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SDN | Sudan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SEN | Senegal | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SGP | Singapore | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SGS | South Georgia and the South Sandwich Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SHN | Saint Helena | | `SINGLE_SIDE` | | | | SJM | Svalbard and Jan Mayen | | `SINGLE_SIDE` | | | | SLB | Solomon Islands | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | SLE | Sierra Leone | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SLV | El Salvador | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SMR | San Marino | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SOM | Somalia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | SPM | Saint Pierre and Miquelon | | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SRB | Serbia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SSD | South Sudan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | STP | São Tomé and Príncipe | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SUR | Suriname | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SVK | Slovakia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SVN | Slovenia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SWE | Sweden | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | SWZ | Eswatini | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SXM | Sint Maarten | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | SYC | Seychelles | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | SYR | Syria | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | TCA | Turks and Caicos Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | TCD | Chad | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TGO | Togo | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | THA | Thailand | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TJK | Tajikistan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TKL | Tokelau | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | | | TKM | Turkmenistan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TLS | Timor-Leste | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | | TON | Tonga | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | TTO | Trinidad and Tobago | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TUN | Tunisia | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TUR | Turkey | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TUV | Tuvalu | `SINGLE_SIDE` | `SINGLE_SIDE` | | | | TWN | Taiwan | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | TZA | Tanzania | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | UGA | Uganda | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | UKR | Ukraine | `SINGLE_SIDE` | `ANY` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | UMI | United States Minor Outlying Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | URY | Uruguay | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | USA | United States | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | UZB | Uzbekistan | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | VAT | Vatican City | | `SINGLE_SIDE` | | | | VCT | Saint Vincent and the Grenadines | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | VEN | Venezuela | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | `SINGLE_SIDE` | | VGB | British Virgin Islands | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | VIR | United States Virgin Islands | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | VNM | Vietnam | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | VUT | Vanuatu | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | WLF | Wallis and Futuna | | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | WSM | Samoa | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | | YEM | Yemen | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | | ZAF | South Africa | | `SINGLE_SIDE` | `ANY` | `SINGLE_SIDE` | | ZMB | Zambia | `SINGLE_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | | ZWE | Zimbabwe | `FRONT_SIDE` `BACK_SIDE` | `SINGLE_SIDE` | `FRONT_SIDE` `BACK_SIDE` | `FRONT_SIDE` `BACK_SIDE` | # Individual Occupations Source: https://docs.hifi.com/references/occupations Reference table of supported occupation titles and codes for individuals. Useful for KYC and onboarding forms. | Occupation | Code | | :- | :- | | Accountant and auditor | 132011 | | Actor | 272011 | | Actuary | 152011 | | Acupuncturist | 291291 | | Adhesive bonding machine operator and tender | 519191 | | Administrative services manager | 113012 | | Advertising and promotions manager | 112011 | | Advertising sales agent | 413011 | | Aerospace engineer | 172011 | | Agent and business manager of artists, performers, and athletes | 131011 | | Agricultural and food science technician | 194010 | | Agricultural and food scientist | 191010 | | Agricultural engineer | 172021 | | Agricultural inspector | 452011 | | Air traffic controller and airfield operations specialist | 532020 | | Aircraft mechanic and service technician | 493011 | | Aircraft pilots and flight engineer | 532010 | | Aircraft structure, surfaces, rigging, and systems assembler | 512011 | | Ambulance driver and attendant, except emergency medical technician | 533011 | | Animal breeder | 452021 | | Animal caretaker | 392021 | | Animal control worker | 339011 | | Animal trainer | 392011 | | Architect, except landscape and naval | 171011 | | Architectural and civil drafter | 173011 | | Architectural and engineering manager | 119041 | | Archivist, curator, and museum technician | 254010 | | Artist and related worker | 271010 | | Astronomer and physicist | 192010 | | Athletes and sports competitor | 272021 | | Atmospheric and space scientist | 192021 | | Audiologist | 291181 | | Audiovisual equipment installer and repairer | 492097 | | Automotive body and related repairer | 493021 | | Automotive glass installer and repairer | 493022 | | Automotive service technician and mechanic | 493023 | | Avionics technician | 492091 | | Baggage porter, bellhop, and concierge | 396010 | | Bailiff | 333011 | | Baker | 513011 | | Barber | 395011 | | Bartender | 353011 | | Bill and account collector | 433011 | | Billing and posting clerk | 433021 | | Bioengineer and biomedical engineer | 172031 | | Biological scientist | 191020 | | Biological technician | 194021 | | Boilermaker | 472011 | | Bookkeeping, accounting, and auditing clerk | 433031 | | Brickmason, blockmason, and stonemason | 472020 | | Broadcast announcer and radio disc jockey | 273011 | | Broadcast, sound, and lighting technician | 274010 | | Brokerage clerk | 434011 | | Budget analyst | 132031 | | Bus and truck mechanic and diesel engine specialist | 493031 | | Business operations specialist, other | 131199 | | Butcher and other meat, poultry, and fish processing worker | 513020 | | Buyer and purchasing agent, farm products | 131021 | | Cabinetmaker and bench carpenter | 517011 | | Cardiovascular technologist and technician | 292031 | | Cargo and freight agent | 435011 | | Carpenter | 472031 | | Carpet, floor, and tile installer and finisher | 472040 | | Cashier | 412010 | | Cement mason, concrete finisher, and terrazzo worker | 472050 | | Chef and head cook | 351011 | | Chemical engineer | 172041 | | Chemical processing machine setter, operator, and tender | 519010 | | Chemical technician | 194031 | | Chemist and materials scientist | 192030 | | Chief executive | 111011 | | Child, family, and school social worker | 211021 | | Childcare worker | 399011 | | Chiropractor | 291011 | | Civil engineer | 172051 | | Claims adjuster, appraiser, examiner, and investigator | 131030 | | Cleaner of vehicles and equipment | 537061 | | Clergy | 212011 | | Clinical and counseling psychologist | 193033 | | Clinical laboratory technologist and technician | 292010 | | Coaches and scout | 272022 | | Coin, vending, and amusement machine servicer and repairer | 499091 | | Commercial and industrial designer | 271021 | | Commercial diver | 499092 | | Communications equipment operator, other | 432099 | | Compensation and benefits manager | 113111 | | Compensation, benefits, and job analysis specialist | 131141 | | Compliance officer | 131041 | | Computer and information research scientist | 151221 | | Computer and information systems manager | 113021 | | Computer hardware engineer | 172061 | | Computer network architect | 151241 | | Computer numerically controlled tool operator and programmer | 519160 | | Computer occupation, other | 151299 | | Computer programmer | 151251 | | Computer support specialist | 151230 | | Computer systems analyst | 151211 | | Computer, automated teller, and office machine repairer | 492011 | | Conservation scientist and forester | 191030 | | Construction and building inspector | 474011 | | Construction equipment operator | 472070 | | Construction laborer | 472061 | | Construction manager | 119021 | | Control and valve installer and repairer | 499010 | | Conveyor, dredge, and hoist and winch operator | 5370XX | | Cook | 352010 | | Correctional officer and jailer | 333012 | | Correspondence clerk | 434021 | | Cost estimator | 131051 | | Counselor, other | 211019 | | Counter and rental clerk | 412021 | | Courier and messenger | 435021 | | Court reporter and simultaneous captioner | 273092 | | Court, municipal, and license clerk | 434031 | | Crane and tower operator | 537021 | | Credit analyst | 132041 | | Credit authorizer, checker, and clerk | 434041 | | Credit counselor and loan officer | 132070 | | Crossing guard and flagger | 339091 | | Crushing, grinding, polishing, mixing, and blending worker | 519020 | | Customer service representative | 434051 | | Cutting worker | 519030 | | Cutting, punching, and press machine setter, operator, and tender, metal and plastic | 514031 | | Dancer and choreographer | 272030 | | Data labeler and data entry keyer | 439021 | | Database administrator and architect | 15124X | | Dental and ophthalmic laboratory technician and medical appliance technician | 519080 | | Dental assistant | 319091 | | Dental hygienist | 291292 | | Dentist | 291020 | | Derrick, rotary drill, and service unit operator, oil and gas | 475010 | | Desktop publisher | 439031 | | Detective and criminal investigator | 333021 | | Diagnostic medical sonographer | 292032 | | Dietetic technician and ophthalmic medical technician | 29205X | | Dietitian and nutritionist | 291031 | | Dining room and cafeteria attendant and bartender helper | 359011 | | Director, religious activities and education | 212021 | | Disc jockey, except radio | 272091 | | Dishwasher | 359021 | | Dispatcher, except police, fire, and ambulance | 435032 | | Door-to-door sales worker, news and street vendor, and related worker | 419091 | | Driver/sales worker and truck driver | 533030 | | Drywall installer, ceiling tile installer, and taper | 472080 | | Earth driller, except oil and gas | 475023 | | Economist | 193011 | | Editor | 273041 | | Education and childcare administrator | 119030 | | Educational, guidance, and career counselor and advisor | 211012 | | Electric motor, power tool, and related repairer | 492092 | | Electrical and electronic engineering technologist and technician | 173023 | | Electrical and electronics engineer | 172070 | | Electrical and electronics installer and repairer, transportation equipment | 492093 | | Electrical and electronics repairer, industrial and utility | 49209X | | Electrical power-line installer and repairer | 499051 | | Electrical, electronics, and electromechanical assembler | 512020 | | Electrician | 472111 | | Electronic equipment installer and repairer, motor vehicles | 492096 | | Elementary and middle school teacher | 252020 | | Elevator and escalator installer and repairer | 474021 | | Eligibility interviewer, government programs | 434061 | | Embalmer, crematory operator and funeral attendant | 3940XX | | Emergency management director | 119161 | | Emergency medical technician | 292042 | | Emergency medicine physician | 291214 | | Engine and other machine assembler | 512031 | | Engineer, other | 172199 | | Entertainer and performer, sports and related worker, other | 272099 | | Entertainment and recreation manager | 119070 | | Environmental engineer | 172081 | | Environmental science and geoscience technician | 194040 | | Environmental scientist and specialist, including health | 192041 | | Etcher and engraver | 519194 | | Excavating and loading machine and dragline operator, surface mining | 475022 | | Executive secretary and executive administrative assistant | 436011 | | Exercise physiologist | 291128 | | Exercise trainer and group fitness instructor | 399031 | | Explosives worker, ordnance handling expert, and blaster | 475032 | | Extruding, forming, pressing, and compacting machine setter, operator, and tender | 519041 | | Facilities manager | 113013 | | Farmer, rancher, and other agricultural manager | 119013 | | Fashion designer | 271022 | | Fast food and counter worker | 353023 | | Fence erector | 474031 | | File clerk | 434071 | | Financial and investment analyst | 132051 | | Financial clerk, other | 433099 | | Financial examiner | 132061 | | Financial manager | 113031 | | Fire inspector | 332020 | | Firefighter | 332011 | | First-line enlisted military supervisor | 552010 | | First-line supervisor of construction trades and extraction worker | 471011 | | First-line supervisor of correctional officer | 331011 | | First-line supervisor of farming, fishing, and forestry worker | 451011 | | First-line supervisor of firefighting and prevention worker | 331021 | | First-line supervisor of food preparation and serving workers | 351012 | | First-line supervisor of housekeeping and janitorial workers | 371011 | | First-line supervisor of landscaping, lawn service, and groundskeeping workers | 371012 | | First-line supervisor of mechanics, installers, and repairers | 491011 | | First-line supervisor of non-retail sales workers | 411012 | | First-line supervisor of office and administrative support workers | 431011 | | First-line supervisor of police and detective | 331012 | | First-line supervisor of production and operating worker | 511011 | | First-line supervisor of protective service worker, other | 331099 | | First-line supervisor of retail sales workers | 411011 | | First-line supervisor of security worker | 331091 | | Fish and game warden | 333031 | | Fishing and hunting worker | 453031 | | Flight attendant | 532031 | | Floral designer | 271023 | | Food and tobacco roasting, baking, and drying machine operator and tender | 513091 | | Food batchmaker | 513092 | | Food cooking machine operator and tender | 513093 | | Food preparation and serving related worker, other | 359099 | | Food preparation worker | 352021 | | Food processing worker, other | 513099 | | Food server, nonrestaurant | 353041 | | Food service manager | 119051 | | Forest and conservation worker | 454011 | | Forming machine setter, operator, and tender, metal and plastic | 514020 | | Fundraiser | 131131 | | Funeral home manager | 119171 | | Furnace, kiln, oven, drier, and kettle operator and tender | 519051 | | Furniture finisher | 517021 | | Gambling cage worker | 433041 | | Gambling services worker | 393010 | | General and operations manager | 111021 | | Geoscientist and hydrologist, except geographer | 19204X | | Glazier | 472121 | | Grader and sorter, agricultural product | 452041 | | Graphic designer | 271024 | | Grinding, lapping, polishing, and buffing machine tool setter, operator, and tender, metal and plastic | 514033 | | Hairdresser, hairstylist, and cosmetologist | 395012 | | Hazardous materials removal worker | 474041 | | Healthcare diagnosing or treating practitioner, other | 291299 | | Healthcare social worker | 211022 | | Heating, air conditioning, and refrigeration mechanic and installer | 499021 | | Heavy vehicle and mobile equipment service technician and mechanic | 493040 | | Helper--installation, maintenance, and repair worker | 499098 | | Helper--production worker | 519198 | | Helper, construction trade | 473010 | | Highway maintenance worker | 474051 | | Home appliance repairer | 499031 | | Home health aide | 311121 | | Host and hostess, restaurant, lounge, and coffee shop | 359031 | | Hotel, motel, and resort desk clerk | 434081 | | Human resources assistant, except payroll and timekeeping | 434161 | | Human resources manager | 113121 | | Human resources worker | 131070 | | Industrial and refractory machinery mechanic | 49904X | | Industrial engineer, including health and safety | 172110 | | Industrial production manager | 113051 | | Industrial truck and tractor operator | 537051 | | Information and record clerk, other | 434199 | | Information security analyst | 151212 | | Inspector, tester, sorter, sampler, and weigher | 519061 | | Insulation worker | 472130 | | Insurance claims and policy processing clerk | 439041 | | Insurance sales agent | 413021 | | Insurance underwriter | 132053 | | Interior designer | 271025 | | Interpreter and translator | 273091 | | Interviewer, except eligibility and loan | 434111 | | Janitor and building cleaner | 37201X | | Jeweler and precious stone and metal worker | 519071 | | Judge, magistrate, and other judicial worker | 231020 | | Judicial law clerk | 231012 | | Laborer and freight, stock, and material mover, hand | 537062 | | Landscape architect | 171012 | | Landscaping and groundskeeping worker | 373011 | | Laundry and dry-cleaning worker | 516011 | | Lawyer | 231011 | | Legal secretary and administrative assistant | 436012 | | Legal support worker, other | 232099 | | Legislator | 111031 | | Librarian and media collections specialist | 254022 | | Library assistant, clerical | 434121 | | Library technician | 254031 | | Licensed practical and licensed vocational nurse | 292061 | | Life scientist, other | 191099 | | Loan interviewer and clerk | 434131 | | Locksmith and safe repairer | 499094 | | Locomotive engineer and operator | 534010 | | Lodging manager | 119081 | | Logging worker | 454020 | | Logistician | 131081 | | Machine feeder and offbearer | 537063 | | Machinist | 514041 | | Magnetic resonance imaging technologist | 292035 | | Maids and housekeeping cleaner | 372012 | | Mail clerk and mail machine operator, except postal service | 439051 | | Maintenance and repair worker, general | 499071 | | Maintenance worker, machinery | 499043 | | Management analyst | 131111 | | Manager, other | 119199 | | Manicurist and pedicurist | 395092 | | Manufactured building and mobile home installer | 499095 | | Marine engineer and naval architect | 172121 | | Market research analyst and marketing specialist | 131161 | | Marketing manager | 112021 | | Marriage and family therapist | 211013 | | Massage therapist | 319011 | | Materials engineer | 172131 | | Mathematician | 152021 | | Mechanical engineer | 172141 | | Media and communication equipment worker, other | 274099 | | Media and communication worker, other | 273099 | | Medical and health services manager | 119111 | | Medical assistant | 319092 | | Medical records specialist | 292072 | | Medical scientist | 191040 | | Medical secretary and administrative assistant | 436013 | | Medical transcriptionist | 319094 | | Meeting, convention, and event planner | 131121 | | Mental health and substance abuse social worker | 211023 | | Mental health counselor | 211014 | | Merchandise displayer and window trimmer | 271026 | | Metal furnace operator, tender, pourer, and caster | 514050 | | Meter reader, utilities | 435041 | | Military enlisted tactical operations and air/weapons specialist and crew member | 553010 | | Military officer special and tactical operations leader | 551010 | | Military, rank not specified | 554010 | | Millwright | 499044 | | Mining and geological engineer, including mining safety engineer | 172151 | | Miscellaneous agricultural worker | 452090 | | Miscellaneous construction and related worker | 474090 | | Miscellaneous health technologist and technician | 292090 | | Miscellaneous plant and system operator | 518090 | | Miscellaneous social scientist and related worker | 193090 | | Miscellaneous vehicle and mobile equipment mechanic, installer, and repairer | 493090 | | Model maker and patternmaker, metal and plastic | 514060 | | Model, demonstrator, and product promoter | 419010 | | Molder and molding machine setter, operator, and tender, metal and plastic | 514070 | | Molder, shaper, and caster, except metal and plastic | 519195 | | Mortician, undertaker, and funeral arranger | 394031 | | Motor vehicle operator, other | 533099 | | Music director and composer | 272041 | | Musician and singer | 272042 | | Natural sciences manager | 119121 | | Network and computer systems administrator | 151244 | | New accounts clerk | 434141 | | News analyst, reporter, and journalist | 273023 | | Nuclear engineer | 172161 | | Nuclear medicine technologist and medical dosimetrist | 29203X | | Nuclear technician | 194051 | | Nurse anesthetist | 291151 | | Nurse midwife | 291161 | | Nurse practitioner | 291171 | | Nursing assistant | 311131 | | Occupational health and safety specialist and technician | 195010 | | Occupational therapist | 291122 | | Occupational therapy assistant and aide | 312010 | | Office and administrative support worker, other | 439199 | | Office clerk, general | 439061 | | Office machine operator, except computer | 439071 | | Operations research analyst | 152031 | | Optician, dispensing | 292081 | | Optometrist | 291041 | | Order clerk | 434151 | | Orderly and psychiatric aide | 31113X | | Other assembler and fabricator | 5120XX | | Other community and social service specialist | 21109X | | Other designer | 27102X | | Other drafter | 17301X | | Other educational instruction and library worker | 2590XX | | Other engineering technologist and technician | 17302X | | Other entertainment attendant and related worker | 3930XX | | Other extraction worker | 4750XX | | Other financial specialist | 1320XX | | Other grounds maintenance worker | 37301X | | Other healthcare practitioner and technical occupation | 299000 | | Other healthcare support worker | 31909X | | Other installation, maintenance, and repair worker | 49909X | | Other life, physical, and social science technician | 1940XX | | Other machine tool setter, operator, and tender, metal and plastic | 51403X | | Other material moving worker | 5371XX | | Other mathematical science occupation | 1520XX | | Other metal worker and plastic worker | 514XXX | | Other personal appearance worker | 39509X | | Other physician | 2912XX | | Other production equipment operator and tender | 51919X | | Other production worker | 5191XX | | Other protective service worker | 33909X | | Other psychologist | 19303X | | Other rail transportation worker | 5340XX | | Other teacher and instructor | 2530XX | | Other textile, apparel, and furnishings worker | 51609X | | Other transportation worker | 5360XX | | Other woodworker | 5170XX | | Packaging and filling machine operator and tender | 519111 | | Packer and packager, hand | 537064 | | Painter and paperhanger | 472140 | | Painting worker | 519120 | | Paper goods machine setter, operator, and tender | 519196 | | Paralegal and legal assistant | 232011 | | Paramedic | 292043 | | Parking attendant | 536021 | | Parking enforcement worker | 333041 | | Parts salesperson | 412022 | | Passenger attendant | 536061 | | Payroll and timekeeping clerk | 433051 | | Personal care and service worker, other | 399099 | | Personal financial advisor | 132052 | | Personal service manager, other | 119179 | | Pest control worker | 372021 | | Petroleum engineer | 172171 | | Pharmacist | 291051 | | Pharmacy aide | 319095 | | Pharmacy technician | 292052 | | Phlebotomist | 319097 | | Photographer | 274021 | | Photographic process worker and processing machine operator | 519151 | | Physical scientist, other | 192099 | | Physical therapist | 291123 | | Physical therapist assistant and aide | 312020 | | Physician assistant | 291071 | | Pipelayer | 472151 | | Plasterer and stucco mason | 472161 | | Plumber, pipefitter, and steamfitter | 472152 | | Podiatrist | 291081 | | Police officer | 333050 | | Postal service clerk | 435051 | | Postal service mail carrier | 435052 | | Postal service mail sorter, processor, and processing machine operator | 435053 | | Postmaster and mail superintendent | 119131 | | Postsecondary teacher | 251000 | | Power plant operator, distributor, and dispatcher | 518010 | | Precision instrument and equipment repairer | 499060 | | Prepress technician and worker | 515111 | | Preschool and kindergarten teacher | 252010 | | Presser, textile, garment, and related material | 516021 | | Print binding and finishing worker | 515113 | | Printing press operator | 515112 | | Private detective and investigator | 339021 | | Probation officer and correctional treatment specialist | 211092 | | Procurement clerk | 433061 | | Producer and director | 272012 | | Production, planning, and expediting clerk | 435061 | | Project management specialist | 131082 | | Proofreader and copy marker | 439081 | | Property appraiser and assessor | 132020 | | Property, real estate, and community association manager | 119141 | | Psychiatric technician | 292053 | | Public relations and fundraising manager | 112030 | | Public relations specialist | 273031 | | Public safety telecommunicator | 435031 | | Pumping station operator | 537070 | | Purchasing agent, except wholesale, retail, and farm products | 131023 | | Purchasing manager | 113061 | | Radiation therapist | 291124 | | Radio and telecommunications equipment installer and repairer | 492020 | | Radiologic technologist and technician | 292034 | | Radiologist | 291224 | | Rail-track laying and maintenance equipment operator | 474061 | | Railroad conductor and yardmaster | 534031 | | Real estate broker and sales agent | 419020 | | Receptionist and information clerk | 434171 | | Recreation worker | 399032 | | Recreational therapist | 291125 | | Refuse and recyclable material collector | 537081 | | Registered nurse | 291141 | | Rehabilitation counselor | 211015 | | Reinforcing iron and rebar worker | 472171 | | Religious worker, other | 212099 | | Reservation and transportation ticket agent and travel clerk | 434181 | | Residential advisor | 399041 | | Respiratory therapist | 291126 | | Retail salesperson | 412031 | | Rigger | 499096 | | Roofer | 472181 | | Roustabout, oil and gas | 475071 | | Sailor and marine oiler | 535011 | | Sales and related worker, other | 419099 | | Sales engineer | 419031 | | Sales manager | 112022 | | Sales representative of services, except advertising, insurance, financial services, and travel | 413091 | | Sales representatives, wholesale and manufacturing | 414010 | | Sawing machine setter, operator, and tender, wood | 517041 | | School bus driver | 533051 | | School bus monitor | 339094 | | School psychologist | 193034 | | Secondary school teacher | 252030 | | Secretary and administrative assistant, except legal, medical, and executive | 436014 | | Securities, commodities, and financial services sales agent | 413031 | | Security and fire alarm systems installer | 492098 | | Security guard and gambling surveillance officer | 339030 | | Septic tank servicer and sewer pipe cleaner | 474071 | | Sewing machine operator | 516031 | | Sheet metal worker | 472211 | | Ship and boat captain and operator | 535020 | | Ship engineer | 535031 | | Shipping, receiving, and inventory clerk | 435071 | | Shoe and leather worker | 516040 | | Shuttle driver and chauffeur | 533053 | | Skincare specialist | 395094 | | Small engine mechanic | 493050 | | Social and community service manager | 119151 | | Social and human service assistant | 211093 | | Social science research assistant | 194061 | | Social worker, other | 211029 | | Sociologist | 193041 | | Software developer | 151252 | | Software quality assurance analyst and tester | 151253 | | Solar photovoltaic installer | 472231 | | Special education teacher | 252050 | | Speech-language pathologist | 291127 | | Stationary engineer and boiler operator | 518021 | | Statistical assistant | 439111 | | Statistician | 152041 | | Stocker and order filler | 537065 | | Structural iron and steel worker | 472221 | | Structural metal fabricator and fitter | 512041 | | Substance abuse and behavioral disorder counselor | 211011 | | Supervisor of personal care and service worker | 391000 | | Supervisor of transportation and material moving worker | 531000 | | Surgeon | 291240 | | Surgical technologist | 292055 | | Survey researcher | 193022 | | Surveying and mapping technician | 173031 | | Surveyor, cartographer, and photogrammetrist | 171020 | | Switchboard operator, including answering service | 432011 | | Tailor, dressmaker, and sewer | 516050 | | Tax examiner and collector, and revenue agent | 132081 | | Tax preparer | 132082 | | Taxi driver | 533054 | | Teaching assistant | 259040 | | Technical writer | 273042 | | Telecommunications line installer and repairer | 499052 | | Telemarketer | 419041 | | Telephone operator | 432021 | | Television, video, and film camera operator and editor | 274030 | | Teller | 433071 | | Textile machine setter, operator, and tender | 516060 | | Therapist, other | 291129 | | Tire builder | 519197 | | Title examiner, abstractor, and searcher | 232093 | | Tool and die maker | 514111 | | Tour and travel guide | 397010 | | Training and development manager | 113131 | | Training and development specialist | 131151 | | Transit and intercity bus driver | 533052 | | Transportation inspector | 536051 | | Transportation security screener | 339093 | | Transportation service attendant | 536030 | | Transportation, storage, and distribution manager | 113071 | | Travel agent | 413041 | | Tree trimmer and pruner | 373013 | | Tutor | 253041 | | Umpire, referee, and other sports official | 272023 | | Underground mining machine operator | 475040 | | Unemployed, with no work experience in the last 5 years or earlier or never worked | 999999 | | Upholsterer | 516093 | | Urban and regional planner | 193051 | | Usher, lobby attendant, and ticket taker | 393031 | | Veterinarian | 291131 | | Veterinary assistant and laboratory animal caretaker | 319096 | | Veterinary technologist and technician | 292056 | | Waiter or waitress | 353031 | | Water and wastewater treatment plant and system operator | 518031 | | Web and digital interface designer | 151255 | | Web developer | 151254 | | Weigher, measurer, checker, and sampler, recordkeeping | 435111 | | Welding, soldering, and brazing worker | 514120 | | Wholesale and retail buyer, except farm products | 131022 | | Wind turbine service technician | 499081 | | Woodworking machine setter, operator, and tender, except sawing | 517042 | | Word processor and typist | 439022 | | Writer and author | 273043 | # Metrics Source: https://docs.hifi.com/reporting/metrics Track transaction volume, activity patterns, and user growth with configurable metrics. Build custom views using templates, apply filters, and break down data by dimensions like transaction type or user. ## Core Concepts **Metric Templates** define what you're measuring—gross volume, transaction counts, or new users. **Saved Metrics** are optional—use them to persist configurations for recurring queries or create custom metrics for specific use cases. **Breakdowns** split metrics into groups (by transaction type, status, or user) for deeper analysis. ## Available Metric Types > [accordion] Gross Volume > > Measure total transaction value over time. Returns volume in original currency and USD equivalent. > > **Common uses:** > > * Track daily, weekly, or monthly payment volume > * Monitor revenue trends > * Compare volume across transaction types > [accordion] Transaction Count > > Count the number of transactions within a period. > > **Common uses:** > > * Measure transaction activity > * Calculate success rates by status > * Track user-specific transaction patterns > [accordion] New Users > > Count users acquired within a time period. > > **Common uses:** > > * Monitor user acquisition > * Track onboarding velocity > * Measure growth by period ## Quick Start 1. **List templates** - See available metric types and their breakdown options 2. **Preview metrics** - Test queries without saving using the preview endpoint 3. **Save metrics** (optional) - Persist configurations for recurring queries 4. **Query results** - Retrieve data from saved metrics or preview endpoints > [!NOTE] > > For detailed examples and step-by-step guides, see the [Reporting > Guide](/guides/reporting). ## Configuration Options > [accordion] Date Range > > Every metric requires a date range using ISO 8601 format (YYYY-MM-DD). Available parameters vary by template—check the template response for supported params. > [accordion] Calculation Interval > > Choose how to aggregate data over time: `day`, `week`, or `month`. Daily > aggregation returns one row per period in your date range. > [accordion] Filters > > Narrow results to specific subsets by users, transaction types, or transaction > statuses. Available filters depend on the template. > [accordion] Breakdowns > > Split metrics by dimensions for comparison: `transactionType`, `transactionStatus`, or `userId`. Without breakdowns, you get one row per time period. With breakdowns, you get multiple rows per period—one for each unique combination of breakdown values. > > > [!NOTE] > > > > Check each template's `breakdownOptions` field. NEW_USERS doesn't support breakdowns. ## Common Use Cases * **Track volume by transaction type** - Separate volume numbers for onramps and offramps * **Monitor specific user activity** - Transaction counts for specific users, broken down by success/failure * **Measure user acquisition** - New user count over time periods > [!NOTE] > > See the [Reporting Guide](/guides/reporting) for detailed examples with code > samples. ## Managing Saved Metrics Create, view, update, and delete saved metrics using the Metrics API endpoints. Saved metrics persist your configuration for recurring queries or custom user-specific metrics. ## Best Practices **Use preview to experiment.** The preview endpoint lets you try any metric without saving. Test different parameters and breakdowns to find what works. **Save only when needed.** Create saved metrics for recurring queries or custom user-specific metrics. Most one-off queries work fine with preview. **Start simple.** Begin with basic metrics (no filters, no breakdowns) then add complexity as needed. **Choose appropriate intervals.** Daily intervals give granular data but can be overwhelming for long periods. Monthly or quarterly intervals work better for high-level trends. **Use breakdowns strategically.** Each breakdown dimension multiplies your result rows. Combine `transactionType` and `transactionStatus` breakdowns carefully—you'll get rows for every combination. **Check template parameters.** Available parameters vary by template. Review the template response to see what filters and options each metric supports. ## Dashboard Access View and analyze metrics visually in the HIFI Dashboard: * Create charts and graphs * Build custom dashboards * Schedule automated reports * Export to CSV Access the Metrics section in your Dashboard. ## Get Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Join our shared channel ## Related Resources * [Reporting Guide](/guides/reporting) — Detailed examples and code samples * [API Reference: Metrics](/api-reference/reporting) — Complete endpoint specs * [Transactions](/transactions) — Understanding transaction types and statuses * [Users](/users) — User management # Sandbox Source: https://docs.hifi.com/sandbox Our sandbox environment provides a safe testing space to integrate our APIs. All transactions are simulated and hold no real-world value. ## Getting started ### Generate a sandbox API key 1. **Request Access** - Visit [hifi.com/contact](https://www.hifi.com/contact?utm_source=docs\&utm_medium=referral\&utm_campaign=request_access) to schedule a call with our team and get onboarded. 2. **Navigate to API Keys** - Once approved, go to the Developer Dashboard 3. **Create New Key** - Click the "New API Key" button under Sandbox > [!WARNING] > > Keep your sandbox API key secure and never commit it to version control. Use environment variables to store API keys in your applications. ### Sandbox Base URL All sandbox API requests should be made to: ``` https://sandbox.hifibridge.com/v2/ ``` **Example request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/ping" \ -H "Authorization: Bearer YOUR_SANDBOX_API_KEY" ``` *** ## Sandbox vs Production The sandbox environment is designed to simulate production behavior while providing a safe testing environment: | Feature | Sandbox | Production | | :- | :- | :- | | **API Base URL** | `https://sandbox.hifibridge.com` | `https://production.hifibridge.com` | | **KYC Processing** | Auto-approved | Real-world compliance checks | | **Blockchain** | Testnet | Mainnet | | **Tokens** | No real value | Real cryptocurrency | ### Automated KYC Approval In sandbox, the KYC process is streamlined for testing: * **Typically Auto-Approved** - KYC submissions are usually approved within minutes * **Compliance Checks Still Apply** - Some compliance checks (like PEP screening) may still block approval even in sandbox * **Dummy Data** - Use any test personal information and documents > [!WARNING] > > While KYC is typically auto-approved in sandbox, certain compliance checks may still block approval. For example, PEP (Politically Exposed Person) screening can prevent sandbox users from unlocking rails even in the test environment. > [!NOTE] > > In production, KYC applications undergo real compliance review ### Simulated Transactions All money movement in sandbox is simulated: * **Virtual Deposits** - Use an endpoint to mimic bank deposits * **Testnet Token** - Transaction uses testnet tokens and is processed on a testnet network * **Testnet Wallets** - All wallet addresses are on blockchain testnets ### Simulated Failures and Returns Failures and returns can be forced in sandbox, following the same statuses and webhooks as a real one: * **Forced outcomes** - Pass `sandboxScenario` when creating an offramp (`CRYPTO_FAILED`, `FIAT_FAILED`, or `COMPLETED`), or when simulating the deposit that creates an onramp (`FIAT_FAILED` or `COMPLETED`) * **Automatic returns** - Every forced outcome resolves to its true terminal status 3 minutes later: `CRYPTO_RETURNED` for offramps, `FIAT_RETURNED` for onramps. No follow-up call is needed See [Magic values](/features/magic-values/overview) for every value you can pass and the outcome each one forces, including KYC. > [!WARNING] > > `sandboxScenario` is rejected with a `400` in production, and the simulate-deposit endpoint does not exist there. *** ## Transitioning to production When you're ready to move from sandbox to production: 1. **Generate production API keys** in the dashboard 2. **Update your base URL** from `sandbox.hifibridge.com` to `production.hifibridge.com` 3. **Update API keys** in your environment variables 4. **Remove simulation calls** - Delete any simulate-deposit endpoint usage, and drop `sandboxScenario` from offramp and simulate-deposit requests 5. **Enable real KYC** - Provide real user information and documents 6. **Test thoroughly** - Start with small transactions before scaling > [!WARNING] > > Never use sandbox API keys in production or production keys in sandbox. They are environment-specific and won't work cross-environment. *** ## Getting help If you encounter issues or have suggestions for improving the sandbox experience: * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel > [!NOTE] > > The sandbox environment is continuously updated to reflect production changes. If you notice discrepancies between sandbox and production behavior, please let us know. # Bridging Source: https://docs.hifi.com/transactions/bridging Bridging transfers stablecoins across different blockchain networks. Move assets from one chain to another, such as transferring USDC from Ethereum to Polygon or Solana. ## How Bridging Works Bridging follows a straightforward process: **1. Create bridge request** Specify source chain, destination chain, and amount to bridge. **2. Processing** HIFI executes the cross-chain operations (burn on source, mint on destination). **3. Completion** Stablecoins arrive on the destination chain. ## Creating Bridge Requests Use the [Create Bridge](https://docs.hifi.com/api-reference/bridge/create-a-bridge) endpoint to initiate a cross-chain transfer. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", "amount": 10, "source": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdc" }, "destination": { "userId": "usr_abc123", "chain": "ETHEREUM", "currency": "usdc" } }' ``` The response contains the bridge request details: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.BRIDGE", > "transferDetails": { > "id": "brg_abc123", > "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", > "createdAt": "2025-02-24T17:44:54.781519+00:00", > "updatedAt": "2025-02-24T17:44:54.781519+00:00", > "amount": 10, > "status": "CREATED", > "source": { > "userId": "usr_abc123", > "walletAddress": "0xE9cfBf1D690565579D823264170eE357f80e9A34", > "chain": "POLYGON", > "currency": "usdc" > }, > "destination": { > "userId": "usr_abc123", > "walletAddress": "0x17f043FB0a39334641beD627551AC095941157B0", > "chain": "ETHEREUM", > "currency": "usdc" > }, > "receipt": { > "transactionHash": null, > "operations": { > "mint": null, > "burn": null, > "approve": null > } > }, > "failedReason": null, > "quoteInformation": { > "sendGross": { > "amount": "10.00", > "currency": "usdc" > }, > "sendNet": { > "amount": "10.00", > "currency": "usdc" > }, > "receiveGross": { > "amount": "10.00", > "currency": "usdc" > }, > "receiveNet": { > "amount": "10.00", > "currency": "usdc" > }, > "rate": "1", > "railFee": { > "amount": "0", > "currency": "usdc" > } > } > } > } > ``` **transferDetails.id** `string` Unique bridge ID. Use this to check status using the [Retrieve Bridge](https://docs.hifi.com/api-reference/cross-chain-bridge/retrieve-a-bridging-request) endpoint. **transferDetails.status** `string` Bridge status. Progression: `CREATED` → `SOURCE_INITIATED` → `SOURCE_PROCESSED` → `DESTINATION_INITIATED` → `COMPLETED`. See [Transaction Status](#transaction-status) for details. **transferDetails.source** `object` Source chain details including wallet address, chain, and currency. **transferDetails.destination** `object` Destination chain details including wallet address, chain, and currency. **transferDetails.amount** `number` Amount being bridged in the specified currency. **transferDetails.quoteInformation** `object` Bridge quote details including amounts and rate. For same-asset bridges, the rate is always "1". **transferDetails.receipt** `object` Transaction receipt. Contains `transactionHash` and `operations` (approve, burn, mint) once bridge operations are executed on-chain. > [!NOTE] > > For detailed field documentation, see the [Create > Bridge](https://docs.hifi.com/api-reference/bridge/create-a-bridge) API > reference. ## Transaction Status Bridge transactions progress through several phases: ### Source Chain Phase | Status | Description | | :- | :- | | **CREATED** | Bridge request created and awaiting processing | | **SOURCE_INITIATED** | Burning tokens on source chain | | **SOURCE_PENDING** | Waiting for source chain confirmation | | **SOURCE_PROCESSED** | Tokens successfully burned on source chain | | **SOURCE_FAILED** | Source chain operation failed | ### Destination Chain Phase | Status | Description | | :- | :- | | **DESTINATION_INITIATED** | Minting tokens on destination chain | | **DESTINATION_PENDING** | Waiting for destination chain confirmation | | **COMPLETED** | Tokens successfully minted on destination chain | | **DESTINATION_FAILED** | Destination chain operation failed | ### Other Statuses | Status | Description | | :- | :- | | **NOT_INITIATED** | Bridge not submitted due to validation error | | **QUOTE_FAILED** | Quote expired (bridges typically don't use quotes) | | **UNKNOWN** | Status could not be determined | ## Tracking Bridges > [!NOTE] > > **Status Updates:** Subscribe to `WALLET.BRIDGE.CREATE` and > `WALLET.BRIDGE.UPDATE` webhook events to receive real-time status > notifications. See [Webhooks](/docs/webhooks) for setup instructions. Monitor bridge status using the [Retrieve Bridge](https://docs.hifi.com/api-reference/bridge/retrieve-a-bridge) endpoint. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/wallets/bridges/brg_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` When the bridge is completed, the response includes all operation hashes: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.BRIDGE", > "transferDetails": { > "id": "brg_abc123", > "status": "COMPLETED", > "receipt": { > "transactionHash": "0x17f043FB0a39334641beD627551AC095941157B0", > "operations": { > "mint": { > "transactionHash": "0x5784890f9efd0160e9401439a5cf2aa5350580ecf48f9ca2af617338ae089e53", > "userOpHash": "0xef7bdb071b1fcfb5df629bd4d27ffa6dc32d0a5df676f26fb8c25311df1185ac", > "chain": "ETHEREUM" > }, > "burn": { > "transactionHash": "0x8a95b01e9fed0270f0512550b6dg3bb6461691fdg59i0db3bg728449bf19017d", > "userOpHash": "0xgh8cec182c2gdhgi6eg740c5e38gib7ed43e1b6eg787g37gc9d36412eg2296bd", > "chain": "POLYGON" > }, > "approve": { > "transactionHash": "0x7j84j90h8hfe0160h8291228j4dg2jj4239469hd38h8dj1jg516227228jh078h42", > "userOpHash": "0xij7iji061i1hidhj5ii518ij3i27iih5id22i0j4ii575i25hj7c15300ii1074ji", > "chain": "POLYGON" > } > } > } > } > } > ``` **transferDetails.status** `string` Bridge status. `COMPLETED` means tokens have been successfully minted on the destination chain. **transferDetails.receipt.operations** `object` Blockchain operations that were executed during the bridge. Each operation (approve, burn, mint) contains `transactionHash`, `userOpHash`, and `chain` for verification on block explorers. ## Bridge Operations Bridging involves three blockchain operations tracked in the `receipt.operations` object: | Operation | Description | Chain | | :- | :- | :- | | **Approve** | Authorizes bridge contract to spend your tokens | Source chain | | **Burn** | Destroys tokens on the source chain | Source chain | | **Mint** | Creates equivalent tokens on the destination chain | Destination | Each operation includes: * `transactionHash` - Blockchain transaction hash (view on block explorer) * `userOpHash` - User operation hash for account abstraction wallets * `chain` - Which blockchain the operation occurred on > [!NOTE] > > **Processing Time:** Bridge operations typically complete within 2-5 minutes > depending on network congestion. Use the transaction hashes to track progress > on block explorers. ## Supported Routes Currently supported bridging routes: | Source Chain | Destination Chains | | :- | :- | | **Polygon** | Ethereum, Base, Optimism, Arbitrum, Solana | | **Ethereum** | Polygon, Base, Optimism, Arbitrum, Solana | | **Solana** | Polygon, Ethereum, Base, Optimism, Arbitrum | | **Base** | Polygon, Ethereum, Solana, Optimism, Arbitrum | | **Optimism** | Polygon, Ethereum, Solana, Base, Arbitrum | | **Arbitrum** | Polygon, Ethereum, Solana, Base, Optimism | **Supported currencies:** USDC, USDT ## Key Concepts > [accordion] 1:1 Transfers > > Bridges maintain a 1:1 ratio when transferring the same asset across chains. When you bridge 10 USDC from Polygon to Ethereum, you receive 10 USDC on Ethereum (minus any network fees). > > The `quoteInformation.rate` will always be "1" for same-asset bridges. > [accordion] External Wallet Bridging > > You can bridge to external wallet addresses (not managed by HIFI) by providing `walletAddress` instead of `userId` in the destination: > > ```json theme={null} > { > "destination": { > "chain": "ETHEREUM", > "currency": "usdc", > "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" > } > } > ``` > > > [!WARNING] > > > > **Gas Sponsorship Required:** To bridge to external addresses, you must be enrolled in HIFI's Gas Sponsorship Program. Otherwise, provide a `userId` to bridge to a HIFI wallet. > [accordion] Bridge vs Transfer > > **Bridges** move assets across different blockchains (e.g., Polygon → Ethereum). > > **Transfers** move assets within the same blockchain (e.g., Polygon wallet A → Polygon wallet B). > > Use bridges when you need assets on a different chain. Use transfers for same-chain movements. ## Sample Code ### Complete bridge flow **1. Create bridge request** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", "amount": 10, "source": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdc" }, "destination": { "userId": "usr_abc123", "chain": "ETHEREUM", "currency": "usdc" } }' ``` **2. Monitor progress** Poll the retrieve endpoint or subscribe to `WALLET.BRIDGE.UPDATE` webhooks. Track through statuses: 1. SOURCE_INITIATED → SOURCE_PENDING → SOURCE_PROCESSED 2. DESTINATION_INITIATED → DESTINATION_PENDING → COMPLETED **3. Verify on block explorers** Once COMPLETED, use transaction hashes from `receipt.operations` to verify: * Check burn transaction on source chain explorer (Polygonscan) * Check mint transaction on destination chain explorer (Etherscan) ### Bridge with approval **1. Create bridge with approval** Set `requireApproval: true` for multi-party authorization: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/bridges" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1d860428-1d0b-47c5-9e65-98961ff59215", "amount": 100, "source": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdc" }, "destination": { "userId": "usr_abc123", "chain": "ETHEREUM", "currency": "usdc" }, "requireApproval": true }' ``` **2. Review pending bridge** The bridge enters `PENDING_APPROVAL` status. Dashboard admins are notified to approve or reject via email and webhook. **3. Execution or rejection** If approved, the bridge proceeds through normal processing. If rejected, it is cancelled. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/docs/transactions/transfers) - Same-chain transfers * [Wallets](/docs/wallets) - Understand wallet addresses and balances * [Webhooks](/docs/webhooks) - Real-time bridge status notifications * [API Reference](https://docs.hifi.com/api-reference/bridge/create-a-bridge) - Complete endpoint documentation # Offramps Source: https://docs.hifi.com/transactions/offramps Offramps convert stablecoins into fiat currency and send it to external bank accounts. Users must accept a quote before the conversion executes. ## How Offramps Work Offramps follow a quote-based flow: **1. Create offramp request** Specify the source wallet, destination account, and amount to convert. **2. Review quote** Examine the exchange rate, fees, and quote expiration time. **3. Accept quote** Accept the quote to execute the conversion. Stablecoins are converted to fiat and sent to the registered bank account. ## Creating Offramps Use the [Create Offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) endpoint to get a quote. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "201ca31d-700f-4c76-ac4b-961623acbb79", "source": { "currency": "usdc", "chain": "POLYGON", "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", "amount": 10 }, "destination": { "currency": "usd", "accountId": "12c1c496-8f57-41a1-8292-dbe6547791ce", "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", "sameDayAch": false }, "developerFee": { "fees": [ { "type": "PERCENTAGE", "value": "0.0005", "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D7" } ] } }' ``` The response contains the offramp quote information: > [accordion] Response > > ```json theme={null} > { > "transferType": "OFFRAMP", > "transferDetails": { > "id": "173c1e89-7bbd-4352-9e5d-73807681510d", > "requestId": "201ca31d-700f-4c76-ac4b-961623acbb79", > "createdAt": "2025-02-03T16:12:04.331652+00:00", > "updatedAt": "2025-02-03T16:12:08.732+00:00", > "status": "OPEN_QUOTE", > "failedReason": null, > "source": { > "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", > "chain": "POLYGON", > "currency": "usdc", > "amount": 10, > "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D6", > "user": { > "email": "john.doe@hifibridge.com", > "firstName": "John", > "lastName": "Doe", > "businessName": null > } > }, > "destination": { > "userId": "7d54a7a7-dac3-4313-8b09-27fa4b7fd1ee", > "amount": 0, > "currency": "usd", > "user": { > "email": "john.doe@hifibridge.com", > "firstName": "John", > "lastName": "Doe", > "businessName": null > }, > "accountId": "12c1c496-8f57-41a1-8292-dbe6547791ce", > "sameDayAch": false > }, > "receipt": { > "transactionHash": null, > "paymentTracking": null > }, > "developerFee": { > "id": "1c3d24c1-6136-574c-a647-e7eb6a9fb6ed", > "transactionHash": null, > "fees": [ > { > "type": "PERCENTAGE", > "value": "0.0005", > "amount": "0.000515", > "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D7" > }, > { > "type": "FLAT", > "value": "0.01", > "amount": "0.010000", > "walletAddress": "0x366B759bAA089Fa57a08edd3F2E028E86b97f8D7" > } > ] > }, > "quoteInformation": { > "sendGross": { > "amount": "10", > "currency": "usdc" > }, > "sendNet": { > "amount": "10", > "currency": "usdc" > }, > "receiveGross": { > "amount": "10", > "currency": "usd" > }, > "receiveNet": { > "amount": "10", > "currency": "usd" > }, > "rate": "1", > "expiresAt": "2025-02-03T16:22:08.668Z" > }, > "depositInformation": [] > } > } > ``` **transferDetails.id** `string` Unique offramp ID. Use this to track the transaction and accept the quote. **transferDetails.status** `string` Offramp status. `OPEN_QUOTE` means the quote is ready for review. See [Transaction Status](#transaction-status) for details. **transferDetails.quoteInformation** `object` Conversion quote details including exchange rate, amounts, and expiration time. **properties** **sendGross** `object` Total stablecoins being converted. **sendNet** `object` Net stablecoin amount after fees. **receiveGross** `object` Total fiat amount before fees. **receiveNet** `object` Actual fiat amount you'll receive. Verify this matches your expectations before accepting. **rate** `string` Exchange rate (stablecoin to fiat). **expiresAt** `string` Quote expiration timestamp. Quotes expire 10 minutes after creation. **transferDetails.developerFee** `object` Developer fee details if included in the request. **transferDetails.source** `object` Source wallet details including user information and stablecoin amount. **transferDetails.destination** `object` Destination bank account details including account ID and user information. **transferDetails.receipt** `object` Transaction receipt. Contains `transactionHash` once the stablecoin conversion is confirmed on-chain, and `paymentTracking` once fiat processing begins. > [!NOTE] > > For detailed field documentation, see the [Create > Offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) API reference. ## Accepting Quotes After reviewing the quote, accept it to execute the conversion using the [Accept Quote](https://docs.hifi.com/api-reference/offramp/accept-an-offramp-quote) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps/173c1e89-7bbd-4352-9e5d-73807681510d/quote/accept" \ -H "Authorization: Bearer YOUR_API_KEY" ``` When the quote is accepted, the response shows the updated status: > [accordion] Response > > ```json theme={null} > { > "transferType": "OFFRAMP", > "transferDetails": { > "id": "off_abc123", > "status": "CRYPTO_INITIATED", > "quoteInformation": { > "expiresAt": "2025-02-03T16:22:08.668Z" > } > } > } > ``` **transferDetails.status** `string` Updated offramp status. `CRYPTO_INITIATED` means the conversion has started. See [Transaction Status](#transaction-status) for progression. Once accepted, the offramp progresses through crypto and fiat processing phases until completion. ## Transaction Status Offramps progress through several phases: ### System Statuses | Status | Description | | :- | :- | | **CREATED** | Offramp request created successfully | | **NOT_INITIATED** | Request not submitted due to validation error | | **OPEN_QUOTE** | Quote generated and awaiting acceptance | | **IN_REVIEW** | Transaction under review by monitoring systems | | **QUOTE_FAILED** | Quote expired before acceptance | | **AWAITING_FUNDS** | Awaiting for crypto deposit | ### Crypto Processing Phase | Status | Description | | :- | :- | | **CRYPTO_INITIATED** | Converting stablecoins, blockchain transaction started | | **CRYPTO_PENDING** | Blockchain transaction awaiting confirmation | | **CRYPTO_PROCESSED** | Stablecoins successfully converted | | **CRYPTO_FAILED** | Blockchain transaction failed | | **CRYPTO_RETURNED** | Crypto returned on chain to the sender's wallet | ### Fiat Processing Phase | Status | Description | | :- | :- | | **FIAT_INITIATED** | Fiat payout process started | | **FIAT_PENDING** | Fiat transaction awaiting settlement | | **FIAT_FAILED** | Fiat transaction failed | | **FIAT_RETURNED** | Fiat leg reversed, crypto return not yet delivered | | **COMPLETED** | Fiat successfully delivered to bank account | ## Failed Payouts and Returns An offramp can fail on either leg, and what happens to the funds depends on which leg failed: * **`CRYPTO_FAILED`**: Transfer was rejected before the fiat leg started. When the offramp is funded from a HIFI wallet, nothing left the wallet. When it is funded from an external wallet, crypto is returned to the sender and offramp continues on to `CRYPTO_RETURNED`. * **`FIAT_FAILED`**: Fiat payout failed after the crypto had already left the source wallet. Crypto is returned to the sender, and the offramp progresses to `CRYPTO_RETURNED` once that on-chain delivery confirms. Depending on the rail, it may report an intermediate `FIAT_RETURNED` first. Returns are available on USD offramps and global network offramps. To test them in sandbox, see [Offramp magic values](/features/magic-values/offramp). ## Tracking Offramps > [!NOTE] > > **Status Updates:** Subscribe to `OFFRAMP` webhook events to receive real-time status notifications. See [Webhooks](/webhooks/offramp-events) for setup instructions. Monitor offramp status using the [Retrieve Offramp](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp) endpoint. The response structure matches the create endpoint shown above. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/offramps/173c1e89-7bbd-4352-9e5d-73807681510d" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Quote Validity Quotes expire **10 minutes** after creation to ensure current market rates. This prevents: * Stale pricing during volatile markets * Long-pending transactions * Rate arbitrage If your quote expires (status becomes `QUOTE_FAILED`): 1. Create a new offramp request 2. Review the updated quote 3. Accept the new quote within 10 minutes > [!WARNING] > > **Time Sensitive:** Always check `quoteInformation.expiresAt` before accepting. Attempting to accept an expired quote will fail. ## Purpose of Payment Code Payment Purpose Codes (PPCs), also known as payment reason codes, are standardized identifiers that provide the reason for a crossborder or international payment. PPCs enable payers to categorize the payment, whether for goods, services, investments, or other purposes. In crossborder payments, PPCs add an additional layer of transparency by ensuring funds are used for legitimate purposes and are considered mandatory or required fields by the Central Banking authority in certain jurisdictions, i.e. India, Malaysia, and the United Arab Emirates. ### **United Arab Emirates (ARE)** | Code | Description | | - | - | | ACM | Agency Commission | | AES | Advance payment against EOS | | AFA | Receipts or payments from personal residents bank account or deposits abroad | | AFL | Receipts or payments from personal non-resident bank account in the UAE | | ALW | Allowances | | ATS | Air transport | | BON | Bonus | | CCP | Corporate Card Payment | | CEA | Equity and investment fund shares for the establishment of new company from residents abroad, equity of merger or acquisition of companies abroad from residents and participation to capital increase of related companies abroad | | CEL | Equity and investment fund shares for the establishment of new company in the UAE from non-residents, equity of merger or acquisition of companies in the UAE from non-residents and participation to capital increase of related companies from non-residents in the UAE | | CHC | Charitable Contributions | | CIN | Commercial Investments | | COM | Commission | | COP | Compensation | | CRP | Credit Card Payments | | DCP | Pre-Paid Reloadable & Personalized Debit Card Payments | | DIV | Dividend Payouts | | DLA | Purchases and sales of foreign debt securities in not related companies – More than a year | | DLF | Debt instruments intragroup loans, deposits foreign | | DLL | Purchases and sales of securities issued by residents in not related companies – More than a year | | DOE | Dividends on equity not intra group | | DSA | Purchases and sales of foreign debt securities in not related companies – Less than a year | | DSF | Debt instruments intragroup foreign securities | | DSL | Purchases and sales of securities issued by residents in not related companies – Less than a year | | EDU | Educational Support | | EMI | Equated Monthly Instalments | | EOS | End of Service | | FAM | Family Support | | FDA | Financial derivatives foreign | | FDL | Financial derivatives in the UAE | | FIA | Investment fund shares foreign | | FIL | Investment fund shares in the UAE | | FIS | Financial services | | FSA | Equity other than investment fund shares in not related companies abroad | | FSL | Equity other than investment fund shares in not related companies in the UAE | | GDE | Goods Sold | | GDI | Goods bought | | GMS | Processing repair and maintenance services on goods | | GOS | Government goods and services embassies etc | | GRI | Government related income taxes tariffs capital transfers etc | | IFS | Information services | | IGD | Intra group dividends | | IGT | Inter group transfer | | IID | Intra group interest on debt | | INS | Insurance services | | IOD | Income on deposits | | IOL | Income on loans | | IPC | Charges for the use of intellectual property royalties | | IPO | IPO subscriptions | | IRP | Interest rate swap payments | | IRW | Interest rate unwind payments | | ISH | Income on investment funds share | | ISL | Interest on securities more than a year | | ISS | Interest on securities less than a year | | ITS | Computer services | | LAS | Leave salary | | LDL | Debt instruments intragroup loans, deposits in the UAE | | LDS | Debt instruments intragroup securities in the UAE | | LEA | Leasing abroad | | LEL | Leasing in the UAE | | LIP | Loan interest payments | | LLA | Loans – Drawings or Repayments on loans extended to nonresidents – Long-term | | LLL | Loans – Drawings or Repayments on foreign loans extended to residents – Long-term | | LNC | Loan charges | | LND | Loan disbursements | | MCR | Monetary Claim Reimbursements Medical Insurance or Auto Insurance etc. | | MWI | Mobile wallet cash in | | MWO | Mobile wallet cash out | | MWP | Mobile wallet payments | | OAT | Own account transfer | | OTS | Other modes of transport | | OVT | Overtime | | PEN | Pension | | PIN | Personal Investments | | PIP | Profits on Islamic products | | PMS | Professional and management consulting services | | POR | Refunds or Reversals on IPO subscriptions | | POS | POS Merchant Settlement | | PPA | Purchase of real estate abroad from residents | | PPL | Purchase of real estate in the UAE from non-residents | | PRP | Profit rate swap payments | | PRR | Profits or rents on real estate | | PRS | Personal cultural audio visual and recreational services | | PRW | Profit rate unwind payments | | RDS | Research and development services | | RFS | Repos on foreign securities | | RLS | Repos on securities issued by residents | | RNT | Rent payments | | SAA | Salary advance | | SAL | Salary | | SCO | Construction | | SLA | Loans – Drawings or Repayments on loans extended to nonresidents – Short-term | | SLL | Loans – Drawings or Repayments on foreign loans extended to residents – Short-term | | STR | Travel | | STS | Sea transport | | SVI | Stored value card cash-in | | SVO | Stored value card cash-out | | SVP | Stored value card payments | | TCP | Trade credits and advances payable | | TCR | Trade credits and advances receivable | | TCS | Telecommunication services | | TKT | Tickets | | TOF | Transfer of funds between persons Normal and Juridical | | TTS | Technical trade-related and other business services | | UTL | Utility Bill Payments | ## Key Concepts > [accordion] Quote Information > > The quote provides complete pricing transparency: > > * **sendGross**: Total stablecoins being converted > * **sendNet**: Net amount after fees > * **receiveGross**: Total fiat before fees > * **receiveNet**: Actual fiat you'll receive > * **rate**: Exchange rate (stablecoin to fiat) > * **expiresAt**: Quote expiration timestamp > > Always verify `receiveNet` matches your expectations before accepting. > [accordion] Developer Fees > > Monetize offramp transactions by adding a developer fee when creating the offramp: > > **FIX**: Fixed amount regardless of transaction size > > ```json theme={null} > { > "fee": { > "type": "FIX", > "value": 0.5 > } > } > ``` > > **PERCENT**: Percentage of transaction amount > > ```json theme={null} > { > "fee": { > "type": "PERCENT", > "value": 0.01 > } > } > ``` > > Developer fees are paid in stablecoins from the source wallet before conversion. > [accordion] USDT Fee > > USDT offramps incur an additional 0.1% exchange fee beyond standard rates. This fee appears on your monthly invoice, not deducted from the transaction amount. > [accordion] Account Requirements > > Before creating offramps, ensure: > > * User has completed KYC for the destination currency's rail > * Offramp account is created and active (status: `ACTIVE`) > * Sufficient stablecoin balance in the source wallet ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Quickstart Guide](/docs/quickstart) - Complete offramp tutorial * [Offramp Accounts](/docs/accounts/offramp-accounts) - Set up bank accounts for receiving fiat * [Users](/docs/users) - KYC requirements for offramping * [Webhooks](/docs/webhooks) - Real-time offramp status notifications * [API Reference](https://docs.hifi.com/api-reference/offramp/create-an-offramp) - Complete endpoint documentation # Onramps Source: https://docs.hifi.com/transactions/onramps Onramps convert fiat currency into stablecoins and deliver them to wallets. Users can onramp through virtual accounts (reusable) or the Onramp API (one-time virtual accounts). ## Onramp Methods HIFI supports two onramp methods: | Method | Description | Best For | | :- | :- | :- | | **Virtual Account** | Reusable bank account for USD deposits | Recurring USD deposits, simplified flows | | **Onramp API** | One-time virtual account per transaction | USD and Africa currencies via API (Africa Rail beta) | > [!NOTE] > > **Virtual Accounts for USD:** For recurring USD deposits, use reusable [Virtual Accounts](/docs/accounts/virtual-accounts) which provide permanent bank account numbers. The Onramp API generates one-time virtual accounts per transaction and currently supports USD and Africa currencies (Africa Rail beta). When you create an onramp, HIFI generates a **one-time account** (unique deposit details) for that transaction. For **Africa** (Africa Rail beta) you must register an onramp account first and pass `source.accountId`; for **USD** you typically omit it and use the one-time deposit instructions in the response. See [Onramp Accounts](/docs/accounts/onramp-accounts) for details. ## Using the Onramp API The Onramp API generates a one-time virtual account for a specific transaction. This method currently supports USD and Africa currencies (Africa Rail beta). The flow is similar to regular virtual accounts, but the bank account details are valid only for this single transaction. ### Request Quote Create an onramp to get a conversion quote using the [Create Onramp](https://docs.hifi.com/api-reference/onramp/create-an-onramp) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/onramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123", "currency": "usd", "amount": 100, "transferType": "ach" }, "destination": { "userId": "usr_abc123", "currency": "usdc", "chain": "POLYGON" }, "requestId": "e1047def-6942-4fd7-be04-e62eb41813b6" }' ``` The response contains the onramp quote and deposit information: > [accordion] Response > > ```json theme={null} > { > "transferType": "ONRAMP", > "transferDetails": { > "id": "onr_abc123", > "requestId": "e1047def-6942-4fd7-be04-e62eb41813b6", > "createdAt": "2025-02-03T17:15:31.927121+00:00", > "updatedAt": "2025-02-03T17:15:35.882+00:00", > "status": "AWAITING_FUNDS", > "source": { > "userId": "usr_abc123", > "currency": "usd", > "amount": 100, > "transferType": "ach" > }, > "destination": { > "userId": "usr_abc123", > "currency": "usdc", > "chain": "POLYGON", > "walletAddress": "0x848732f6c834E05b17C56fa01E83EE095f72C3c3" > }, > "quoteInformation": { > "sendGross": { > "amount": "100.00", > "currency": "usd" > }, > "receiveNet": { > "amount": "100.00", > "currency": "usdc" > }, > "rate": "1.0000", > "expiresAt": "2025-02-04T17:15:31.927Z" > }, > "depositInfo": { > "bankName": "Cross River Bank", > "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", > "accountNumber": "11223344556677", > "routingNumber": "021214891", > "beneficiary": { > "name": "HIFI Bridge", > "address": "123 Main St, New York, NY 10010" > }, > "referenceId": "BRGWX4J5BB7MP693BT8Z", > "amount": "100.0", > "currency": "usd", > "instruction": "Please deposit the exact amount to the bank account provided. Use the reference ID as the deposit reference." > }, > "receipt": { > "transactionHash": null > } > } > } > ``` **transferDetails.id** `string` Unique onramp ID. **Save this** for tracking the transaction status. **transferDetails.status** `string` Current status. `AWAITING_FUNDS` means the quote is ready and waiting for your deposit. **transferDetails.quoteInformation** `object` Conversion details including rates and amounts. **properties** **sendGross** `object` Total fiat amount to send **receiveNet** `object` Stablecoin amount you'll receive **rate** `string` Exchange rate between fiat and stablecoin **expiresAt** `string` Quote expiration timestamp. Deposit must arrive before this time. **transferDetails.depositInfo** `object` **Most Important:** Bank account details for sending your fiat deposit. **properties** **referenceId** `string` **Critical:** Include this reference ID with your bank transfer. Without it, your deposit cannot be matched to this onramp. **accountNumber** `string` Bank account number for deposit **routingNumber** `string` Bank routing number **amount** `string` Exact amount to deposit (must match exactly) **instruction** `string` Deposit instructions and requirements ### Send Payment After receiving the quote, send the exact amount specified in `depositInfo` to the provided bank account. **Critical requirements:** * **Use the reference ID** - Include the `referenceId` in your bank transfer memo/reference field * **Send exact amount** - The amount must match `depositInfo.amount` exactly * **Send before expiration** - Deposit must arrive before `quoteInformation.expiresAt` > [!WARNING] > > **Reference ID Required:** Always include the reference ID with your deposit. Deposits without the correct reference ID cannot be matched to your onramp and may be lost or delayed. ### Processing Once HIFI detects your deposit: 1. **Fiat validation** - Confirms amount and reference ID match 2. **Conversion** - Exchanges fiat for stablecoins at the quoted rate 3. **Delivery** - Sends stablecoins to the destination wallet 4. **Completion** - Transaction hash becomes available in `receipt.transactionHash` Processing times vary by payment method: * **ACH**: 1-3 business days * **Wire**: Same day * **RTP**: Instant * **International transfers**: 1-5 business days depending on country ## Transaction Status Onramps progress through several phases: ### System Statuses | Status | Description | | :- | :- | | **CREATED** | Onramp request created successfully | | **NOT_INITIATED** | Request not submitted due to validation error | | **OPEN_QUOTE** | Quote generated and awaiting deposit | | **IN_REVIEW** | Transaction under review by monitoring systems | | **QUOTE_FAILED** | Quote expired before deposit was received | | **AWAITING_FUNDS** | Waiting for fiat deposit with reference ID | ### Fiat Processing Phase | Status | Description | | :- | :- | | **FIAT_INITIATED** | Deposit detected, fiat processing started | | **FIAT_PENDING** | Fiat clearing and validation in progress | | **FIAT_PROCESSED** | Fiat successfully received and validated | | **FIAT_FAILED** | Fiat processing failed (e.g., invalid amount, missing reference) | | **FIAT_RETURNED** | Fiat returned to sender after failure | ### Crypto Processing Phase | Status | Description | | :- | :- | | **CRYPTO_INITIATED** | Converting fiat to stablecoins | | **CRYPTO_PENDING** | Sending stablecoins on blockchain | | **CRYPTO_FAILED** | Blockchain transaction failed | | **COMPLETED** | Stablecoins delivered to wallet, transaction complete | ## Failed Deposits and Returns An onramp can fail on either leg, and what happens to the funds depends on which leg failed: * **`FIAT_FAILED`**: Deposit was rejected during review, before any crypto was delivered. * **`CRYPTO_FAILED`**: Fiat was accepted but the crypto delivery leg failed. Fiat stays held rather than being returned automatically, and can be returned to the sender's bank account, moving the onramp to `FIAT_RETURNED`. Unlike an offramp return, `FIAT_RETURNED` is terminal. Returns are available on USD onramps, regardless of which rail funded the deposit. To test them in sandbox, see [Onramp magic values](/features/magic-values/onramp). ## Tracking Onramps > [!NOTE] > > **Status Updates:** Subscribe to `ONRAMP` webhook events to receive real-time status notifications. See [Webhooks](/webhooks/onramp-events) for setup instructions. Monitor onramp status using the [Retrieve Onramp](https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp) endpoint. The response structure matches the create endpoint shown above. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/onramps/onr_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Use the `transactionHash` in the response to view the stablecoin delivery on a blockchain explorer. ## Quote Validity Quote expiration times vary by currency. This ensures: * Current market rates * Prevention of stale pricing * Timely transaction processing If your quote expires (status becomes `QUOTE_FAILED`): 1. Create a new onramp request 2. Get updated pricing 3. Complete the deposit with the new reference ID > [!NOTE] > > **Quote Expiration:** The `expiresAt` timestamp in `quoteInformation` shows exactly when the quote expires for your specific currency. Always check this timestamp and plan to send your deposit with enough time for bank processing before this deadline. ## Key Concepts > [accordion] Virtual Account vs Onramp API > > Both methods use virtual accounts, but with different characteristics: > > **Virtual Accounts** (reusable): > > * Permanent bank account number > * Can be used for multiple deposits > * USD currency only > * Created via Virtual Accounts API > > **Onramp API** (one-time): > > * One-time virtual account per transaction > * Generated per transaction via Onramps API > * Currently supports USD and Africa currencies (Africa Rail beta) > * Bank details valid only for that transaction > [accordion] Reference ID Requirements > > The Onramp API works like one-time virtual accounts. The reference ID functions similarly to how deposits are matched to virtual accounts: - Each onramp generates a unique reference ID - Include it in your bank transfer memo/reference field - HIFI uses it to match your deposit to the correct transaction - Missing reference IDs cause delays or lost funds **Where to > include it:** Most banks have a "memo," "reference," or "description" field for transfers. Put the reference ID there. > [accordion] Exact Amount Matching > > The deposit amount must match exactly: - Send the exact amount shown in `depositInfo.amount` - Include all decimal places (e.g., $100.00, not $100) - Don't round or adjust for fees - Mismatched amounts may be rejected or require manual intervention > [accordion] USDT Fee > > USDT onramps incur an additional 0.1% exchange fee beyond standard rates. This fee appears on your monthly invoice, not deducted from the transaction amount. > [accordion] External Wallets > > By default, stablecoins go to the user's HIFI wallet. To send to an external wallet instead, include `externalWalletId` in the destination. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Quickstart Guide](/docs/quickstart) - Complete onramp tutorial * [Virtual Accounts](/docs/accounts/virtual-accounts) - Automatic onramp solution (recommended) * [Onramp Accounts](/docs/accounts/onramp-accounts) - One-time generated accounts per transaction; registered accounts for Africa (Africa Rail beta) * [Users](/docs/users) - KYC requirements for onramping * [Webhooks](/docs/webhooks) - Real-time onramp status notifications * [API Reference](https://docs.hifi.com/api-reference/onramp/create-an-onramp) - Complete endpoint documentation # Overview Source: https://docs.hifi.com/transactions/overview HIFI supports five types of transactions: transfers, onramps, offramps, bridging, and swaps. Each type serves a distinct purpose for moving value between wallets, fiat, and chains. ## Transaction Types HIFI supports five types of transactions. Each type moves value in a different way: | Type | Direction | What it does | | :- | :- | :- | | **Transfers** | Wallet → Wallet | Send stablecoins between HIFI users or to external wallet addresses on the same chain | | **Onramps** | Fiat → Stablecoins | Convert fiat (e.g. USD) into stablecoins and credit a user's wallet | | **Offramps** | Stablecoins → Fiat | Convert stablecoins to fiat and send to a registered bank account | | **Bridging** | Chain A → Chain B | Move stablecoins from one blockchain to another (e.g. Polygon → Ethereum) | | **Swaps** | Stablecoin A → Stablecoin B | Exchange one stablecoin for another within HIFI wallets (e.g. USDC → USDT) | ## When to Use Each Type > [accordion] Transfers > > Use **transfers** when you need to send stablecoins from one wallet to another. Supports single payments or batch transfers (up to 50 recipients). Destinations can be another HIFI user or an external wallet address. All movement stays on the same blockchain. > [accordion] Onramps > > Use **onramps** when a user wants to deposit fiat and receive stablecoins. The > user sends fiat (e.g. via ACH or bank transfer) to a virtual account or > one-time account; once received, HIFI credits their wallet with the equivalent > stablecoins. Requires KYC for the relevant rail. > [accordion] Offramps > > Use **offramps** when a user wants to withdraw stablecoins as fiat. The user’s > stablecoin balance is converted to fiat and sent to a registered offramp > (bank) account. Requires a linked offramp account. > [accordion] Bridging > > Use **bridging** when stablecoins need to move from one chain to another (e.g. > Polygon USDC → Ethereum USDC). The same stablecoin is moved across networks; > no currency conversion. Useful when the destination wallet or product is on a > different chain. > [accordion] Swaps > > Use **swaps** when a user needs to exchange one stablecoin for another (e.g. USDC for USDT, or USDC on Polygon for USDT on Ethereum). Supports same-chain and cross-chain pairs. Requires a two-step flow: create swap request, then accept the quote to execute. ## Fiat vs. On-Chain | Category | Transaction types | KYC / accounts | | :- | :- | :- | | **On-chain** | Transfers, Bridging, Swaps | No fiat rails; wallet-only flows | | **Fiat in** | Onramps | KYC + virtual or one-time account | | **Fiat out** | Offramps | KYC + registered offramp account | On-chain transactions (transfers, bridging, swaps) move value between wallets and chains without touching traditional bank accounts. Onramps and offramps connect fiat banking to stablecoins and require user verification and linked accounts. ## Transaction Approvals Transfers, bridging, and offramps can use an optional **approval workflow**. When enabled, a transaction is created in a pending state and must be approved by an admin before it is executed. This supports compliance and multi-party authorization. See [Transaction Approvals](/docs/features/transfer-approvals) for details. ## Related Documentation * [Transfers](/docs/transactions/transfers) - Send stablecoins between wallets * [Onramps](/docs/transactions/onramps) - Deposit fiat, receive stablecoins * [Offramps](/docs/transactions/offramps) - Withdraw stablecoins to fiat * [Bridging](/docs/transactions/bridging) - Move stablecoins across chains * [Swaps](/docs/transactions/swaps) - Exchange one stablecoin for another # Swaps Source: https://docs.hifi.com/transactions/swaps Swaps let you exchange one stablecoin for another within HIFI wallets. All swaps follow a two-step process: create the swap request, then accept it to execute the exchange. ## Overview **1. Create swap request** Specify source currency, destination currency, and amount to exchange. The swap is created with `OPEN_QUOTE` status. **2. Accept the swap** Accept the swap using the [Accept Swap](https://docs.hifi.com/api-reference/swap/accept-a-swap) endpoint to execute the exchange. **3. Completion** Receive the swapped currency in the destination wallet once the swap is accepted and executed. ## Supported Pairs | Source | Destination | | - | - | | **Polygon - USDC** | Polygon (USDT), Ethereum (USDT, USDG), Solana (USDT, USDG) | | **Polygon - USDT** | Polygon (USDC), Ethereum (USDC, USDG), Solana (USDC, USDG) | | **Ethereum - USDC** | Polygon (USDT), Ethereum (USDT, USDG), Solana (USDT, USDG) | | **Ethereum - USDT** | Polygon (USDC), Ethereum (USDC, USDG), Solana (USDC, USDG) | | **Ethereum - USDG** | Polygon (USDC, USDT), Ethereum (USDC, USDT), Solana (USDC, USDT) | | **Solana - USDC** | Polygon (USDT), Ethereum (USDT, USDG), Solana (USDT, USDG) | | **Solana - USDT** | Polygon (USDC), Ethereum (USDC, USDG), Solana (USDC, USDG) | | **Solana - USDG** | Polygon (USDC, USDT), Ethereum (USDC, USDT), Solana (USDC, USDT) | > [!NOTE] > > USDG swapping is available upon request. Please contact support to get access. ## Fees The Swap endpoint uses a two-part billing model: * **Market quote fees**: Fees are included in the swap quote response. Check the `quoteInformation` fields (`sendNet`, `receiveNet`) to see the amounts after market fees are applied. * **Gas fees**: Network gas fees are charged separately on your invoice and are not included in the quote response. ## Creating Swaps Use the [Create Swap](https://docs.hifi.com/api-reference/swap/create-a-swap) endpoint to exchange currencies on the same chain. ```bash Swap with Source Amount theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/swaps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", "source": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdc", "amount": "100" }, "destination": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdt" } }' ``` ```bash Swap with Destination Amount theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/swaps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", "source": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdc" }, "destination": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdt", "amount": "100" } }' ``` The response contains the swap details. Swaps are created in `PENDING` status and require acceptance: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.SWAP", > "transferDetails": { > "id": "swp_abc123", > "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", > "status": "OPEN_QUOTE", > "createdAt": "2025-08-20T03:55:29.437108+00:00", > "updatedAt": "2025-08-20T03:55:31.837+00:00", > "source": { > "currency": "usdc", > "amount": 100, > "chain": "POLYGON", > "userId": "usr_abc123" > }, > "destination": { > "currency": "usdt", > "userId": "usr_abc123", > "amount": 100, > "chain": "POLYGON", > "walletAddress": "0xe5727a4B1d93A26D6A7Adfaae145EFa41ED7f204" > }, > "quoteInformation": { > "sendGross": { > "amount": "100", > "currency": "usdc" > }, > "sendNet": { > "amount": "100", > "currency": "usdc" > }, > "receiveGross": { > "amount": "100", > "currency": "usdt" > }, > "receiveNet": { > "amount": "100", > "currency": "usdt" > }, > "rate": "1", > "expiresAt": "2025-08-20T03:55:59.539+00:00" > }, > "error": null, > "errorDetails": null > } > } > ``` **transferDetails.id** `string` Unique swap ID. Use this to check status using the [Retrieve Swap](https://docs.hifi.com/api-reference/token-swap/retrieve-a-swap) endpoint. **transferDetails.status** `string` Swap status. Swaps are created with `OPEN_QUOTE` status and must be accepted before execution. See [Transaction Status](#transaction-status) for details. **transferDetails.source** `object` Source wallet details including currency, amount, chain, and user information. **transferDetails.destination** `object` Destination wallet details including currency, amount received, chain, and user information. **transferDetails.quoteInformation** `object` Swap quote details including exchange rate, amounts sent and received. **properties** **sendGross** `object` Total source currency amount sent. **sendNet** `object` Net source currency amount after fees (if any). **receiveGross** `object` Total destination currency amount received before fees. **receiveNet** `object` Actual destination currency amount received. This is the amount that will be in your destination wallet. **rate** `string` Exchange rate between source and destination currencies. **expiresAt** `string` Quote expiration timestamp (if applicable). > [!NOTE] > > For detailed field documentation, see the [Create > Swap](https://docs.hifi.com/api-reference/token-swap/create-a-swap) API > reference. ## Accepting Swaps All swaps are created in `PENDING` status and require explicit acceptance before execution. Use the [Accept Swap](https://docs.hifi.com/api-reference/swap/accept-a-swap) endpoint to accept and execute a swap. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/swaps/swp_abc123/accept" \ -H "Authorization: Bearer YOUR_API_KEY" ``` The accept endpoint returns the same swap details structure as the create endpoint, with updated status: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.SWAP", > "transferDetails": { > "id": "swp_abc123", > "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", > "status": "CRAETED", > "createdAt": "2025-08-20T03:55:29.437108+00:00", > "updatedAt": "2025-08-20T04:08:10.837+00:00", > "source": { > "currency": "usdc", > "amount": 100, > "chain": "POLYGON", > "userId": "usr_abc123" > }, > "destination": { > "currency": "usdt", > "userId": "usr_abc123", > "amount": 100, > "chain": "POLYGON", > "walletAddress": "0xe5727a4B1d93A26D6A7Adfaae145EFa41ED7f204" > }, > "quoteInformation": { > "sendGross": { > "amount": "100", > "currency": "usdc" > }, > "sendNet": { > "amount": "100", > "currency": "usdc" > }, > "receiveGross": { > "amount": "100", > "currency": "usdt" > }, > "receiveNet": { > "amount": "100", > "currency": "usdt" > }, > "rate": "1", > "expiresAt": "2025-08-20T03:55:59.539+00:00" > }, > "error": null, > "errorDetails": null > } > } > ``` **transferDetails.status** `string` Swap status after acceptance. Transitions from `PENDING` to `COMPLETED` upon successful acceptance. See [Transaction Status](#transaction-status) for details. > [!NOTE] > > **Required Step:** All swaps must be accepted before execution. After creating > a swap, always call the accept endpoint to execute the exchange. ## Transaction Status Swaps progress through the following statuses: | Status | Description | | :- | :- | | **OPEN_QUOTE** | Swap quote requested and waiting for acceptance | | **CREATED** | Swap request accepted | | **PENDING** | Swap processing | | **COMPLETED** | Swap successfully executed | | **FAILED** | Swap failed (check `error` and `errorDetails` for specifics) | | **QUOTE_FAILED** | Swap quote is expired or invalid | > [!NOTE] > > **Status Updates:** Subscribe to `SWAP.TRANSACTION.CREATE` and `SWAP.STATUS.*` > webhook events to receive real-time status notifications. See > [Webhooks](/docs/webhooks) for setup instructions. ## Tracking Swaps Monitor swap status using the [Retrieve Swap](https://docs.hifi.com/api-reference/token-swap/retrieve-a-swap) endpoint. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/wallets/swaps/swp_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` The retrieve response includes current swap status: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.SWAP", > "transferDetails": { > "id": "swp_abc123", > "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", > "status": "COMPLETED", > "createdAt": "2025-08-20T03:55:29.437108+00:00", > "updatedAt": "2025-08-20T03:55:31.837+00:00", > "source": { > "currency": "usdc", > "amount": 100, > "chain": "POLYGON", > "userId": "usr_abc123" > }, > "destination": { > "currency": "usdt", > "userId": "usr_abc123", > "amount": 100, > "chain": "POLYGON", > "walletAddress": "0xe5727a4B1d93A26D6A7Adfaae145EFa41ED7f204" > }, > "quoteInformation": { > "sendGross": { > "amount": "100", > "currency": "usdc" > }, > "sendNet": { > "amount": "100", > "currency": "usdc" > }, > "receiveGross": { > "amount": "100", > "currency": "usdt" > }, > "receiveNet": { > "amount": "100", > "currency": "usdt" > }, > "rate": "1", > "expiresAt": "2025-08-20T03:55:59.539+00:00" > }, > "error": null, > "errorDetails": null > } > } > ``` **transferDetails.status** `string` Current swap status. See [Transaction Status](#transaction-status) for all possible statuses. ## Listing Swaps Retrieve a list of all swaps associated with users under your organization using the [List Swaps](https://docs.hifi.com/api-reference/token-swap/list-all-swaps) endpoint. Swaps are returned sorted by creation date, with the most recent swaps appearing first. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/wallets/swaps?userId=usr_abc123&limit=10" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Query Parameters:** **userId** `string` *required* Filter swaps by a specific user ID. If omitted, returns swaps for all users under your organization. **limit** `string` *required* Number of swaps to return. Defaults to 10, maximum is 100. **createdBefore** `string` *required* Filter swaps created before this date. ISO format: YYYY-MM-DD. **createdAfter** `string` *required* Filter swaps created after this date. ISO format: YYYY-MM-DD. **Response:** > [accordion] Response > > ```json theme={null} > { > "count": 2, > "data": [ > { > "transferType": "WALLET.SWAP", > "transferDetails": { > "id": "swp_abc123", > "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", > "status": "COMPLETED", > "createdAt": "2025-08-20T03:55:29.437108+00:00", > "updatedAt": "2025-08-20T04:08:10.837+00:00", > "source": { > "currency": "usdc", > "amount": 100, > "chain": "POLYGON", > "userId": "usr_abc123" > }, > "destination": { > "currency": "usdt", > "userId": "usr_abc123", > "amount": 100, > "chain": "POLYGON", > "walletAddress": "0xe5727a4B1d93A26D6A7Adfaae145EFa41ED7f204" > }, > "quoteInformation": { > "sendGross": { > "amount": "100", > "currency": "usdc" > }, > "sendNet": { > "amount": "100", > "currency": "usdc" > }, > "receiveGross": { > "amount": "100", > "currency": "usdt" > }, > "receiveNet": { > "amount": "100", > "currency": "usdt" > }, > "rate": "1", > "expiresAt": "2025-08-20T03:55:59.539+00:00" > }, > "error": null, > "errorDetails": null > } > }, > { > "transferType": "WALLET.SWAP", > "transferDetails": { > "id": "swp_def456", > "requestId": "2cd4f7f1-5940-5ecf-9ad4-c17e0756bf97", > "status": "PENDING", > "createdAt": "2025-08-20T02:30:15.123456+00:00", > "updatedAt": "2025-08-20T02:30:15.123456+00:00", > "source": { > "currency": "usdt", > "amount": 50, > "chain": "POLYGON", > "userId": "usr_abc123" > }, > "destination": { > "currency": "usdc", > "userId": "usr_abc123", > "chain": "POLYGON", > "walletAddress": "0xe5727a4B1d93A26D6A7Adfaae145EFa41ED7f204" > }, > "quoteInformation": { > "sendGross": { > "amount": "50", > "currency": "usdt" > }, > "sendNet": { > "amount": "50", > "currency": "usdt" > }, > "receiveGross": { > "amount": "50", > "currency": "usdc" > }, > "receiveNet": { > "amount": "50", > "currency": "usdc" > }, > "rate": "1", > "expiresAt": "2025-08-20T02:35:15.123456+00:00" > }, > "error": null, > "errorDetails": null > } > } > ], > "nextCursor": "2025-08-20T02:30:15.123456+00:00" > } > ``` **count** `integer` Total number of swaps returned in this response. **data** `array` Array of swap objects. Each object follows the same structure as the swap details returned by the retrieve endpoint. **nextCursor** `string` Timestamp cursor for pagination. Use this value with `createdBefore` parameter to fetch the next page of results. > [!NOTE] > > **Pagination:** To fetch more swaps, use the `nextCursor` value as the > `createdBefore` parameter in your next request. Continue until `count` is less > than your `limit`, indicating you've reached the end. ## Key Concepts > [accordion] Amount Specification > > You can specify the amount in either source or destination: > > **Source amount** (you send exactly 100 USDC): > > ```json theme={null} > { > "source": { > "currency": "usdc", > "amount": "100" > }, > "destination": { > "currency": "usdt" > } > } > ``` > > **Destination amount** (you receive exactly 100 USDT): > > ```json theme={null} > { > "source": { > "currency": "usdc" > }, > "destination": { > "currency": "usdt", > "amount": "100" > } > } > ``` > > Provide amount in only one side - the system calculates the other based on the current rate. > [accordion] Exchange Rates > > The `quoteInformation.rate` shows the exchange rate between currencies. Rates may vary slightly based on liquidity Always verify `receiveNet` to see the exact amount you'll receive after any fees. > [accordion] External Wallet Swaps > > Swap to external wallets (not managed by HIFI) by providing `externalWalletId` or `walletAddress`: > > ```json theme={null} > { > "destination": { > "chain": "POLYGON", > "currency": "usdt", > "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" > } > } > ``` > > Or use a registered external wallet: > > ```json theme={null} > { > "destination": { > "chain": "POLYGON", > "currency": "usdt", > "externalWalletId": "ext_xyz789" > } > } > ``` > [accordion] Swap vs Bridge vs Transfer > > Understanding the differences: > > **Swaps**: Exchange different currencies on the same/across chain (USDC → USDT) > > **Bridges**: Move same currency across chains (USDC on Polygon → USDC on Ethereum) > > **Transfers**: Move same currency to another wallet on same chain (USDC wallet A → USDC wallet B on Polygon) ## Sample Code ### Basic swap flow **1. Create swap** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/swaps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", "source": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdc", "amount": "100" }, "destination": { "userId": "usr_abc123", "chain": "POLYGON", "currency": "usdt" } }' ``` The response will show status `OPEN_QUOTE`. Save the swap `id` from the response. **2. Accept the swap** Accept the swap to execute the exchange: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/swaps/swp_abc123/accept" \ -H "Authorization: Bearer YOUR_API_KEY" ``` The response will show status `CRAETED` for successful swap request acceptance. **3. Verify completion** Review the swap details to confirm: * **Status** – should be `COMPLETED` * **Destination Amount** – the amount received **4. Handle errors** If status is `FAILED`: * Check `error` field for error type * Review `errorDetails` for specific failure reason * Common issues: insufficient balance, unsupported pair, not enough liquidity ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/docs/transactions/transfer) - Same-chain transfers without currency exchange * [Bridging](/docs/transactions/bridging) - Cross-chain asset movement * [Wallets](/docs/wallets) - Understand wallet addresses and balances * [Webhooks](/docs/webhooks) - Real-time swap status notifications * [API Reference](https://docs.hifi.com/api-reference/token-swap/create-a-swap) - Complete endpoint documentation # Transfers Source: https://docs.hifi.com/transactions/transfers Wallet transfers allow you to send stablecoins between wallets on blockchain networks. Transactions can be sent to other HIFI users or external wallet addresses. ## Transfer Types HIFI supports two types of wallet transfers: | Type | Description | Best For | | :- | :- | :- | | **Single Transfer** | Send to one recipient | Individual payments, one-time transactions | | **Batch Transfer** | Send to up to 50 recipients in a single transaction | Payroll, airdrops, bulk distributions | ## Creating Single Transfers Send stablecoins to a single recipient on the same blockchain. ```bash Transfer to HIFI User theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destination": { "userId": "usr_xyz789" }, "amount": 10, "currency": "usdc", "chain": "POLYGON", "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6" }' ``` ```bash Transfer to External Wallet theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destination": { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" }, "amount": 10, "currency": "usdc", "chain": "POLYGON", "requestId": "b51fb3bb-8a48-5cfa-cc2g-c86g2589cdd7" }' ``` The response contains the transfer details: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.TRANSFER", > "transferDetails": { > "id": "xfr_abc123", > "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6", > "createdAt": "2025-09-26T03:04:11.092Z", > "updatedAt": "2025-09-26T03:04:11.092Z", > "chain": "POLYGON", > "currency": "usdc", > "contractAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582", > "status": "CREATED", > "failedReason": null, > "source": { > "userId": "usr_abc123", > "walletAddress": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7", > "walletType": "INDIVIDUAL" > }, > "destination": { > "userId": "usr_xyz789", > "walletAddress": "0x1b932E54e77Aeb688144550d5a493Ea99E20Daa7" > }, > "amount": 10, > "receipt": { > "transactionHash": null, > "userOpHash": null > } > } > } > ``` **transferDetails.id** `string` Unique transfer ID. Use this to check status using the [Retrieve a crypto transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer) endpoint. **transferDetails.status** `string` Transfer status. Progression: `CREATED` → `INITIATED` → `PENDING` → `COMPLETED`. See [Transaction Status](#transaction-status) for details. **transferDetails.source** `object` Details about the sender including wallet address and user information. **transferDetails.destination** `object` Details about the recipient including wallet address and user information (if HIFI user). **transferDetails.amount** `number` Transfer amount in the specified currency. **transferDetails.receipt** `object` Blockchain transaction receipt. Contains `transactionHash` and `userOpHash` once the transfer is confirmed on-chain. > [!NOTE] > > For detailed response field documentation, see the [Create Crypto > Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-crypto-transfer) > API reference. ## Creating Batch Transfers Send stablecoins to up to 50 recipients on the same blockchain. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers/batch" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destinations": [ { "userId": "usr_xyz789", "amount": 10 }, { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "amount": 5 } ], "currency": "usdc", "chain": "POLYGON", "requestId": "c62gc4cc-9b59-6dgb-dd3h-d97h3690dee8" }' ``` > [!WARNING] > > **External Wallet Registration:** External wallet addresses in batch transfers > must be registered before use. Register them using the [External Wallets > API](https://docs.hifi.com/api-reference/wallet/add-external-wallets-to-a-user). Let's take a look at the response: > [accordion] Response > > ```json theme={null} > { > "transferType": "WALLET.TRANSFER.BATCH", > "transferDetails": { > "id": "bat_abc123", > "requestId": "c62gc4cc-9b59-6dgb-dd3h-d97h3690dee8", > "createdAt": "2025-04-05T00:55:50.609Z", > "updatedAt": "2025-04-05T00:56:33.236Z", > "chain": "POLYGON", > "currency": "usdc", > "contractAddress": "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582", > "status": "COMPLETED", > "source": { > "userId": "usr_abc123", > "walletAddress": "0x99a8c5ED386d217BC6ff0AA1b3585606D475432B", > "walletType": "INDIVIDUAL" > }, > "destination": { > "batch": [ > { > "amount": "10", > "userId": "usr_xyz789", > "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" > }, > { > "amount": "5", > "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" > } > ] > }, > "receipt": { > "transactionHash": "0x57f0cd3429ea425d982882243428ef4a1eda5f1be2157c1b34ea48b49b24fe7f", > "userOpHash": "0xef7bdb071b1fcfb5df629bd4d27ffa6dc32d0a5df676f26fb8c25311df1185ac" > } > } > } > ``` **transferDetails.id** `string` Unique batch transfer ID. Use this to check status using the [Retrieve a crypto transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer) endpoint. **transferDetails.status** `string` Batch transfer status. Progression: `CREATED` → `INITIATED` → `PENDING` → `COMPLETED`. See [Transaction Status](#transaction-status) for details. **transferDetails.source** `object` Details about the sender including wallet address and user information. **transferDetails.destination.batch** `array` Array of destination recipients. Each item contains `amount`, optional `userId` (for HIFI users), and `walletAddress`. **transferDetails.receipt** `object` Blockchain transaction receipt. Contains `transactionHash` and `userOpHash` once the transfer is confirmed on-chain. > [!NOTE] > > For detailed field documentation, see the [Create Batch > Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-batch-transfer) > API reference. ## Transfer Status Wallet transfets progress through several statuses: | Status | Description | | :- | :- | | **NOT_INITIATED** | Transfer not submitted due to validation error | | **CREATED** | Transfer request created and awaiting processing | | **INITIATED** | Transfer submitted to blockchain | | **PENDING** | Transaction awaiting on-chain confirmation | | **COMPLETED** | Transfer successfully confirmed on-chain | | **FAILED** | Transfer failed (check `failedReason` for details) | | **UNKNOWN** | Transfer status could not be determined | ## Tracking Transfers > [!NOTE] > > **Status Updates:** Subscribe to `WALLET.TRANSFER.UPDATE` webhook events to > receive real-time status notifications. See [Webhooks](/docs/webhooks/wallet) > for setup instructions. Monitor transaction status using the [Retrieve Crypto Transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer) endpoint. The response structure matches the create endpoint shown above. ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/wallets/transfers/xfr_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Use the `transactionHash` in the response to view the transaction on a blockchain explorer like [Polygonscan](https://polygonscan.com/) or [Etherscan](https://etherscan.io/). ## Transaction Approvals For organizations requiring multi-party authorization, all transactions support an optional approval workflow. ### How Approvals Work **1. Enable approval requirement** Set `requireApproval: true` when creating a transaction. **2. Review pending transaction** The transaction enters `PENDING_APPROVAL` status. Dashboard admins are notified via email and webhook to approve or reject the transaction. Any admin can make the decision. **3. Execution or rejection** If approved, the transaction is executed. If rejected, it's cancelled. **Request with approval:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers/batch" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destinations": [...], "currency": "usdc", "chain": "POLYGON", "requireApproval": true, "requestId": "c62gc4cc-9b59-6dgb-dd3h-d97h3690dee8" }' ``` When approval is required, the response includes approval details: > [accordion] Response > > ```json theme={null} > { > "transferDetails": { > "id": "bat_abc123", > "status": "PENDING_APPROVAL", > "receipt": { > "approval": { > "id": "apv_xyz789", > "status": "PENDING", > "transferId": "bat_abc123", > "transferType": "WALLET.TRANSFER.BATCH", > "votes": [ > { > "approverId": "profile_abc123", > "vote": "APPROVE", > "comment": "Approved for processing", > "createdAt": "2025-02-03T16:12:41.503+00:00" > } > ] > } > } > } > } > ``` **transferDetails.status** `string` Transfer status. When `requireApproval: true` is set, the status will be `PENDING_APPROVAL` until approved. **transferDetails.receipt.approval** `object` Approval object containing approval details and votes when approval is required. **properties** **id** `string` Unique approval ID. **status** `string` Approval status: `PENDING`, `APPROVED`, or `REJECTED`. **votes** `array` Array of approval votes. Each vote contains `approverId`, `vote` (APPROVE/REJECT), optional `comment`, and `createdAt`. > [!NOTE] > > **Configuring Approvers:** Manage your team roles in the HIFI Dashboard. > Members can create transactions, but only admins can approve. ## Key Concepts > [accordion] HIFI vs External Transactions > > **HIFI transactions** use `userId` as the destination while **external transactions** use a `walletAddress` as the destination. > > > [!WARNING] > > > > **Registration Required:** External wallet addresses must be registered before use. Create an external wallet record using the [External Wallets API](https://docs.hifi.com/api-reference/wallet/add-external-wallets-to-a-user) before including the address in transaction requests. > [accordion] Batch Transaction Limits > > Batch transactions have the following constraints: - **Maximum recipients:** > 50 per batch - **Supported chains:** Currently POLYGON only - **Supported > currencies:** USDC, USDT If you need to send to more than 50 recipients, > create multiple batches. > [accordion] Transaction Receipts > > The `receipt` object provides blockchain verification: > > * **transactionHash:** Unique identifier for the blockchain transaction. Use this to view the transaction on block explorers. > * **userOpHash:** For account abstraction wallets, this is the user operation hash > > Both values are `null` until the transaction is confirmed on-chain (status becomes COMPLETED). ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallets](/docs/wallets) - Understand wallet addresses and balances * [Webhooks](/docs/webhooks) - Real-time transaction status notifications * [API: Single Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-crypto-transfer) - Complete single transfer documentation * [API: Batch Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-batch-crypto-transfer) - Complete batch transfer documentation # Overview Source: https://docs.hifi.com/users/overview A User represents an individual or business on the HIFI platform. Users are the foundation of all transaction activity - every onramp, offramp, and transfer is associated with a user. ## User Types HIFI supports two types of users: | Type | Description | Use Cases | | :- | :- | :- | | **Individual** | A natural person | Personal accounts, freelancers, employees | | **Business** | A legal entity | Companies, NGOs, partnerships | ## User Capabilities What users can do depends on their verification status: > [accordion] Unverified Users > > **Available immediately after creation:** > > * ✅ Receive cryptocurrency to their wallet addresses > * ✅ Send cryptocurrency to other HIFI users > * ✅ Transfer crypto to external wallets > > **Not available:** > > * ❌ Fiat onramp (deposit USD to receive stablecoins) > * ❌ Fiat offramp (send stablecoins to receive USD) > [accordion] KYC-Verified Users > > **All unverified capabilities, plus:** > > * ✅ Onramp fiat to stablecoins via virtual accounts > * ✅ Offramp stablecoins to fiat bank accounts > * ✅ Access to regulated fiat rails (USD, EUR, etc.) > > **Requirements:** > > * Complete KYC verification for desired rails > * Maintain active compliance status ## User Lifecycle ### Creation Users are created in two steps: 1. **Generate Terms of Service link** - User must review and accept HIFI's Terms of Service 2. **Create user record** - Once terms are accepted, create the user with basic information Upon creation, users are automatically provisioned with cryptocurrency wallet addresses on supported blockchains (Polygon, Ethereum, etc.). These wallets are immediately functional for sending and receiving digital assets. **Create a user:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "individual", "firstName": "Jane", "lastName": "Smith", "email": "jane@example.com", "dateOfBirth": "1990-05-15", "address": { "addressLine1": "456 Market St", "city": "San Francisco", "stateProvinceRegion": "CA", "postalCode": "94102", "country": "USA" }, "signedAgreementId": "8cb49537-bcf9-41b1-8d8c-c9c200d7341b", "requestId": "705f1f8b-a080-467c-b683-174eca409928" }' ``` **Response:** ```json theme={null} { "id": "usr_abc123", "type": "individual", "email": "jane@example.com", "name": "Jane Smith", "wallets": { "INDIVIDUAL": { "POLYGON": { "address": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7" }, "ETHEREUM": { "address": "0xC1c767eaB34b3Cc2C33a354f6Ff2c20fCB98D3C9" } } } } ``` ### Verification To unlock fiat rails, users must complete KYC (Know Your Customer) verification. KYC requirements vary by rail (USD, EUR, etc.) and include: * Personal information (name, date of birth, address, tax ID) * Identity documents (passport, driver's license, or ID card) * Proof of address (in some cases) The KYC process typically takes: * **Sandbox:** Typically auto-approved within minutes for testing (may be blocked by compliance checks like PEP screening) * **Production:** 1-3 business days for manual review Once approved, the user can access fiat onramp and offramp capabilities for that specific rail. **Check KYC status:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/kyc/status?rails=USD" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ### Management Users can be updated throughout their lifecycle to: * Update contact information * Add or modify KYC data * Link additional bank accounts * Add virtual accounts for different currencies **Retrieve user details:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## User Wallets Every user receives wallet addresses on supported blockchains automatically at creation. These wallets are: * **Custodial** - Managed by HIFI for security and compliance * **Multi-chain** - Available on Polygon, Ethereum, Base, Solana, Flow and other supported networks * **Immediately active** - Ready to send and receive crypto without additional setup Wallet addresses never change and can be shared with other users or external parties for receiving cryptocurrency. ## User Accounts Users can have multiple account types for different purposes: | Account Type | Purpose | Direction | | :- | :- | :- | | **Virtual Account** | Dedicated account for fiat deposits | Fiat → Crypto (onramp) | | **Onramp Account** | One-time account for fiat deposits | Fiat → Crypto (onramp) | | **Offramp Account** | Account to send fiat withdrawals | Crypto → Fiat (offramp) | These accounts are created separately after user creation and require KYC verification to be functional. ## Key Concepts > [accordion] Terms of Service > > Before creating a user, they must accept HIFI's Terms of Service. This ensures compliance with data handling and regulatory requirements. The `signedAgreementId` from the ToS acceptance is required when creating the user. > [accordion] Request IDs > > All user creation requests require a `requestId` (UUID). This ensures > idempotency - retrying the same request won't create duplicate users. > [accordion] Rails & KYC > > A "rail" is a payment corridor enabling conversions between specific fiat > currencies and stablecoins. For example, the USD rail allows conversion > between USD and USDC. Each rail has its own KYC requirements. ## Sample Code ### Create and verify a user **1. Generate ToS link** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/tos-link" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"idempotencyKey": "8cb49537-bcf9-41b1-8d8c-c9c200d7341b"}' ``` **2. Create user (after ToS accepted)** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "individual", "firstName": "Jane", "lastName": "Smith", "email": "jane@example.com", "signedAgreementId": "8cb49537-bcf9-41b1-8d8c-c9c200d7341b", "requestId": "705f1f8b-a080-467c-b683-174eca409928" }' ``` **3. Update KYC information** Provide required personal information: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/kyc" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "phone": "+14155551234", "taxIdentificationNumber": "123456789", "nationality": "USA" }' ``` **4. Upload identity documents** First, upload the document files: ```bash theme={null} # Upload front side curl -X POST "https://sandbox.hifibridge.com/v2/files" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: multipart/form-data" \ -F "file=@drivers_license_front.png" # Upload back side curl -X POST "https://sandbox.hifibridge.com/v2/files" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: multipart/form-data" \ -F "file=@drivers_license_back.png" ``` Then attach the documents to the user's KYC: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/kyc/documents" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '[ { "type": "DRIVERS", "subType": "FRONT_SIDE", "issuedCountry": "USA", "fileId": "file_JzALYV2L1-4LBmaxZ6GCm" }, { "type": "DRIVERS", "subType": "BACK_SIDE", "issuedCountry": "USA", "fileId": "file_KpBMZW3M2-5MCnbyA7HDn" } ]' ``` **5. Submit KYC application** Submit for review once all information and documents are provided: ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/kyc/submissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"rails": "USD"}' ``` ### Check user capabilities Determine what a user can do based on their KYC status: > [accordion] Get user details including wallet addresses > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` > [accordion] Check KYC status for specific rail > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/kyc/status?rails=USD" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Quickstart Guide](/docs/quickstart) - Step-by-step tutorial for creating and verifying users * [KYC Documentation](/docs/users/kyc) - Detailed KYC requirements and process * [Virtual Accounts](/docs/accounts/virtual-accounts) - Set up fiat deposit accounts * [Offramp Accounts](/docs/accounts/offramp-accounts) - Configure withdrawal bank accounts * [API Reference: Users](https://docs.hifi.com/api-reference/user/create-a-user) - Complete endpoint documentation # Terms of Service Source: https://docs.hifi.com/users/tos Users must accept HIFI's terms before you can create their account. You have two options for collecting this consent: 1. **Use HIFI's ToS Link** - Generate a ToS link and have users accept via HIFI-hosted pages (redirect or embedded) 2. **Reference HIFI's Terms in Your Privacy Policy** - Include HIFI's terms by reference in your own ToS/privacy policy and collect acceptance through your existing flow Choose the approach that best fits your application architecture and user experience. ## Option 1: Reference Terms If you already have a terms of service or privacy policy acceptance flow, you can reference HIFI's terms within it. This approach lets you keep users in your own onboarding flow while still generating the required signed agreement ID in the background. ### How It Works 1. **Include HIFI's terms by reference** in your privacy policy or terms of service 2. **Collect acceptance** through your existing flow (checkbox, button, etc.) 3. **Generate signed agreement ID in the background** when user accepts 4. **Create user account** with the generated `signedAgreementId` ### Implementation Add a reference to HIFI's terms in your privacy policy: ```markdown theme={null} ## Third-Party Services We use HIFI to process financial transactions. By using our service, you also agree to HIFI's [Terms & Conditions](https://policy.hifi.com/terms-conditions) and [Privacy Policy](https://policy.hifi.com/privacy-policy). ``` > [!NOTE] > > After updating your Terms of Service, please contact us with documentation or > evidence of the update. Our team will conduct periodic reviews to ensure > continued compliance. When the user accepts your privacy policy (which includes HIFI's terms by reference), generate a signed agreement ID in the background: ```javascript theme={null} import { v4 as uuidv4 } from "uuid"; async function handlePrivacyPolicyAcceptance() { // Generate a UUID that will serve as the signedAgreementId const signedAgreementId = uuidv4(); // Generate ToS link in the background to create the signed agreement const response = await fetch("https://sandbox.hifi.com/v2/tos-link", { method: "POST", headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ idempotencyKey: signedAgreementId, }), }); const { url, signedAgreementId: agreementId } = await response.json(); // Extract session token from URL const urlParams = new URLSearchParams(new URL(url).search); const sessionToken = urlParams.get("sessionToken"); // Accept ToS programmatically in the background await fetch( `https://sandbox.hifi.com/v2/tos-link/:signedAgreementId/accept`, { method: "POST", headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ sessionToken: sessionToken, }), }, ); // Store signedAgreementId for user creation return agreementId; } ``` Then create the user account with the `signedAgreementId`: ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/users" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "signedAgreementId": "a4f8b3c2-1d5e-4a7b-9c8d-3e2f1a0b9c8d", "email": "user@example.com", "firstName": "Jane", "lastName": "Doe" }' ``` > [!NOTE] > > When using this approach, you still need to generate a signed agreement ID, > but you can do it in the background without redirecting users to a HIFI-hosted > ToS page. The user never sees the ToS link - you handle the acceptance > programmatically. ## Option 2: Use ToS Link **Terms of Service (ToS) Links** enable you to collect user consent through HIFI-hosted pages. This approach provides explicit proof of consent and is useful when you want HIFI to handle the ToS presentation. ### How ToS Links Work **1. Generate ToS link** Create a unique ToS link with a UUID that will serve as the signed agreement ID. **2. Present to user** Display the ToS page to your user (via redirect or embedded flow). **3. User accepts** User reviews and accepts HIFI's terms and privacy policy. **4. Create user account** Use the same UUID (signedAgreementId) to create the user account. ### Implementation Options When using HIFI's ToS Link System, you can implement it in two ways depending on your application flow: ### Redirect Flow (Recommended) Redirect users to a HIFI-hosted ToS page. Best for onboarding flows where redirection is acceptable. **Advantages:** * HIFI handles the entire ToS presentation and acceptance * Automatic styling and updates to terms * Can be white-labeled with your branding (contact support) **Use when:** * Onboarding new users in a web application * User can navigate away and return to your app * You want HIFI to manage ToS updates automatically ### Embedded Flow Display ToS acceptance inline within your application. Best for embedded experiences where redirection breaks the user experience. **Advantages:** * User stays within your application * Complete control over UI/UX * Works in mobile apps and embedded contexts **Use when:** * Building mobile applications * Creating embedded financial widgets * User cannot be redirected out of your application ## Redirect Flow Implementation **1. Generate ToS link** Create a ToS link using the [Generate ToS Link](https://docs.hifi.com/api-reference/tos-link/generate-tos-link) endpoint. **Request:** ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/tos-link" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "idempotencyKey": "a4f8b3c2-1d5e-4a7b-9c8d-3e2f1a0b9c8d", "redirectUrl": "https://yourapp.com/onboarding/complete" }' ``` **Request Fields:** * **idempotencyKey** (required): Unique UUID that will become the signedAgreementId. Generate a new UUID for each user. * **redirectUrl** (optional): URL to redirect user after accepting ToS. Include query parameters if needed. * **templateId** (optional): Custom ToS template ID from HIFI Dashboard. Omit to use HIFI's default template. **Response:** ```json theme={null} { "url": "TERMS_OF_SERVICE_URL", "signedAgreementId": "a4f8b3c2-1d5e-4a7b-9c8d-3e2f1a0b9c8d" } ``` **2. Redirect user** Redirect the user to the returned `url`. They'll see HIFI's ToS page where they can review and accept the terms. ```javascript theme={null} // Redirect user to ToS page window.location.href = response.url; ``` **3. Handle redirect back** After the user accepts, they're redirected to your `redirectUrl`. The `signedAgreementId` matches your original `idempotencyKey`. ```javascript theme={null} // On your redirect page const signedAgreementId = 'a4f8b3c2-1d5e-4a7b-9c8d-3e2f1a0b9c8d'; // Your original UUID // Proceed to create user createUser(signedAgreementId); ``` **4. Create user** Use the `signedAgreementId` when creating the user account: ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/users" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "signedAgreementId": "a4f8b3c2-1d5e-4a7b-9c8d-3e2f1a0b9c8d", "email": "user@example.com", "firstName": "Jane", "lastName": "Doe" }' ``` ## Embedded Flow Implementation For applications where redirection isn't possible, display ToS acceptance inline. **1. Display terms inline** Show users HIFI's terms and privacy policy links within your application: ```jsx theme={null}
``` **2. Generate ToS link** When the user checks the box, generate a ToS link to get the session token: ```javascript theme={null} import { v4 as uuidv4 } from 'uuid'; async function handleTosAcceptance(accepted) { if (accepted) { const idempotencyKey = uuidv4(); // Generate ToS link to get session token const response = await fetch('https://sandbox.hifi.com/v2/tos-link', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ idempotencyKey: idempotencyKey }) }); const { url, signedAgreementId } = await response.json(); // Extract session token from URL const urlParams = new URLSearchParams(new URL(url).search); const sessionToken = urlParams.get('sessionToken'); // Store for next step setSessionToken(sessionToken); setSignedAgreementId(signedAgreementId); } } ``` **3. Accept ToS programmatically** Call the accept endpoint to record the user's consent: ```javascript theme={null} async function acceptTos(sessionToken) { const response = await fetch(`https://sandbox.hifi.com/v2/tos/${sessionToken}`, { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ sessionToken: sessionToken }) }); if (response.ok) { console.log('ToS accepted successfully'); return true; } else { console.error('Failed to accept ToS'); return false; } } ``` **4. Create user** After successful ToS acceptance, create the user with the `signedAgreementId`: ```javascript theme={null} async function createUserWithTos(signedAgreementId) { const response = await fetch('https://sandbox.hifi.com/v2/users', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ signedAgreementId: signedAgreementId, email: 'user@example.com', firstName: 'Jane', lastName: 'Doe' }) }); return response.json(); } ``` ## Custom Templates White-label the ToS page with your branding: 1. **Contact Support:** Request custom template creation 2. **Provide Branding:** Share your logo, colors, and any custom terms 3. **Receive Template ID:** HIFI creates a template and provides the ID 4. **Use Template ID:** Include `templateId` when generating links ```bash theme={null} curl -X POST "https://sandbox.hifi.com/v2/tos-link" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "idempotencyKey": "a4f8b3c2-1d5e-4a7b-9c8d-3e2f1a0b9c8d", "redirectUrl": "https://yourapp.com/onboarding/complete", "templateId": "tmpl_abc123" }' ``` ## Key Concepts > [accordion] Signed Agreement ID > > The `signedAgreementId` serves two purposes: > > 1. **Idempotency key** when generating the ToS link > 2. **Proof of consent** when creating the user account > > Always use the same UUID for both operations. This links the user's ToS acceptance to their account creation. > [accordion] Why ToS Is Required > > HIFI must collect explicit user consent in order to process personal and > financial data, comply with privacy regulations such as GDPR and CCPA, and to > establish terms of service for financial operations. Users cannot be created > without accepting these terms. > [accordion] ToS Link Expiration > > ToS links do not expire. However, the acceptance is only valid when the user > completes the flow. If a user doesn't accept within your onboarding session, > generate a new link with a new UUID. > [accordion] Testing ToS Flow > > In sandbox environment: > > * ToS links work identically to production > * Use test signedAgreementIds for testing > * Verify the entire flow before going live > > Always test both redirect and embedded flows if you support multiple platforms. ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Users](/docs/users) - Create user accounts after ToS acceptance * [HIFI Terms & Conditions](https://policy.hifi.com/terms-conditions) - View the terms users accept * [HIFI Privacy Policy](https://policy.hifi.com/privacy-policy) - View the privacy policy users accept * [API Reference](https://docs.hifi.com/api-reference/tos-link/generate-tos-link) - Complete endpoint documentation # Wallets Source: https://docs.hifi.com/wallets A Wallet is a cryptocurrency account that holds and moves digital assets on the HIFI platform. Every wallet belongs to a user and can hold balances in supported stablecoins across multiple blockchain networks. ## Automatic Provisioning Wallets are automatically created when a user is created - no separate setup required. Each user receives wallet addresses on Polygon and Ethereum. Other chains can be added later. ## Wallet Properties > [accordion] Custodial > > The wallet providers HIFI works with manage the private keys for security and regulatory compliance. This enables features such as account recovery and compliance monitoring, while users still retain full control over their funds through HIFI’s API. > [accordion] Multi-Chain > > Each user has a unique wallet address on every supported blockchain. HIFI currently supports Polygon, Ethereum, Solana, and Base, with additional chains available based on customer demand. Each blockchain has its own address - for example, a single user has separate addresses for USDC on Polygon, USDC on Ethereum, and USDC on Solana. > [accordion] Multi-Currency > > Wallets can hold multiple stablecoins simultaneously. Supported currencies include USDC and USDT, with additional stablecoins available based on customer needs. ## Support Chain and Currencies | Chain | Currencies | | | - | - | - | | Ethereum | USDT, USDC, USDG, PYUSD | | | Polygon PoS | USDT, USDC | | | Solana | USDT, USDC, USDG, PYUSD | | | Base | USDC | | | Tron | USDT | | | Arbitrum | USDC | available upon request | | Optimism | USDC | available upon request | | Canton | USDCx | available upon request | | Flow Evm | PYUSD0 | available upon request | | BNB Smart Chain | USDT | coming soon... | | XRPL | USDC, RLUSD | coming soon... | | ARC | USDC | | ## Checking Balances Get real-time balance information for a specific currency on a specific chain using the [Get Wallet Balance](https://docs.hifi.com/api-reference/wallet/get-wallet-balance) endpoint. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/wallets/balance?chain=POLYGON¤cy=usdc" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Query Parameters:** | Parameter | Type | Required | Description | Example Values | | :- | :- | :- | :- | :- | | `chain` | string | ✅ | Blockchain network | `POLYGON`, `ETHEREUM`, `SOLANA`, `BASE` | | `currency` | string | ✅ | Stablecoin to check balance for | `usdc`, `usdt` | **Response:** ```json theme={null} { "balance": "10000", "displayBalance": "0.01", "tokenInfo": { "chain": "POLYGON_MAINNET", "contractAddress": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359", "assetType": "ERC20", "quantity": "10000", "symbol": "USDC", "decimals": 6 } } ``` **Response Fields:** **balance** `string` Raw balance in smallest unit (e.g., micro-USDC for USDC with 6 decimals) **displayBalance** `string` Human-readable balance in standard units (e.g., "0.01" USDC) **tokenInfo.decimals** `number` Number of decimal places for this token (6 for USDC) **tokenInfo.contractAddress** `string` Smart contract address for this token on the specified chain > [!NOTE] > > **Balance Units:** The `balance` field returns the amount in the token's smallest unit. For USDC (6 decimals), a balance of "10000" equals 0.01 USDC. Use `displayBalance` for user-facing displays. ## Receiving Funds Wallets can receive funds through two methods: ### Blockchain Transfers Wallets can receive stablecoins from: * Other HIFI users (instant, no fees) * External wallets (standard blockchain confirmation times) * Exchange withdrawals * Any wallet address on supported networks To receive funds, simply share the user's wallet address for the specific blockchain and currency. No additional setup required. **Get wallet addresses:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response (excerpt):** ```json theme={null} { "id": "usr_abc123", "wallets": { "INDIVIDUAL": { "POLYGON": { "address": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7" }, "ETHEREUM": { "address": "0xC1c767eaB34b3Cc2C33a354f6Ff2c20fCB98D3C9" }, "SOLANA": { "address": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin" } } } } ``` ### Fiat Onramps When a user deposits fiat currency (USD, EUR, etc.) through a virtual account, it's automatically converted to stablecoins and credited to their wallet. This requires: 1. **KYC verification** for the relevant rail 2. **Virtual account setup** for the desired fiat currency See [Virtual Accounts](/docs/accounts/virtual-accounts) for detailed setup instructions. ## Tracking Deposits Track all incoming blockchain deposits via the [Get Inbound Deposits](https://docs.hifi.com/api-reference/wallet/get-inbound-deposits) endpoint, which returns a full history of stablecoins received by the user's wallet. **Request:** ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/wallets/deposits" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response:** ```json theme={null} { "count": 1, "records": [ { "userId": "usr_abc123", "id": "dep_xyz789", "createdAt": "2025-06-25T15:47:16.983978+00:00", "updatedAt": "2025-06-25T15:47:16.983978+00:00", "wallet": { "id": "wlt_def456", "address": "0x0B95D270400BE4319EAFbfDD82F6C38B59ab54Ef", "chain": "POLYGON", "walletType": "INDIVIDUAL" }, "transaction": { "transactionHash": "0xe5284c4cb35ae9b5eb0ae23b840032f320b87b63f8967ee9b67ee09dfe6a194a", "chain": "POLYGON", "currency": "usdc", "status": "COMPLETED", "sourceAddress": "0x8B3D4E9C42F7A1B5D2E6F8A9C3B7D5E1F4A2C8B6", "destinationAddress": "0x0B95D270400BE4319EAFbfDD82F6C38B59ab54Ef", "contractAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582", "amount": "19", "unitAmount": "19000000" } } ], "nextCursor": "2025-06-25T15:47:16.983978+00:00" } ``` **Response Fields:** **transaction.transactionHash** `string` Blockchain transaction hash (view on block explorer) **transaction.status** `string` Deposit status: `PENDING`, `COMPLETED`, `FAILED` **transaction.amount** `string` Human-readable amount (e.g., "19" USDC) **transaction.unitAmount** `string` Raw amount in smallest unit (e.g., "19000000" micro-USDC) **nextCursor** `string` Pagination cursor for retrieving additional records > [!NOTE] > > **Real-Time Updates:** Subscribe to `WALLET.DEPOSIT` webhook events to receive immediate notifications when deposits are detected on the blockchain. ## Sending Funds Wallets can send stablecoins through two methods: ### Wallet Transfers Send stablecoins to other HIFI users or external wallet addresses using the [Create Crypto Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-crypto-transfer) endpoint. **Transfer to another HIFI user:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destination": { "userId": "usr_xyz789" }, "amount": 10, "currency": "usdc", "chain": "POLYGON", "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6" }' ``` **Transfer to external wallet:** ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/wallets/transfers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": { "userId": "usr_abc123" }, "destination": { "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb" }, "amount": 10, "currency": "usdc", "chain": "POLYGON", "requestId": "b51fb3bb-8a48-5cfa-cc2g-c86g2589cdd7" }' ``` > [!NOTE] > > **No Registration Required:** You can send to any external wallet address directly without registering it first. Simply provide the address in the `destination.address` field. ### Fiat Offramps Convert stablecoins to fiat currency and send to a bank account. This requires: 1. **KYC verification** for the relevant rail 2. **Offramp account setup** with bank account details See [Offramp](/docs/transactions/offramps) for detailed instructions. ## Key Concepts > [accordion] Wallet Types > > Each wallet has a `walletType` that indicates its purpose: > > * **INDIVIDUAL** - Personal wallet for individual users > * **BUSINESS** - Business wallet for corporate users > > The wallet type affects compliance requirements and transaction limits. > [accordion] Chain-Specific Addresses > > Each blockchain network has its own address format: - **Ethereum/Polygon/Base** - 0x format (e.g., `0x1b932E54...`) - **Solana** - Base58 format (e.g., `9xQeWvG816...`) Always use the correct address for the target blockchain to avoid lost funds. > [accordion] Token Decimals > > Stablecoins use different decimal places: - **USDC** - 6 decimals (1 USDC = 1,000,000 micro-USDC) - **USDT** - 6 decimals Always check the `decimals` field in API responses to correctly display amounts. > [accordion] Confirmation Times > > Blockchain transfer speeds vary by network: > > * **Polygon** - \~2 seconds > * **Ethereum** - \~12 seconds > * **Solana** - \~0.4 seconds > * **Base** - \~2 seconds > > HIFI credits deposits after the blockchain confirms the transaction. ## Sample Code **1. Check balance before transfer** Get the current balance using the [Get Wallet Balance](https://docs.hifi.com/api-reference/wallet/get-wallet-balance) endpoint. ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/wallets/balance?chain=POLYGON¤cy=usdc" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Check that `displayBalance` is greater than or equal to the amount you want to send. If insufficient, the transfer will fail with an insufficient balance error. **2. Monitor deposit status** List recent deposits using the [Get Inbound Deposits](https://docs.hifi.com/api-reference/wallet/get-inbound-deposits) endpoint. ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/users/usr_abc123/wallets/deposits" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Look for the deposit record with the matching `transactionHash`. The `status` field shows: * `PENDING` - Waiting for blockchain confirmation * `COMPLETED` - Funds credited to wallet * `FAILED` - Transaction failed (funds not received) Alternatively, set up `WALLET.DEPOSIT` webhook events for real-time notifications instead of polling the API. **3. Display balance to users** Convert the raw balance response to a user-friendly display format. ```javascript theme={null} // Example: Convert raw balance to display format const response = await fetch( "https://sandbox.hifibridge.com/v2/users/usr_abc123/wallets/balance?chain=POLYGON¤cy=usdc", { headers: { Authorization: "Bearer YOUR_API_KEY" }, } ); const data = await response.json(); // Use displayBalance for user-facing displays console.log(`Balance: ${data.displayBalance} USDC`); // Or calculate manually from raw balance and decimals const displayAmount = parseFloat(data.balance) / Math.pow(10, data.tokenInfo.decimals); console.log(`Balance: ${displayAmount.toFixed(2)} USDC`); ``` ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Users](/docs/users) - Create users and understand wallet provisioning * [Wallet Transfers](/docs/transactions/transfer) - Send stablecoins between wallets * [Virtual Accounts](/docs/accounts/virtual-accounts) - Set up fiat onramps to wallets * [Offramps](/docs/transactions/offramps) - Convert wallet balances to fiat * [Webhooks](/docs/webhooks) - Real-time deposit and transfer notifications * [API Reference](https://docs.hifi.com/api-reference/wallet/retrieve-wallet-balance) - Complete endpoint documentation # Events & Webhooks Source: https://docs.hifi.com/webhooks Webhooks deliver real-time event notifications from HIFI to your application. When events occur in your HIFI account, HIFI sends HTTP POST requests to your registered webhook endpoints, enabling your systems to respond immediately. ## How Webhooks Work **1. Register endpoint** Configure a webhook endpoint URL in the HIFI Dashboard. **2. Receive events** HIFI sends POST requests to your endpoint when events occur. **3. Verify signature** Validate the JWT signature using your webhook secret to ensure authenticity. **4. Process event** Execute your application logic based on the event data. **5. Return 2xx response** Respond with a 2xx status code to acknowledge receipt. ## Registering Webhooks Register webhook endpoints in the HIFI Dashboard: 1. Navigate to [**Developer → Webhooks**](https://app.hifi.com/developer/webhooks) 2. Enter your webhook URL (must be HTTPS) 3. Save to receive your webhook secret > [!NOTE] > > **Webhook Secret:** After registration, you'll receive a public key used to > verify webhook signatures. Store this securely - you'll need it to validate > incoming requests. ## Event Structure All webhook events follow a consistent structure: ```json theme={null} { "eventId": "evt_1957117404034e3ade", "eventCategory": "USER", "eventType": "USER.CREATE", "eventAction": "CREATE", "data": { "id": "usr_abc123", "email": "user@example.com", "type": "individual", "wallets": { "INDIVIDUAL": { "POLYGON": { "address": "0xa8A642FBA80749318036C97344fC73aE0B64c608" } } } }, "createdAt": "2025-03-07T14:51:44.099Z", "timestamp": "2025-03-07T14:52:00.375Z", "version": "v2" } ``` **Event Fields:** **eventId** `string` Unique identifier for this webhook event. **eventCategory** `string` Broad category describing the domain of the event (e.g., USER, WALLET, ONRAMP, OFFRAMP). **eventType** `string` Specific event type or trigger (such as USER.CREATE, WALLET.TRANSFER.UPDATE). **eventAction** `string` Operation performed (CREATE, UPDATE, DELETE). **data** `object` Object containing details and payload for this event (structure varies by event type). **createdAt** `string` ISO timestamp when the event was generated by HIFI. **timestamp** `string` ISO timestamp when the webhook was delivered. **version** `string` Version of the webhook/event payload schema (e.g., v2). ## Event Types HIFI sends webhook events for various types of operations. Each event category has a dedicated page with detailed information about the event types, payloads, and examples. * **[User Events](/docs/webhooks/user-events)** - Events for user creation and updates * **[KYC Events](/docs/webhooks/kyc-events)** - Events for KYC data and status changes * **[Wallet Events](/docs/webhooks/wallet-events)** - Events for wallet transfers, bridges, and token balance updates * **[Account Events](/docs/webhooks/account-events)** - Events for onramp, offramp, and virtual account creation and updates * **[Onramp Events](/docs/webhooks/onramp-events)** - Events for onramp transfer creation and status updates * **[Offramp Events](/docs/webhooks/offramp-events)** - Events for offramp transfer creation and status updates ## Verifying Webhook Signatures **Critical:** Always verify webhook signatures to ensure requests are from HIFI and haven't been tampered with. ### Verification Process Webhooks include a JWT token in the `Authorization` header. Verify this token using your webhook public key: 1. Extract the JWT token from the `Authorization: Bearer ` header 2. Verify the token using your webhook public key with RS256 algorithm 3. If verification succeeds, process the event 4. If verification fails, reject the request with 401 status ### Implementation Examples ```python Python theme={null} from flask import Flask, request, jsonify import jwt app = Flask(**name**) webhook_public_key = '''-----BEGIN PUBLIC KEY----- your_webhook_public_key_here -----END PUBLIC KEY-----''' @app.route('/webhook', methods=['POST']) def webhook(): auth_header = request.headers.get('Authorization') if not auth_header: return 'Authorization header is missing', 401 jwt_token = auth_header.split(' ')[1] try: decoded = jwt.decode(jwt_token, webhook_public_key, algorithms=['RS256']) print('Token is valid. Decoded payload:', decoded) # Process the event event_type = decoded.get('eventType') event_data = decoded.get('data') # Your application logic here handle_event(event_type, event_data) return '', 200 except jwt.ExpiredSignatureError: print('Token has expired') return 'Token has expired', 401 except jwt.InvalidTokenError as e: print('Failed to verify token:', str(e)) return 'Token verification failed', 401 def handle_event(event_type, data): if event_type == 'WALLET.TRANSFER.UPDATE': # Update transaction status in your database pass elif event_type == 'USER.KYC.UPDATE': # Notify user of KYC status change pass if **name** == '**main**': app.run(port=3000) ``` ```javascript Node.js theme={null} const express = require("express"); const jwt = require("jsonwebtoken"); const app = express(); const webhookPublicKey = `-----BEGIN PUBLIC KEY----- your_webhook_public_key_here -----END PUBLIC KEY-----`; app.use(express.json()); app.post("/webhook", (req, res) => { const authHeader = req.headers.authorization; if (!authHeader) { return res.status(401).send("Authorization header is missing"); } const jwtToken = authHeader.split(" ")[1]; try { const decoded = jwt.verify(jwtToken, webhookPublicKey, { algorithms: ["RS256"], }); console.log("Token is valid. Decoded payload:", decoded); // Process the event const { eventType, data } = decoded; // Your application logic here handleEvent(eventType, data); res.status(200).send(""); } catch (error) { if (error.name === "TokenExpiredError") { console.log("Token has expired"); return res.status(401).send("Token has expired"); } else { console.log("Failed to verify token:", error.message); return res.status(401).send("Token verification failed"); } } }); function handleEvent(eventType, data) { if (eventType === 'WALLET.TRANSFER.UPDATE') { // Update transaction status in your database } else if (eventType === 'USER.KYC.UPDATE') { // Notify user of KYC status change } } app.listen(3000, () => { console.log("Webhook server running on port 3000"); }); ``` ## Retry Behavior HIFI automatically retries failed webhook deliveries to ensure reliability. ### Retry Schedule * **Duration**: Up to 24 hours * **Strategy**: Exponential backoff * **Interval**: 60 seconds to 1 hour between retries * **Success criteria**: Your endpoint returns a 2xx status code ### Retry Conditions **HIFI retries when:** * Your endpoint returns a 5xx error * Connection timeout occurs * Network error prevents delivery **HIFI does not retry when:** * Your endpoint returns a 4xx error (indicates a permanent failure) * Your webhook endpoint is disabled or deleted * 24 hours have elapsed since the original event > [!WARNING] > > **Endpoint availability matters:** If your endpoint is disabled when HIFI > attempts a retry, future retries for that event are prevented. Re-enable your > endpoint before the next retry attempt to continue receiving retries. ## Best Practices > [accordion] Respond quickly > > Return a 2xx response as soon as you receive the webhook, before processing the event. Process the event asynchronously to avoid timeouts: > > ```javascript theme={null} > app.post('/webhook', (req, res) => { > // Verify signature > const event = verifyAndExtract(req); > > // Respond immediately > res.status(200).send(''); > > // Process asynchronously > processEventAsync(event); > }); > ``` > [accordion] Implement idempotency > > Use `eventId` to ensure you process each event only once. Store processed event IDs: > > ```javascript theme={null} > async function handleEvent(event) { > // Check if already processed > const processed = await db.hasProcessed(event.eventId); > if (processed) { > console.log('Event already processed:', event.eventId); > return; > } > > // Process event > await processEvent(event); > > // Mark as processed > await db.markProcessed(event.eventId); > } > ``` > [accordion] Handle event order > > Events may arrive out of order. Use `createdAt` and `timestamp` to determine the correct sequence. Store the latest known state: > > ```javascript theme={null} > function shouldProcessEvent(event, currentState) { > const eventTime = new Date(event.createdAt); > const lastUpdate = new Date(currentState.lastUpdatedAt); > > // Only process if this event is newer > return eventTime > lastUpdate; > } > ``` > [accordion] Monitor webhook health > > Track webhook delivery success rates and response times. Set up alerts for: - > High failure rates - Slow response times - Signature verification failures > This helps identify issues early before retries are exhausted. > [accordion] Test with sandbox > > Use the HIFI sandbox environment to test your webhook integration: > > 1. Register a test webhook endpoint > 2. Trigger test events using sandbox API > 3. Verify your endpoint handles events correctly > 4. Test retry behavior by temporarily failing your endpoint ## Getting Help * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) * 💬 **Slack:** Message us in our shared Slack channel ## Related Resources * [Wallet Transfers](/docs/transactions/transfers) - Track transfer events * [Onramps](/docs/transactions/onramps) - Monitor onramp events * [Offramps](/docs/transactions/offramps) - Track offramp events * [Users](/docs/users) - Monitor user and KYC events # Account Events Source: https://docs.hifi.com/webhooks/account-events You can expect to receive webhook events whenever an account is successfully created. ## Types * **ACCOUNT.ONRAMP.CREATE**: Creation of onramp accounts. * **ACCOUNT.ONRAMP.UPDATE**: Updates of onramp accounts. * **ACCOUNT.OFFRAMP.CREATE**: Creation of offramp accounts. * **ACCOUNT.OFFRAMP.UPDATE**: Updates of offramp accounts. * **ACCOUNT.VIRTUAL_ACCOUNT.CREATE**: Creation of virtual accounts. * **ACCOUNT.VIRTUAL_ACCOUNT.UPDATE**: Updates of virtual accounts. ## ACCOUNT.ONRAMP The data object is expected to have the same structure as the response from the [Retrieve an account endpoint](https://docs.hifi.com/api-reference/account/retrieve-an-account). ```json theme={null} { "eventId": "evt_1957137285df23c61", "eventCategory": "ACCOUNT", "eventType": "ACCOUNT.ONRAMP.CREATE", "eventAction": "CREATE", "data": { "rail": { "currency": "usd", "railType": "onramp", "paymentRail": "ach" }, "userId": "42c784f4-eb84-4e87-b0de-8c2183aed67c", "bankName": "Bank of America", "accountId": "1dc854a5-0e11-492a-9adc-489a89e3602a", "createdAt": "2025-03-07T15:26:34.261503+00:00", "accountType": "SAVINGS", "accountNumber": "0000", "routingNumber": "011401533" }, "createdAt": "2025-03-07T15:26:35.165Z", "timestamp": "2025-03-07T15:26:40.461Z", "version": "v2" } ``` ## ACCOUNT.OFFRAMP The data object is expected to have the same structure as the response from the [Retrieve an account endpoint](https://docs.hifi.com/api-reference/account/retrieve-an-account). ```json theme={null} { "eventId": "evt_19571355a56577a5c4", "eventCategory": "ACCOUNT", "eventType": "ACCOUNT.OFFRAMP.CREATE", "eventAction": "CREATE", "data": { "iban": null, "rail": { "currency": "usd", "railType": "offramp", "paymentRail": "ach" }, "userId": "42c784f4-eb84-4e87-b0de-8c2183aed67c", "bankName": "Chase", "currency": "usd", "accountId": "baffe8d3-9097-47a1-8db3-74061d6fccfc", "createdAt": "2025-03-07T15:24:35.662881+00:00", "accountType": "us", "bankCountry": null, "accountNumber": "9942123499", "routingNumber": "011103093", "beneficiaryCity": "Hoboken", "accountOwnerName": "Henry Wu", "accountOwnerType": "individual", "beneficiaryState": "NJ", "beneficiaryCountry": "USA", "beneficiaryPostalCode": "07030", "beneficiaryStreetLine1": "Example St 1.", "beneficiaryStreetLine2": null, "businessIdentifierCode": null }, "createdAt": "2025-03-07T15:24:37.009Z", "timestamp": "2025-03-07T15:24:40.194Z", "version": "v2" } ``` ## ACCOUNT.VIRTUAL_ACCOUNT The data object is expected to have the same structure as the response from the [Retrieve a virtual account endpoint](https://docs.hifi.com/api-reference/virtual-account/retrieve-a-virtual-account). ```json theme={null} { "eventId": "evt_19571425bd51a7e6c3", "eventCategory": "ACCOUNT", "eventType": "ACCOUNT.VIRTUAL_ACCOUNT.CREATE", "eventAction": "CREATE", "data": { "userId": "42c784f4-eb84-4e87-b0de-8c2183aed67c", "railStatus": "activated", "paymentRails": [ "ach_push", "wire", "rtp" ], "microDeposits": { "data": [], "count": 0 }, "sourceCurrency": "usd", "destinationChain": "POLYGON_AMOY", "virtualAccountId": "05201b33-6304-47e1-8b51-d3e7acd14043", "depositInstructions": { "bankName": "Cross River Bank", "bankAddress": "885 Teaneck Rd, Teaneck, NJ 07666", "beneficiary": [Object], "accountNumber": "900205189018", "routingNumber": "021214891" }, "destinationCurrency": "usdc", "destinationWalletAddress": "0x4f0e843Da9f5A74A86ce23D0DC4F7C9EE9F01D57" }, "createdAt": "2025-03-07T15:38:49.251Z", "timestamp": "2025-03-07T15:39:00.186Z", "version": "v2" } ``` # KYC Events Source: https://docs.hifi.com/webhooks/kyc-events You can expect to receive KYC webhook events whenever you update a user's KYC data, submit KYC to unlock a rail, or receive KYC status updates for any rail you've submitted. ## Types * **KYC.DATA.UPDATE**: Updates to the user's KYC data. * **KYC.STATUS.CREATE**: Submission of the user's KYC status for any rail. * **KYC.STATUS.UPDATE**: Update of the user's KYC status for any rail. * **KYC_LINK.CREATE**: Creation of a KYC Link. * **KYC_LINK.UPDATE**: Submission of a KYC Link. * **KYC.RFI.OPEN**: An onboarding request for information (RFI) was issued. * **KYC.RFI.CLOSED**: The user's onboarding RFI was resolved or expired. ## KYC.DATA The data object is expected to have the same structure as the response from the [Get KYC Data endpoint](https://docs.hifi.com/api-reference/kyc/get-kyc-data). ```json theme={null} { "eventId": "evt_19571191645da9be1", "eventCategory": "KYC", "eventType": "KYC.DATA.UPDATE", "eventAction": "UPDATE", "data": { "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "kycInfo": { "type": "individual", "email": "william.yang@hifibridge.com", "phone": null, "idType": null, "address": { "city": "New York", "country": "USA", "postalCode": "12345", "addressLine1": "123 Main St.", "stateProvinceRegion": "NY" }, "purpose": null, "idNumber": null, "lastName": "Yang", "firstName": "William", "govIdType": null, "ipAddress": null, "middleName": null, "dateOfBirth": "2000-01-16T00:00:00+00:00", "govIdNumber": null, "nationality": null, "govIdBackUrl": null, "govIdCountry": null, "govIdFrontUrl": null, "lastNameLocal": null, "countryOfBirth": null, "firstNameLocal": null, "middleNameLocal": null, "additionalIdType": null, "govIdHandHoldUrl": null, "supplementaryUrl": null, "govIdIssuanceDate": null, "proofOfAddressUrl": null, "supplementaryInfo": null, "additionalIdNumber": null, "proofOfAddressType": null, "sofEuQuestionnaire": null, "govIdExpirationDate": null, "govIdIssuanceAuthority": null, "productServiceCategory": null, "taxIdentificationNumber": null } }, "createdAt": "2025-03-07T14:53:44.443Z", "timestamp": "2025-03-07T14:54:00.326Z", "version": "v2" } ``` ## KYC.STATUS The data object is expected to have the same structure as the response from the [Get KYC Status endpoint](https://docs.hifi.com/api-reference/kyc/get-kyc-status). ```json theme={null} { "eventId": "evt_195711af0545510a78", "eventCategory": "KYC", "eventType": "KYC.STATUS.CREATE", "eventAction": "CREATE", "data": { "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "SOUTH_AMERICA_LIGHT": { "limit": {}, "onRamp": { "brl": { "pix": { "status": "PENDING", "message": "", "warnings": [] } } }, "status": "PENDING", "message": "", "offRamp": { "ars": { "transfers": { "status": "PENDING", "message": "", "warnings": [] } }, "brl": { "pix": { "status": "PENDING", "message": "", "warnings": [] } }, "cop": { "achCop": { "status": "PENDING", "message": "", "warnings": [] } }, "mxn": { "spei": { "status": "PENDING", "message": "", "warnings": [] } } }, "warnings": [] } }, "createdAt": "2025-03-07T14:55:45.780Z", "timestamp": "2025-03-07T14:56:00.355Z", "version": "v2" } ``` ## KYC.RFI Sent when an onboarding [request for information](/features/rfi) opens or closes. The data object has the same structure as [KYC.STATUS](#kyc-status) for the `USD` rail, including its `rfi` object. On `KYC.RFI.OPEN`, `rfi` describes the open request. On `KYC.RFI.CLOSED`, it is `null`. Transaction RFIs are sent as `ONRAMP.RFI.*` and `OFFRAMP.RFI.*` instead. See [Onramp Events](/webhooks/onramp-events#rfi-events) and [Offramp Events](/webhooks/offramp-events#rfi-events). ```json theme={null} { "eventId": "evt_19a3c7f2b1e94d0c55", "eventCategory": "KYC", "eventType": "KYC.RFI.OPEN", "eventAction": "OPEN", "data": { "userId": "2d5b7e18-9c40-4a63-b8f1-7e0a4c9d2536", "USD": { "status": "RFI_PENDING", "message": "", "reviewResult": {}, "details": { "personalInfo": { "reviewResult": {} } }, "rfi": { "id": "7c9e1a34-5b02-4d68-91af-3e6d2b8c4075", "kind": "onboarding", "status": "issued", "subjectType": "individual", "userId": "2d5b7e18-9c40-4a63-b8f1-7e0a4c9d2536", "transferId": null, "flowType": null, "createdAt": "2026-07-01T10:30:00.000Z", "currentRound": 1, "round": { "id": "b81d4f2c-6e35-4a90-9f27-0c3e5a71d8b6", "round": 1, "issuedAt": "2026-07-01T10:30:00.000Z", "expiresAt": "2026-07-31T10:30:00.000Z", "submittedAt": null, "items": [ { "id": "3f7c1e90-2a4b-4d61-9c0e-5b8f2d6a1e34", "kind": "document", "label": "Proof of address issued in the last 3 months", "docType": "proof_of_address", "detail": "A utility bill or bank statement dated within the last three months.", "required": true } ], "link": "https://dashboard.hifi.com/production/rfi-link/rfir_2mNpXwZ7bV1aLcs3Kf9dQ#sessionToken=..." } } } }, "createdAt": "2026-07-01T10:30:01.120Z", "timestamp": "2026-07-01T10:30:15.402Z", "version": "v2" } ``` ## KYC_LINK.CREATE This webhook event will be emitted upon KYC Link creation by the developer. ```json theme={null} { "data": { "id": "ec3da5dc-d498-4034-aefc-5f51e589f15f", "rails": ["ON_CHAIN"], "valid": true, "userId": null, "userType": "individual", "createdAt": "2025-04-29T01:58:35.56784+00:00", "expiredAt": "2025-05-04T01:58:35.528+00:00", "templateId": "2fb2da24-472a-4e5b-b160-038d9dc82a40", "redirectUrl": null, "sessionToken": "ec9d38de822864bb34d4e68f8466487afb31bf0d015e9c4d2d1bf80f4f67f4764316e8f5f05a30c7a312b11b36d5" }, "eventId": "evt_1967f4477811e8fa82", "version": "v2", "createdAt": "2025-04-29T01:58:35.689Z", "eventType": "KYC_LINK.CREATE", "timestamp": "2025-04-29T01:58:40.235Z", "eventAction": "CREATE", "eventCategory": "KYC_LINK" } ``` ## KYC_LINK.UPDATE This webhook event will be emitted upon KYC Link Submission via the hosted page by the end-user. ```json theme={null} { "data": { "id": "ec3da56c-d498-4034-aefc-5f51e589f15f", "rails": ["ON_CHAIN"], "valid": false, "userId": "857e9b69-a629-4e86-9cf3-ec4bcf2e38b4", "userType": "individual", "createdAt": "2025-04-29T01:58:35.56784+00:00", "expiredAt": "2025-05-04T01:58:35.528+00:00", "templateId": "2fb2da24-472a-4e5b-b160-038d9dc82a40", "redirectUrl": null, "sessionToken": "ec9d38de822864bb34d48466487afb31bf0d015e9c4d2d1bf80f4f67f4764316e8f5f05a30c7a312b11b36d5" }, "eventId": "evt_1967f45caef15027c0", "version": "v2", "createdAt": "2025-04-29T02:00:02.586Z", "eventType": "KYC_LINK.UPDATE", "timestamp": "2025-04-29T02:00:20.440Z", "eventAction": "UPDATE", "eventCategory": "KYC_LINK" } ``` # Offramp Events Source: https://docs.hifi.com/webhooks/offramp-events You can expect to receive webhook events whenever an offramp transfer is created or its status is updated. ## Types ### System Events | Event Type | Description | | :- | :- | | **OFFRAMP.TRANSACTION.CREATED** | Offramp request created successfully | | **OFFRAMP.STATUS.NOT_INITIATED** | Transaction not initiated due to validation error | | **OFFRAMP.STATUS.OPEN_QUOTE** | Quote generated and awaiting acceptance | | **OFFRAMP.STATUS.IN_REVIEW** | Transaction under review by monitoring systems | | **OFFRAMP.STATUS.QUOTE_FAILED** | Quote expired or invalid | | **OFFRAMP.STATUS.AWAITING_FUNDS** | Awaiting for crypto deposit | ### Crypto Processing Events | Status | Description | | :- | :- | | **OFFRAMP.STATUS.CRYPTO_INITIATED** | Converting stablecoins, blockchain transaction started | | **OFFRAMP.STATUS.CRYPTO_PENDING** | Blockchain transaction awaiting confirmation | | **OFFRAMP.STATUS.CRYPTO_PROCESSED** | Stablecoins successfully converted | | **OFFRAMP.STATUS.CRYPTO_FAILED** | Blockchain transaction failed | | **OFFRAMP.STATUS.CRYPTO_RETURNED** | Crypto returned on chain to the sender's wallet | ### Fiat Processing Events | Status | Description | | :- | :- | | **OFFRAMP.STATUS.FIAT_INITIATED** | Fiat payout process started | | **OFFRAMP.STATUS.FIAT_PENDING** | Fiat transaction awaiting settlement | | **OFFRAMP.STATUS.FIAT_FAILED** | Fiat transaction failed | | **OFFRAMP.STATUS.FIAT_RETURNED** | Fiat leg reversed, crypto return not yet delivered | | **OFFRAMP.STATUS.COMPLETED** | Fiat successfully delivered to bank account | > [!NOTE] > > A failed offramp is typically followed by return events as the crypto is sent back to the sender. See [Failed Payouts and Returns](/transactions/offramps#failed-payouts-and-returns) for how the statuses progress. ### RFI Events | Status | Description | | :- | :- | | **OFFRAMP.RFI.OPEN** | An RFI case has been opened for this transaction. | | **OFFRAMP.RFI.CLOSED** | The RFI case for this transaction has been resolved by the HIFI Compliance team. | To fetch the request itself, call GET `/v2/rfis` with the transfer's ID as `transferId`. See [Requests for Information](/features/rfi). ## Legacy Types: * **OFFRAMP.CREATE**: Creation for onramps. * **OFFRAMP.UPDATE**: Updates for onramps. > [!WARNING] > > Legacy event types will be deprecated on Friday, February 13, 2026. ## Data The data object is expected to have the same structure as the response from the [Retrieve an offramp endpoint](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp). ```json theme={null} { "eventId": "evt_195713eb5185a84f7d", "eventCategory": "OFFRAMP", "eventType": "OFFRAMP.STATUS.CRYPTO_INITIATED", "eventAction": "CRYPTO_INITIATED", "data": { "transferType": "OFFRAMP", "transferDetails": { "id": "07f217dc-f196-4835-ba31-21e1360652d3", "source": { "user": { "email": "william.yang@hifibridge.com", "lastName": "Yang", "firstName": "William", "businessName": null }, "chain": "POLYGON", "amount": 100, "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "currency": "usdc", "walletAddress": "0xa8A642FBA80749318036C97344fC73aE0B64c608" }, "status": "CRYPTO_INITIATED", "receipt": { "transactionHash": null }, "createdAt": "2025-03-07T15:34:49.454729+00:00", "requestId": "45eac735-e4cb-422d-8b5d-fd40af31fbec", "updatedAt": "2025-03-07T15:34:49.454729+00:00", "destination": { "user": { "email": "william.yang@hifibridge.com", "lastName": "Yang", "firstName": "William", "businessName": null }, "amount": 0, "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "currency": "usd", "accountId": "d45ac419-c460-438e-ba63-6ffb706c9683" }, "developerFee": null, "failedReason": null, "transactionHash": null, "quoteInformation": null } }, "createdAt": "2025-03-07T15:34:49.913Z", "timestamp": "2025-03-07T15:35:00.318Z", "version": "v2" } ``` # Onramp Events Source: https://docs.hifi.com/webhooks/onramp-events You can expect to receive webhook events whenever an onramp transfer is created or its status is updated. ## Types ### System Statuses | Status | Description | | :- | :- | | **ONRAMP.TRANSACTION.CREATED** | Onramp request created successfully | | **ONRAMP.STATUS.NOT_INITIATED** | Transaction not initiated due to validation error | | **ONRAMP.STATUS.OPEN_QUOTE** | Quote generated and awaiting deposit | | **ONRAMP.STATUS.IN_REVIEW** | Transaction under review by monitoring systems | | **ONRAMP.STATUS.QUOTE_FAILED** | Quote expired before deposit was received | | **ONRAMP.STATUS.AWAITING_FUNDS** | Waiting for fiat deposit with reference ID | ### Fiat Processing Phase | Status | Description | | :- | :- | | **ONRAMP.STATUS.FIAT_INITIATED** | Deposit detected, fiat processing started | | **ONRAMP.STATUS.FIAT_PENDING** | Fiat clearing and validation in progress | | **ONRAMP.STATUS.FIAT_PROCESSED** | Fiat successfully received and validated | | **ONRAMP.STATUS.FIAT_FAILED** | Fiat processing failed (e.g., invalid amount, missing reference, complaince rejection) | | **ONRAMP.STATUS.FIAT_RETURNED** | Fiat returned to sender after failure | ### Crypto Processing Phase | Status | Description | | :- | :- | | **ONRAMP.STATUS.CRYPTO_INITIATED** | Converting fiat to stablecoins | | **ONRAMP.STATUS.CRYPTO_PENDING** | Sending stablecoins on blockchain | | **ONRAMP.STATUS.CRYPTO_FAILED** | Blockchain transaction failed | | **ONRAMP.STATUS.COMPLETED** | Stablecoins delivered to wallet, transaction complete | > [!NOTE] > > A failed onramp may be followed by a return event as the fiat is sent back to the sender. See [Failed Deposits and Returns](/transactions/onramps#failed-deposits-and-returns) for how the statuses progress. ### RFI Events | Status | Description | | :- | :- | | **ONRAMP.RFI.OPEN** | An RFI case has been opened for this transaction. | | **ONRAMP.RFI.CLOSED** | The RFI case for this transaction has been resolved by the HIFI Compliance team. | To fetch the request itself, call GET `/v2/rfis` with the transfer's ID as `transferId`. See [Requests for Information](/features/rfi). ## Legacy Types: * **ONRAMP.CREATE**: Creation for onramps. * **ONRAMP.UPDATE**: Updates for onramps. > [!WARNING] > > Legacy event types will be deprecated on Friday, February 13, 2026. ## Data The data object is expected to have the same structure as the response from the [Retrieve an onramp endpoint](https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp) ```json theme={null} { "eventId": "evt_1957139631552d0e38", "eventCategory": "ONRAMP", "eventType": "ONRAMP.STATUS.CRYPTO_INITIATED", "eventAction": "CRYPTO_INITIATED", "data": { "transferType": "ONRAMP", "transferDetails": { "id": "d938f457-5f8f-43d8-9828-134f6112b429", "source": { "user": { "email": "william.yang@hifibridge.com", "lastName": "Yang", "firstName": "William", "businessName": null }, "amount": 1000, "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "currency": "usd", "accountId": null }, "status": "CRYPTO_INITIATED", "receipt": { "transactionHash": null }, "createdAt": "2025-03-07T15:29:00.746195+00:00", "requestId": "d10d4a8a-4b06-463e-8c12-0ef12c81e961", "updatedAt": "2025-03-07T15:29:00.991+00:00", "destination": { "user": { "email": "william.yang@hifibridge.com", "lastName": "Yang", "firstName": "William", "businessName": null }, "chain": "POLYGON_AMOY", "amount": null, "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "currency": "usdhifi", "walletAddress": null }, "developerFee": null, "failedReason": null, "quoteInformation": null } }, "createdAt": "2025-03-07T15:29:01.235Z", "timestamp": "2025-03-07T15:29:21.008Z", "version": "v2" } ``` # Swap Events Source: https://docs.hifi.com/webhooks/onramp-events-copied-1 You can expect to receive webhook events whenever an token swap is created or its status is updated. ## Types | Status | Description | | :- | :- | | **WALLET.SWAP.TRANSACTION.CREATE** | Swap quote requested | | **WALLET.SWAP.STATUS.OPEN_QUOTE** | Swap quote requested and waiting for acceptance | | **WALLET.SWAP.STATUS.CREATED** | Swap request accepted | | **WALLET.SWAP.STATUS.PENDING** | Swap processing | | **WALLET.SWAP.STATUS.COMPLETED** | Swap successfully executed | | **WALLET.SWAP.STATUS.FAILED** | Swap failed (check `error` and `errorDetails` for specifics) | | **WALLET.SWAP.STATUS.QUOTE_FAILED** | Swap quote is expired or invalid | ## Data The data object is expected to have the same structure as the response from the [Retrieve a Swap](https://docs.hifi.com/api-reference/token-swap/retrieve-a-swap) ```json theme={null} { "transferType": "WALLET.SWAP", "transferDetails": { "id": "swp_abc123", "requestId": "1ab3e6e0-4839-4dbe-89c3-b06d9645ae86", "status": "COMPLETED", "createdAt": "2025-08-20T03:55:29.437108+00:00", "updatedAt": "2025-08-20T03:55:31.837+00:00", "source": { "currency": "usdc", "amount": 100, "chain": "POLYGON", "userId": "usr_abc123" }, "destination": { "currency": "usdt", "userId": "usr_abc123", "amount": 100, "chain": "POLYGON", "walletAddress": "0xe5727a4B1d93A26D6A7Adfaae145EFa41ED7f204" }, "quoteInformation": { "sendGross": { "amount": "100", "currency": "usdc" }, "sendNet": { "amount": "100", "currency": "usdc" }, "receiveGross": { "amount": "100", "currency": "usdt" }, "receiveNet": { "amount": "100", "currency": "usdt" }, "rate": "1", "expiresAt": "2025-08-20T03:55:59.539+00:00" }, "error": null, "errorDetails": null } } ``` # User Events Source: https://docs.hifi.com/webhooks/user-events You can expect to receive webhook events whenever you successfully create or update a user. ## Types * **USER.STATUS.CREATE**: Creation of the user object. * **USER.STATUS.UPDATE**: Update of the user object. ## USER.STATUS The data object is expected to have the same structure as the response from the [Get User endpoint](https://docs.hifi.com/api-reference/user/retrieve-a-user). ```json theme={null} { "eventId": "evt_1957117404034e3ade", "eventCategory": "USER", "eventType": "USER.STATUS.CREATE", "eventAction": "CREATE", "data": { "id": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "name": "William Yang", "type": "individual", "email": "william.yang@hifibridge.com", "wallets": { "INDIVIDUAL": { "POLYGON_AMOY": { "address": "0xa8A642FBA80749318036C97344fC73aE0B64c608" }, "ETHEREUM_TESTNET": { "address": "0x5743Af611b44F0934A7eF0cCE6877879375824D9" } } } }, "createdAt": "2025-03-07T14:51:44.099Z", "timestamp": "2025-03-07T14:52:00.375Z", "version": "v2" } ``` # Wallet Events Source: https://docs.hifi.com/webhooks/wallet-events You can expect to receive webhook events whenever you successfully initiate a wallet transfer, bridge assets, or update a wallet token balance. ## Types * **WALLET.TRANSFER.CREATE**: Creation for wallet transfer * **WALLET.TRANSFER.UPDATE**: Updates for wallet transfer * **WALLET.BRIDGE.CREATE**: Creation for wallet bridging * **WALLET.BRIDGE.UPDATE**: Updates for wallet bridging * **WALLET.TOKEN.BALANCE.UPDATE**: Updates for wallet token deposit ## WALLET.TRANSFER The data object is expected to have the same structure as the response from the [Retrieve a crypto transfer endpoint](https://docs.hifi.com/api-reference/wallet/retrieve-a-crypto-transfer) ```json theme={null} { "eventId": "evt_195714a3de340e5bca", "eventCategory": "WALLET", "eventType": "WALLET.TRANSFER.CREATE", "eventAction": "CREATE", "data": { "transferType": "WALLET.TRANSFER", "transferDetails": { "id": "2d9fcb48-e759-4990-b982-7349a5ccd9bb", "chain": "POLYGON_AMOY", "amount": 10, "source": { "user": { "email": "william.yang@hifibridge.com", "lastName": "Yang", "firstName": "William", "businessName": null }, "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "walletType": "INDIVIDUAL", "walletAddress": "0xa8A642FBA80749318036C97344fC73aE0B64c608" }, "status": "CREATED", "receipt": { "transactionHash": null, "userOpHash": null }, "currency": "usdHifi", "createdAt": "2025-03-07T15:47:25.483515+00:00", "requestId": "f04e5852-a575-4834-80bf-48443008c21f", "updatedAt": "2025-03-07T15:47:25.652+00:00", "destination": { "user": { "email": "william.yang@hifibridge.com", "lastName": "Yang", "firstName": "William", "businessName": null }, "userId": "c5a11cdb-2696-4a2e-ac58-3e17fb230288", "walletAddress": "0xa8A642FBA80749318036C97344fC73aE0B64c608" }, "developerFee": null, "failedReason": null, "contractAddress": "0x545F651965F3322FDa6232F010Df37Ab41969505", "amountIncludeDeveloperFee": null } }, "createdAt": "2025-03-07T15:47:25.819Z", "timestamp": "2025-03-07T15:47:40.186Z", "version": "v2" } ``` ## WALLET.BRIDGE The data object is expected to have the same structure as the response from the [Retrieve a bridging request endpoint](https://docs.hifi.com/api-reference/wallet/retrieve-a-bridging-request) ```json theme={null} { "eventId": "evt_195714a3de340e5bca", "eventCategory": "WALLET", "eventType": "WALLET.BRIDGE.CREATE", "eventAction": "CREATE", "data": { "transferType": "WALLET.BRIDGE", "transferDetails": { "id": "a93b33b8-f431-4651-9392-7ddaf1b38de2", "fee": null, "amount": 1, "source": { "chain": "POLYGON_AMOY", "userId": "edb8da48-577d-45af-b3a3-57434acf552e", "currency": "usdc", "walletAddress": "0x9ebE31A99c06704Ca55A1bbC0849733f94A07a75" }, "status": "OPEN_QUOTE", "createdAt": "2025-02-26T05:11:53.293447+00:00", "requestId": "bc9a8654-577e-4f6f-9d5a-e3130ae83d7d", "updatedAt": "2025-02-26T05:11:53.293447+00:00", "destination": { "chain": "ETHEREUM_TESTNET", "userId": "edb8da48-577d-45af-b3a3-57434acf552e", "currency": "usdc", "walletAddress": "0x8f9cdD3c613dcDba5A2646Fa9193a62a3F938aaf" }, "failedReason": null, "quoteInformation": { "rate": "1", "railFee": { "amount": "0", "currency": "usdc" }, "sendNet": { "amount": "1.00", "currency": "usdc" }, "expiresAt": "2025-02-27T05:11:53.293Z", "sendGross": { "amount": "1.00", "currency": "usdc" }, "receiveNet": { "amount": "1.00", "currency": "usdc" }, "receiveGross": { "amount": "1.00", "currency": "usdc" } } } }, "createdAt": "2025-03-07T15:47:25.819Z", "timestamp": "2025-03-07T15:47:40.186Z", "version": "v2" } ``` ## WALLET.TOKEN.BALANCE.UPDATE > [!NOTE] > > Currently only USDC/USDT are supported ```json theme={null} { "eventId": "evt_195714a3de340webca", "eventCategory": "WALLET", "eventType": "WALLET.TOKEN.BALANCE.UPDATE", "eventAction": "UPDATE", "data": { "id": "2e084846-00d6-5e4c-806f-eac45e197108", "userId": "f4c99c2f-ce05-4f61-8ed6-9064a5689197", "wallet": { "id": "24b4917d-694e-4d81-ace8-9ba5261b6f4e", "chain": "POLYGON", "address": "0x0B95D270400BE4319EAFbfDD82F6C38B59ab54Ef", "walletType": "INDIVIDUAL" }, "transaction": { "type": "DEPOSIT", "chain": "POLYGON_AMOY", "amount": "19", "status": "COMPLETED", "currency": "usdc", "rawAmount": "19000000", "unitAmount": "19000000", "sourceAddress": "0x0B95D270400BE4319EAFbfDD82F6C38B59ab54Ef", "contractAddress": "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582", "transactionHash": "0xe5284c4cb35ae9b5eb0ae23b840032f320b87b63f8967ee9b67ee09dfe6a194a", "destinationAddress": "0x0B95D270400BE4319EAFbfDD82F6C38B59ab54Ef" } }, "createdAt": "2025-03-07T15:47:25.819Z", "timestamp": "2025-03-07T15:47:40.186Z", "version": "v2" } ``` # Create an account Source: https://docs.hifi.com/api-reference/account/create-an-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/accounts Create an onramp or offramp account for different account types by providing your bank account information. # Delete an account Source: https://docs.hifi.com/api-reference/account/delete-an-account https://production.hifi.com/api/v2/openapi.json delete /v2/users/{userId}/accounts/{accountId} Delete an existing onramp or offramp account. # List all accounts Source: https://docs.hifi.com/api-reference/account/list-all-accounts https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/accounts List all accounts associated with a user under your organization. # Retrieve an account Source: https://docs.hifi.com/api-reference/account/retrieve-an-account https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/accounts/{accountId} Get an existing onramp or offramp account detail. # Accept a Canton offer Source: https://docs.hifi.com/api-reference/canton-offers/accept-a-canton-offer https://production.hifi.com/api/v2/openapi.json post /v2/wallets/{walletId}/offers/{offerId}/accept Accept a Canton offer. The offer must be in RECEIVED status and not expired. Upon acceptance, the offer status will change to PENDING and a job will be created to process the acceptance. # List all offers for a wallet Source: https://docs.hifi.com/api-reference/canton-offers/list-all-offers-for-a-wallet https://production.hifi.com/api/v2/openapi.json get /v2/wallets/{walletId}/offers Retrieve all Canton offers associated with a specific wallet. Offers can be filtered by creation date and limited by count. # Reject a Canton offer Source: https://docs.hifi.com/api-reference/canton-offers/reject-a-canton-offer https://production.hifi.com/api/v2/openapi.json post /v2/wallets/{walletId}/offers/{offerId}/reject Reject a Canton offer. The offer must be in RECEIVED status and not expired. Upon rejection, the offer status will change to PENDING and a job will be created to process the rejection. # Retrieve a Canton offer Source: https://docs.hifi.com/api-reference/canton-offers/retrieve-a-canton-offer https://production.hifi.com/api/v2/openapi.json get /v2/wallets/{walletId}/offers/{offerId} Get details of a specific Canton offer by its ID. The offer must belong to the specified wallet. # Ping Source: https://docs.hifi.com/api-reference/common/ping https://production.hifi.com/api/v2/openapi.json get /ping # Accept a bridging request Source: https://docs.hifi.com/api-reference/cross-chain-bridge/accept-a-bridging-request https://production.hifi.com/api/v2/openapi.json post /v2/wallets/bridges/{transferId}/accept Accept a bridging request to initialize the bridging of crypto assets across chains. # Create a bridging request Source: https://docs.hifi.com/api-reference/cross-chain-bridge/create-a-bridging-request https://production.hifi.com/api/v2/openapi.json post /v2/wallets/bridges Create a bridging request to bridge crypto assets across chains. # List all bridging requests Source: https://docs.hifi.com/api-reference/cross-chain-bridge/list-all-bridging-requests https://production.hifi.com/api/v2/openapi.json get /v2/wallets/bridges Returns a list of bridging requests associated with a user under your organization. # Retrieve a bridging request Source: https://docs.hifi.com/api-reference/cross-chain-bridge/retrieve-a-bridging-request https://production.hifi.com/api/v2/openapi.json get /v2/wallets/bridges/{transferId} # Create a batch crypto transfer Source: https://docs.hifi.com/api-reference/crypto-transfer/create-a-batch-crypto-transfer https://production.hifi.com/api/v2/openapi.json post /v2/wallets/transfers/batches Create a batch crypto transfer from a single wallet address to multiple wallet addresses among users. # Create a crypto transfer Source: https://docs.hifi.com/api-reference/crypto-transfer/create-a-crypto-transfer https://production.hifi.com/api/v2/openapi.json post /v2/wallets/transfers Create a crypto transfer between two wallet addresses among users. # List all batch crypto transfers Source: https://docs.hifi.com/api-reference/crypto-transfer/list-all-batch-crypto-transfers https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers/batches Returns a list of batch crypto transfers associated with a user under your organization. The batch crypto transfers are returned sorted by creation date, with the most recent batch crypto transfers appearing first. # List all crypto transfers Source: https://docs.hifi.com/api-reference/crypto-transfer/list-all-crypto-transfers https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers Returns a list of crypto transfers associated with a user under your organization. The crypto transfers are returned sorted by creation date, with the most recent crypto transfers appearing first. # Retrieve a batch crypto transfer Source: https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-batch-crypto-transfer https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers/batches/{transferId} # Retrieve a crypto transfer Source: https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers/{transferId} # Upload a file Source: https://docs.hifi.com/api-reference/file/upload-a-file https://production.hifi.com/api/v2/openapi.json post /v2/files Upload a file. # Add a UBO Source: https://docs.hifi.com/api-reference/kyc/add-a-ubo https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/ubos Add a UBO to the user. # Add documents Source: https://docs.hifi.com/api-reference/kyc/add-documents https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/documents Add documents to the user's KYC. # Generate a KYC link Source: https://docs.hifi.com/api-reference/kyc/generate-a-kyc-link https://production.hifi.com/api/v2/openapi.json post /v2/kyc-link Generate a KYC link to create a user, unlock rails for a user, or submit KYC for a user. This endpoint allows you to generate a HIFI-hosted KYC link that can be shared with users to collect their KYC information. The collected data can be used for User Creation, KYC Submission, or unlocking KYC rails for the user. # List all documents Source: https://docs.hifi.com/api-reference/kyc/list-all-documents https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/documents Get all documents associated with the user. # List all KYC statuses Source: https://docs.hifi.com/api-reference/kyc/list-all-kyc-statuses https://production.hifi.com/api/v2/openapi.json get /v2/kyc/status List all KYC statuses based on the provided filters. # List all UBOs Source: https://docs.hifi.com/api-reference/kyc/list-all-ubos https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/ubos Get all UBOs associated with the user. # Retrieve a document Source: https://docs.hifi.com/api-reference/kyc/retrieve-a-document https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/documents/{documentId} Get a specific document associated with the user or ubo. # Retrieve a UBO Source: https://docs.hifi.com/api-reference/kyc/retrieve-a-ubo https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/ubos/{uboId} Get a specific UBO associated with the user. # Retrieve KYC information Source: https://docs.hifi.com/api-reference/kyc/retrieve-kyc-information https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc Get the KYC information the user currently holds. # Retrieve KYC requirements Source: https://docs.hifi.com/api-reference/kyc/retrieve-kyc-requirements https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/requirements Get the required and optional KYC fields for a specific rail, along with any invalid KYC fields currently held by the user for unlocking the rail. The Get KYC Requirements endpoint provides a comprehensive list of required and optional KYC fields needed to initiate a KYC submission (the same set of info available in our [Compliance Guide](https://docs.hifi.com/docs/rails/overview)). Additionally, it identifies any invalid fields in the user's current KYC data that need to be updated before submission. This is particularly useful for pre-filling KYC forms and addressing issues proactively. This endpoint is intended **only** for use **before** KYC submission. After submitting KYC data, use the [Retrieve KYC status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) endpoint to check the submission status and further identify any fields that may still require updates. # Retrieve KYC status Source: https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/status Get the user's latest KYC status for a specific rail after a KYC submission. If no KYC submission has been made for the rail, it will have an `INACTIVE` status. The Get KYC Status endpoint provides the current KYC status of a rail, including details on any invalid or incomplete fields that may require updates. To address any invalid or incomplete fields, use the [Update KYC endpoint](https://docs.hifi.com/api-reference/kyc/update-kyc-information), and then resubmit the data using the [Submit KYC endpoint](https://docs.hifi.com/api-reference/kyc/submit-kyc). # Submit KYC Source: https://docs.hifi.com/api-reference/kyc/submit-kyc https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/submissions Submit the user's current KYC data to unlock a specific rail. Any updates to the user's KYC data prior to submission should be made using the [Update KYC](https://docs.hifi.com/api-reference/kyc/update-kyc-information) endpoint.) The KYC data will only be submitted if all the required KYC fields for the rail are provided. If any required fields are missing, no submission will occur, and the user must supply the missing information using the [Update KYC](https://docs.hifi.com/api-reference/kyc/update-kyc-information) endpoint. A successful submission is confirmed when the response includes a KYC status object. If no such object is returned, the submission did not occur. For more details on required and optional KYC fields for unlocking each rail, visit our [KYC Rails Requirement page](https://docs.hifi.com/docs/rails/overview). To learn more about KYC, our KYC endpoints, and an example flow for unlocking a rail, see our [KYC Overview page](https://docs.hifi.com/guides/usd-rail/submit-kyb). # Update a document Source: https://docs.hifi.com/api-reference/kyc/update-a-document https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/documents/{documentId} Update a document for the user. # Update a UBO Source: https://docs.hifi.com/api-reference/kyc/update-a-ubo https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/ubos/{uboId} Update a UBO for the user. # Update KYC information Source: https://docs.hifi.com/api-reference/kyc/update-kyc-information https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc Update the user's KYC information. The Update KYC endpoint allows you to add or modify the user's existing KYC data. This is the only endpoint available for making changes to the user's KYC information. HIFI does not provide services to users or businesses from sanctioned and high-risk regions or unsupported US states. See [here](https://docs.hifi.com/docs/compliance/regions) for supported regions. # Accept an offramp quote Source: https://docs.hifi.com/api-reference/offramp/accept-an-offramp-quote https://production.hifi.com/api/v2/openapi.json post /v2/offramps/{transferId}/quote/accept Accept and initiate a quote-based offramp. For example, an offramp from crypto currency `usdc` to fiat currency `brl` is quote-based so its initial status will be `OPEN_QUOTE`. After reviewing the offramp conversion rate quote information, you can accept it to initialize the offramp. # Cancel an offramp Source: https://docs.hifi.com/api-reference/offramp/cancel-an-offramp https://production.hifi.com/api/v2/openapi.json post /v2/offramps/{transferId}/cancel Cancel an offramp that is in review. Only offramps with status `IN_REVIEW` can be cancelled. # Create an offramp Source: https://docs.hifi.com/api-reference/offramp/create-an-offramp https://production.hifi.com/api/v2/openapi.json post /v2/offramps An offramp facilitates the conversion of crypto to fiat. Once the crypto transfer is confirmed, HIFI will deposit the converted fiat into the receiving user’s bank account. There are two types of offramp: * **Quote-based offramp**: This type of offramp first returns the conversion rate quote based on the best market rate, which you can accept through the [Accept an offramp quote](https://docs.hifi.com/api-reference/offramp/accept-an-offramp-quote) endpoint to initiate the offramp. To learn more about quote-based offramps, click [here](https://docs.hifi.com/guides/transfers/onramps/usd-usdc). * **Non-quote-based offramp**: This type of offramp will be initiated immediately upon creating an offramp. # List all offramps Source: https://docs.hifi.com/api-reference/offramp/list-all-offramps https://production.hifi.com/api/v2/openapi.json get /v2/offramps Returns a list of offramps associated with a user under your organization. The offramps are returned sorted by creation date, with the most recent offramps appearing first. # Retrieve an offramp Source: https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp https://production.hifi.com/api/v2/openapi.json get /v2/offramps/{transferId} Retrieves an offramp. # Retrieve an offramp rate Source: https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp-rate https://production.hifi.com/api/v2/openapi.json get /v2/offramps/rates Offramp rates are estimated rates for offramp conversions from different cryptocurrencies on different networks into all the different fiat currencies. # Accept an onramp quote Source: https://docs.hifi.com/api-reference/onramp/accept-an-onramp-quote https://production.hifi.com/api/v2/openapi.json post /v2/onramps/{transferId}/quote/accept Accept a quote-based onramp. For example, an onramp from fiat currency `brl` to crypto currency `usdc` is quote-based so its initial status will be `OPEN_QUOTE`. After reviewing the onramp conversion rate quote information, you can accept it to initialize the onramp. # Cancel an onramp Source: https://docs.hifi.com/api-reference/onramp/cancel-an-onramp https://production.hifi.com/api/v2/openapi.json post /v2/onramps/{transferId}/cancel Cancel an onramp that is in review. Only onramps with status `IN_REVIEW` can be cancelled. # Create an onramp Source: https://docs.hifi.com/api-reference/onramp/create-an-onramp https://production.hifi.com/api/v2/openapi.json post /v2/onramps An onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet. There are two types of onramp: * **Quote-based onramp**: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the [Accept an onramp quote](https://docs.hifi.com/api-reference/onramp/accept-an-onramp-quote) endpoint to initiate the onramp. Additionally, you can also refresh the onramp quote using the [Refresh an onramp quote](https://docs.hifi.com/api-reference/onramp/refresh-an-onramp-quote) endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click [here](https://docs.hifi.com/guides/transfers/onramps/usd-usdc). * **Non-quote-based onramp**: This type of onramp will be initiated immediately upon creating an onramp. # List all onramps Source: https://docs.hifi.com/api-reference/onramp/list-all-onramps https://production.hifi.com/api/v2/openapi.json get /v2/onramps Returns a list of onramps associated with a user under your organization. The onramps are returned sorted by creation date, with the most recent onramps appearing first. # Refresh an onramp quote Source: https://docs.hifi.com/api-reference/onramp/refresh-an-onramp-quote https://production.hifi.com/api/v2/openapi.json post /v2/onramps/{transferId}/quote/refresh Refresh the conversion rate quote that is associated with a quote-based onramp. You can only refresh an onramp quote with the status `OPEN_QUOTE`. # Retrieve an onramp Source: https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp https://production.hifi.com/api/v2/openapi.json get /v2/onramps/{transferId} Retrieves an onramp. # Retrieve an onramp rate Source: https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp-rate https://production.hifi.com/api/v2/openapi.json get /v2/onramps/rates Onramp rates are estimated rates for onramp conversions from different fiat currencies into different cryptocurrencies. # Create an orchestration address Source: https://docs.hifi.com/api-reference/orchestration-address/create-an-orchestration-address https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses Create a persistent on-chain wallet that automatically offramps any stablecoin deposit to a USD bank account. The endpoint provisions the escrow wallet synchronously, so the response typically already carries `status=ACTIVE` and a populated `address`. If the provider call is mid-flight, `status=PENDING_WALLET` and `address=null` — retry the same call (same `requestId`) to drive provisioning forward. **Idempotency.** Repeating the same `requestId` with an identical payload returns the existing record (200). Repeating it with a *different* payload returns `409 RESOURCE_CONFLICT` indicating which field differs (e.g. `requestId already used with a different source.chain`). **Mode rules:** * `PER_DEPOSIT` — each deposit is batched into its own offramp immediately, unless it's below the destination rail's offramp minimum, in which case it's held `PENDING` until the cumulative pending reaches the minimum, then batched together. * `SCHEDULED` — deposits accumulate until the next `HOURLY`/`DAILY`/`WEEKLY` tick. * `THRESHOLD` — deposits accumulate until `thresholdAmount` is reached. **Source & minimums.** `source.currency` must be supported on `source.chain` (e.g. USDT on TRON, USDC on Base/Polygon/Ethereum/Solana) — unsupported pairs like USDC on TRON return `400`. Each rail also has a minimum offramp amount (e.g. ≥ 5 for SWIFT, ≥ 1 for wire/ACH/RTP; USDT ≥ 10); `THRESHOLD`'s `thresholdAmount` must meet it. See the schema description on `CreateOrchestrationAddress` for the exact field-combination rules. # Deactivate an orchestration address Source: https://docs.hifi.com/api-reference/orchestration-address/deactivate-an-orchestration-address https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/deactivate Soft-delete the address: sets `status=DEACTIVATED` and `deactivatedAt=now()`. Requires a `walletAddress` in the body — any deposits still `PENDING` (not yet rolled into a batch) are refunded in-kind to it. The claim and refund run atomically under the address row lock, so a deposit can never be both offramped and refunded. Idempotent — calling on an already-deactivated address returns 200 with the current record and issues no second refund. **After deactivation:** * The on-chain wallet still exists and can receive funds (we can't take it offline). * Incoming deposits are recorded with `status=IGNORED` and `ignoredReason=ADDRESS_DEACTIVATED`. A Slack alert fires for manual ops follow-up. These are NOT auto-refunded — only the deposits that were `PENDING` at deactivation are. * The escrow wallet stays locked to this address (it's never returned to the general allocation pool). * Batches already in `PROCESSING` continue to completion; batches still `PENDING` will be marked `FAILED` with `failureReason=ADDRESS_NOT_ACTIVE` on the next worker tick. # List batches for an orchestration address Source: https://docs.hifi.com/api-reference/orchestration-address/list-batches-for-an-orchestration-address https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/batches List batches produced from this address's deposits. Each batch carries the IDs of the deposits it rolled up and (once the worker runs) the `offrampTransactionId` of the produced offramp. To get full offramp details, call `GET /v2/offramps/{offrampTransactionId}`. # List deposits for an orchestration address Source: https://docs.hifi.com/api-reference/orchestration-address/list-deposits-for-an-orchestration-address https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/deposits List on-chain deposits detected for the address, most recent first. Filterable by status, batch ID, and a created-at window. # List orchestration addresses Source: https://docs.hifi.com/api-reference/orchestration-address/list-orchestration-addresses https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses Return all orchestration addresses owned by the user, most recent first. Includes both `ACTIVE` and `DEACTIVATED` addresses. # Manually trigger an orchestration Source: https://docs.hifi.com/api-reference/orchestration-address/manually-trigger-an-orchestration https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/orchestrate Force an immediate batch of all currently-`PENDING` deposits for the address, regardless of the configured mode. Useful for `SCHEDULED` addresses that you want to drain ahead of schedule, for `THRESHOLD` addresses that haven't crossed yet, or simply for operational backfill. **Idempotent.** If no PENDING deposits exist (or the address was deactivated between the read and the row lock), returns 200 with `triggered: false` and a `reason`. For `SCHEDULED` addresses, manual trigger does NOT advance `nextRunAt` — the scheduled tick still fires at its appointed time (it'll find zero PENDING deposits and no-op). The endpoint serializes against concurrent THRESHOLD webhooks and the SCHEDULED job via a `FOR UPDATE` row lock, so at most one batch is ever produced for a given set of PENDING deposits. # Retrieve a batch Source: https://docs.hifi.com/api-reference/orchestration-address/retrieve-a-batch https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/batches/{batchId} Fetch a single batch by ID. Returns `404 RESOURCE_NOT_FOUND` if the batch doesn't exist, doesn't belong to the named orchestration address, or the orchestration address doesn't belong to the named user. # Retrieve a deposit Source: https://docs.hifi.com/api-reference/orchestration-address/retrieve-a-deposit https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/deposits/{depositId} Fetch a single deposit by ID. Returns `404 RESOURCE_NOT_FOUND` if the deposit doesn't exist, doesn't belong to the named orchestration address, or the orchestration address doesn't belong to the named user. # Retrieve an orchestration address Source: https://docs.hifi.com/api-reference/orchestration-address/retrieve-an-orchestration-address https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId} Fetch a single orchestration address by ID. Returns `404 RESOURCE_NOT_FOUND` if the address doesn't exist *or* doesn't belong to the specified user — the API never discloses whether a foreign address exists. # Update an orchestration address Source: https://docs.hifi.com/api-reference/orchestration-address/update-an-orchestration-address https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/update Partial update of an existing orchestration address. Any combination of `mode`, `schedule`, `thresholdAmount`, `offrampMessage`, and `destination.accountId` may be passed. **Behavior notes:** * Switching mode wipes the irrelevant config columns. * Changing `schedule.interval` without an explicit `nextRunAt` resets the next tick to `now + newInterval`. * Changing `destination.accountId` re-validates the new account. * Queued batches use the current settings when the worker reads the OA to begin creating their offramp. Later edits do not change that attempt or the saved message of an initialized offramp, including on retry. Cannot update a `DEACTIVATED` address — returns `400 RESOURCE_CONFLICT`. If the destination, message, mode, or status changes after validation but before the update is saved, returns `409 RESOURCE_CONFLICT`; reload the settings and retry. # List RFIs Source: https://docs.hifi.com/api-reference/rfi/list-rfis https://production.hifi.com/api/v2/openapi.json get /v2/rfis List the requests for information (RFIs) compliance has raised against your users. An RFI is raised either during onboarding, against the user's KYC/KYB, or against a single transfer, which stays held until the request is resolved. If you would rather collect the reply programmatically, submit it through the [Submit an RFI response](https://docs.hifi.com/api-reference/rfi/submit-an-rfi-response) endpoint instead. Pass `transferId` to find the request holding a specific onramp or offramp, for example after an `ONRAMP.RFI.OPEN` or `OFFRAMP.RFI.OPEN` webhook. The open onboarding RFI for a single user is also returned on the [Retrieve KYC status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) endpoint. # Submit an RFI response Source: https://docs.hifi.com/api-reference/rfi/submit-an-rfi-response https://production.hifi.com/api/v2/openapi.json post /v2/rfis/{rfiId}/submissions Answer the current round of a request for information. Each entry in `items` replies to one request item by its `requestItemId` with exactly one of `fileId` or `answerText`, and any file must be uploaded through the files endpoint first. Every item marked `required` must be answered, and a round accepts only one submission. # Accept a swap Source: https://docs.hifi.com/api-reference/token-swap/accept-a-swap https://production.hifi.com/api/v2/openapi.json post /v2/wallets/swaps/{swapId}/accept Accept a swap request to execute the cryptocurrency exchange. # Create a swap Source: https://docs.hifi.com/api-reference/token-swap/create-a-swap https://production.hifi.com/api/v2/openapi.json post /v2/wallets/swaps Create a swap request to exchange one cryptocurrency for another within the same chain or across chains. # List all swaps Source: https://docs.hifi.com/api-reference/token-swap/list-all-swaps https://production.hifi.com/api/v2/openapi.json get /v2/wallets/swaps Returns a list of swaps associated with a user under your organization. The swaps are returned sorted by creation date, with the most recent swaps appearing first. # Request swap cancellation Source: https://docs.hifi.com/api-reference/token-swap/request-swap-cancellation https://production.hifi.com/api/v2/openapi.json post /v2/wallets/swaps/{swapId}/cancel Request cancellation of a swap while it is still cancellable. A successful response confirms that the cancellation request was recorded; it does not guarantee that the swap has already reached the terminal `CANCELLED` status. # Retrieve a swap Source: https://docs.hifi.com/api-reference/token-swap/retrieve-a-swap https://production.hifi.com/api/v2/openapi.json get /v2/wallets/swaps/{swapId} Retrieve details of a specific swap by its ID. # Create a user Source: https://docs.hifi.com/api-reference/user/create-a-user https://production.hifi.com/api/v2/openapi.json post /v2/users Create a new Hifi user (Individual/Business) HIFI does not provide services to users or businesses from sanctioned and high-risk regions or unsupported US states. See [here](https://docs.hifi.com/docs/compliance/regions) for supported regions. # Generate a terms of service link Source: https://docs.hifi.com/api-reference/user/generate-a-terms-of-service-link https://production.hifi.com/api/v2/openapi.json post /v2/tos-link The Terms of Service page must be displayed to the end user. This page can be whitelabeled upon request. # List all users Source: https://docs.hifi.com/api-reference/user/list-all-users https://production.hifi.com/api/v2/openapi.json get /v2/users Get all existing Hifi users # Retrieve a terms of service link Source: https://docs.hifi.com/api-reference/user/retrieve-a-terms-of-service-link https://production.hifi.com/api/v2/openapi.json get /v2/tos-link/{signedAgreementId} Retrieve the status of a terms of service link # Retrieve a user Source: https://docs.hifi.com/api-reference/user/retrieve-a-user https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId} Get an existing Hifi user # Update a user Source: https://docs.hifi.com/api-reference/user/update-a-user https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId} Update an existing Hifi user. HIFI does not provide services to users or businesses from sanctioned and high-risk regions or unsupported US states. See [here](https://docs.hifi.com/docs/compliance/regions) for supported regions. # Create a virtual account Source: https://docs.hifi.com/api-reference/virtual-account/create-a-virtual-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts Generate a virtual bank account to onramp from `sourceCurrency` to `destinationCurrency` on chain `destinationChain`. (note: virtual accounts are billable) # Deactivate a virtual account Source: https://docs.hifi.com/api-reference/virtual-account/deactivate-a-virtual-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/deactivate Deactivate an existing virtual account. # List all virtual accounts Source: https://docs.hifi.com/api-reference/virtual-account/list-all-virtual-accounts https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/virtual-accounts List all virtual accounts associated with a user under your organization. # Reactivate a virtual account Source: https://docs.hifi.com/api-reference/virtual-account/reactivate-a-virtual-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/reactivate Reactivate an existing virtual account. # Retrieve a virtual account Source: https://docs.hifi.com/api-reference/virtual-account/retrieve-a-virtual-account https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/virtual-accounts/{accountId} Get an existing virtual bank account detail. # Simulate a deposit to a virtual account Source: https://docs.hifi.com/api-reference/virtual-account/simulate-a-deposit-to-a-virtual-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/simulate-deposit Simulate a deposit to a virtual account in sandbox environment. This endpoint is only available in sandbox and allows testing deposit flows. **Note:** This endpoint is only available in sandbox environment. # Update a virtual account Source: https://docs.hifi.com/api-reference/virtual-account/update-a-virtual-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/update Update an existing virtual account. # Add external wallets to a user Source: https://docs.hifi.com/api-reference/wallet/add-external-wallets-to-a-user https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/wallets/external Add external wallets to a user # Add wallets to a user Source: https://docs.hifi.com/api-reference/wallet/add-wallets-to-a-user https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/wallets/add Add wallets to a user # Get an external wallet Source: https://docs.hifi.com/api-reference/wallet/get-an-external-wallet https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/external/{externalWalletId} Get an external wallet # Get an inbound deposit Source: https://docs.hifi.com/api-reference/wallet/get-an-inbound-deposit https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/deposits/{depositId} Get an inbound deposit for a user's wallet # Get external wallets for a user Source: https://docs.hifi.com/api-reference/wallet/get-external-wallets-for-a-user https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/external Get external wallets for a user # Get inbound deposits Source: https://docs.hifi.com/api-reference/wallet/get-inbound-deposits https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/deposits Get inbound deposits for a user's wallet # Retrieve wallet balance Source: https://docs.hifi.com/api-reference/wallet/retrieve-wallet-balance https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/balance Get the latest balance of a user's wallet, including details like the blockchain network and currency. # Authentication Source: https://docs.hifi.com/api/authentication All requests to the HIFI API must be authenticated using API keys. This guide covers how to create, secure, and manage your keys. ## Prerequisites To get your API keys, you'll need access to the HIFI Dashboard. **Don't have access?** Schedule a call with our team. > [card] [Request access](https://www.hifi.com/contact?utm_source=docs\&utm_medium=referral\&utm_campaign=request_access) > > Describe your use case and schedule an intro call ## API Environments HIFI provides two environments for development and production: | Environment | Base URL | Purpose | | :- | :- | :- | | **Sandbox** | `https://sandbox.hifibridge.com` | Testing and development with simulated transactions | | **Production** | `https://production.hifibridge.com` | Live transactions with real money movement | ## Creating API Keys ### Access the API Keys Section 1. Log in to the [HIFI Dashboard](https://app.hifi.com) 2. Navigate to **Developer** → **API Keys** ### Select Your Environment Choose which environment you're creating keys for: * **Sandbox** - For testing and development * **Production** - For live operations > [!NOTE] > > **Best Practice:** Start with sandbox keys to build and test your integration before moving to production. ### Generate a New API Key 1. Click the **"Create API Key"** or **"New API Key"** button 2. Provide a descriptive name that identifies the key's purpose\ Examples: * "Production Web App" * "Staging Server" * "Mobile App Development" * "Webhook Service" 3. Click **"Generate"** to create the key ### Copy and Secure Your API Key > [!WARNING] > > API keys are shown only once at creation. If you lose your key, you'll need to generate a new one and update your application. **After generation:** 1. ✅ **Immediately copy the API key** from the dashboard 2. ✅ **Store it securely** in your environment variables or secrets manager 3. ✅ **Never commit keys** to version control (Git, SVN, etc.) 4. ✅ **Never expose keys** in client-side code or public repositories **Example of secure storage:** ```bash theme={null} # .env file (add to .gitignore) HIFI_API_KEY=zpka_1234567890abcdef HIFI_ENVIRONMENT=sandbox ``` ## Managing API Keys ### Deleting API Keys If a key is compromised or no longer needed: 1. Navigate to **Developer** → **API Keys** in the dashboard 2. Find the key you want to delete 3. Click **"Delete"** or the delete icon 4. Confirm the deletion > [!WARNING] > > Deleted keys stop working immediately. Ensure you've updated your application with a new key before deleting the old one. ## API Key Security Requirements All customers and integrators are required to handle HIFI API keys in accordance with the following security practices. ### Transmission * **Only transmit API keys over encrypted channels (HTTPS/TLS).** Never send a key via email, chat, SMS, or any unencrypted medium. * When making API requests, always use the `Authorization: Bearer YOUR_API_KEY` header over HTTPS — never include keys in URLs or unencrypted request bodies. ### Storage * Store API keys in environment variables or a dedicated secrets manager (e.g., AWS Secrets Manager, HashiCorp Vault, GCP Secret Manager). * **Never hardcode keys** in application source code or configuration files committed to version control. * **Never expose keys** in client-side code, browser bundles, or public repositories. * Restrict access to keys using least-privilege principles — only the systems and personnel that require the key should have access to it. ### Rotation * Rotate API keys **at least once every 12 months** as part of routine key hygiene. * Rotate immediately if a key is suspected to be compromised, accidentally exposed, or if a team member with access departs. * **Rotation procedure:** 1. Generate a new API key in the HIFI Dashboard under **Developer** → **API Keys** 2. Update your application or secrets manager with the new key 3. Verify the new key is working correctly 4. Delete the old key from the dashboard > [!NOTE] > > If you believe your key has been compromised, delete it immediately and generate a replacement. Contact [support@hifi.com](mailto:support@hifi.com) if you need assistance. ## Testing Your API Key Verify your API key is working correctly with the ping endpoint: ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/ping" \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Successful response:** ```json theme={null} { "message": "pong" } ``` **Authentication error:** ```json theme={null} { "error": "Not authorized" } ``` *** ## Next Steps Now that you have your API keys set up: * [**Quickstart Guide**](/docs/quickstart) - Build your first integration * [**API Reference**](https://docs.hifi.com/api-reference) - Explore available endpoints * [**Webhooks**](/docs/webhooks) - Set up real-time event notifications * [**Error Handling**](https://docs.hifi.com/docs/api/errors) - Learn how to handle API errors gracefully *** ## Getting Help **Having trouble with authentication?** 1. ✅ Verify your API key is active in the dashboard 2. ✅ Check the header format: `Authorization: Bearer YOUR_KEY` 3. ✅ Ensure you're using the correct environment endpoint **Still need help?** * 📧 **Email:** [support@hifi.com](mailto:support@hifi.com) # Error Codes Source: https://docs.hifi.com/api/errors This document provides a comprehensive guide to the error handling system used in the HIFI API. Understanding these error codes will help you effectively handle exceptions and communicate issues to your users. ## Error Code Structure Error codes follow a consistent format that provides information about the source and type of error: **`SSCEESS`** Where: * **SS**: Service identifier (2 digits) * **C**: Error category (2 digits) * **EE**: Error sequence (2 digits) **Example**: Error code `100001` indicates a generic validation error (Service ID: 10, Category: 00, Sequence: 01). > [accordion] Service Identifiers > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Service IDDescription
10Generic Services
20Authentication
30User Management
40Transaction Processing
50Account Management
60Wallet Services
70System Infrastructure
> [accordion] Error Categories > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Category IDDescription
00Validation Error
01Authentication Error
02Authorization Error
03Not Found Error
04Service Unavailable
05Inactive Resource
## Error Response Format All error responses follow a consistent JSON structure: ```json theme={null} { "code": 100001, "error": "FIELD_VALIDATION_ERROR", "errorDetails": "Fields provided are either missing or invalid" } ``` ## Error Code Reference > [accordion] Generic Errors (10xxxx) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
CodeErrorDescription
100001FIELD_VALIDATION_ERRORFields provided are either missing or invalid
100002METHOD_NOT_ALLOWEDMethod not allowed
100003INVALID_VERSIONInvalid version
100004DEPRECATED_RESOURCEThis resource has been deprecated
100005RESOURCE_CONFLICTResource conflict, please try different request id
> [accordion] Authentication Errors (20xxxx) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
CodeErrorDescription
200001INVALID_API_KEYInvalid API key
200201PRODUCTION_NOT_ENABLEDProduction is not enabled for this profile
200202USER_ROLE_NOT_ALLOWEDUser role not allowed to perform this action
200203UNAUTHORIZEDUnauthorized
200204PROFILE_FROZENProfile is not authorized to access this resource
200301BILLING_CONFIG_NOT_FOUNDBilling configuration not found
200301KEY_DOES_NOT_EXISTKey does not exist
> [accordion] User Management Errors (30xxxx) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
CodeErrorDescription
300001USER_ALREADY_EXISTSUser already exists
300201USER_ACTION_NOT_ALLOWEDUser is not allowed to perform this action
300201USER_COMPLIANCE_VERIFICATION_FAILEDUser compliance information is not approved
300202USER_COMPLIANCE_DATA_INVALIDUser compliance data is invalid
300202USER_FROZENUser is not authorized to access this resource
300301USER_NOT_FOUNDUser not found
> [accordion] Transaction Errors (40xxxx) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
CodeErrorDescription
400001INVALID_TRANSACTION_ROUTE > Invalid transaction route (combination of currency, crypto, and rail) >
400002INVALID_ACCOUNT_FOR_TRANSACTIONInvalid bank account for the transaction
400003TRANSACTION_REQUEST_ALREADY_EXISTSTransaction request already exists
400005QUOTE_NOT_READYQuote is not ready yet
400006INVALID_QUOTEExpired or invalid quote
400301TRANSACTION_NOT_FOUNDTransaction not found
400302QUOTE_NOT_FOUNDQuote not found
400401INSUFFICIENT_BALANCEInsufficient balance for transaction
400402INSUFFICIENT_CREDIT_BALANCEInsufficient credit balance for transaction fee
400403TRANSACTION_INITIATION_FAILEDTransaction initiation failed
> [accordion] Account Management Errors (50xxxx) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
CodeErrorDescription
500001INVALID_ACCOUNT_DATAInvalid bank account data provided
500301ACCOUNT_NOT_FOUNDBank account ID not found
500501INACTIVE_ACCOUNTBank account is not active
> [accordion] Wallet Management Errors (60xxxx) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
CodeErrorDescription
600001INVALID_WALLET_CONFIGInvalid wallet configuration provided
600001WALLET_ALREADY_EXISTSWallet already exists for this configuration
600301WALLET_NOT_FOUNDWallet not found for the user
600501INACTIVE_WALLETWallet is not active
> [accordion] System/Infrastructure Errors (70xxxx) > > > > > > > > > > > > > > > > > >
CodeErrorDescription
700401INTERNAL_SERVER_ERRORInternal server error
## Usage Examples ### JavaScript ```javascript theme={null} try { // API call const response = await fetch("/api/transfers", { method: "POST", headers: { Authorization: "Bearer " + apiKey, "Content-Type": "application/json", }, body: JSON.stringify(transferData), }); if (!response.ok) { const error = await response.json(); throw error; } } catch (error) { if (error.code === 300301) { // Handle USER_NOT_FOUND error console.log("User was not found in the system"); } else if (error.code === 400401) { // Handle INSUFFICIENT_BALANCE error console.log("Transaction failed due to insufficient balance"); } else if (error.code === 200001) { // Handle INVALID_API_KEY error console.log("Please check your API key"); } } ``` ### HTTP Response Example ```http theme={null} HTTP/1.1 400 Bad Request Content-Type: application/json { "code": 400001, "error": "INVALID_TRANSACTION_ROUTE", "errorDetails": "Invalid transaction route with the provided transaction details" } ``` ## Best Practices ### Error Handling 1. **Always check error codes** before displaying generic error messages 2. **Implement retry logic** for transient errors (5xx status codes) 3. **Log errors** for debugging and monitoring purposes 4. **Provide user-friendly messages** based on error codes ### Common Error Scenarios * **Authentication Issues**: Check API key validity and permissions * **User Not Found**: Verify user exists and is properly created * **Insufficient Balance**: Check account balances before transactions * **Invalid Routes**: Ensure currency/crypto/rail combinations are supported ### Error Code Patterns * **1xxxxx**: Generic validation and system errors * **2xxxxx**: Authentication and authorization issues * **3xxxxx**: User-related problems * **4xxxxx**: Transaction processing errors * **5xxxxx**: Account management issues * **6xxxxx**: Wallet service problems * **7xxxxx**: System infrastructure errors # Changelog Source: https://docs.hifi.com/changelog Product updates and announcements **November 13, 2026** SOFID, Wallet API - New Query Filters **SOFID (SoFiUSD) - Production Beta Now Live** * SOFID (SoFiUSD) is now available in production beta on Solana, Ethereum, and Polygon through the HIFI API. * Supported functionality includes: * **Onramp:** Convert USD to SOFID, delivered to a wallet on Solana, Ethereum, or Polygon. * **Offramp:** Convert SOFID to USD, paid out to a bank account. * **Transfers:** Send SOFID between wallets on the same chain. * A minimum of 100 SOFID applies to both onramps and offramps. * Access is enabled on a per-account basis. If you’re interested in using SOFID, reach out in the thread and our team will help get you set up. **BRL Payouts - Service Restored** * BRL local payouts are now back live and available for processing following the recent service interruption. * You can resume submitting BRL payout transactions as normal. **Wallet API - New Query Filters** * We’ve added `chain` and `address` query filters to the List All Wallets API endpoint, making it easier to retrieve specific wallets without filtering results on your end. **November 6, 2026** ACH Same-Day Transfer **ACH Same-Day Transfers** * We've introduced Same-Day ACH to the V2 and V3 Dashboards, providing a faster alternative to standard ACH transfers directly within the transaction forms. **October 12, 2026** External Wallet Screening **External Wallet Screening - Breaking Change**\ We're updating our external wallet screening requirements. All external wallets will be required to pass screening before they can receive funds, effective November 11, 2026.\ \ **What's Changing:** * **New Wallets:** During the migration period, newly registered wallets will remain active while screening is conducted. Wallets flagged during screening will be deactivated, while those requiring additional review will remain active unless screening determines they should be restricted. * **Existing Wallets:** Existing wallets will continue functioning until November 11, 2026. To avoid disruptions, re-submit any wallets you intend to continue using by sending the original registration request again with the same `referenceId`, address, and chain. **Effective November 11 (11 AM ET), 2026:** * All newly registered wallets will remain inactive until they receive a `CLEARED` status. * Any wallet that has not received a `CLEARED` status will be blocked from transactions. * Deposits into Virtual Accounts linked to uncleared wallets will fail. * Raw wallet addresses will no longer be accepted. **Documentation:**\ For details on wallet registration, screening statuses, webhooks, and Sandbox testing, refer to:\\ * [V2 External Wallet Screening](https://docs.hifi.com/compliance/external-wallet-screening#screening-status-and-webhooks) * [V3 External Wallet Screening](https://docs.hifi.com/v3/core/wallets/external-wallet-screening) **October 2, 2026** Settlement Rules, CCTP v2, USDT Bridging Sandbox **Settlement Rules by Rail** * Settlement Rules can now be configured based on the domestic payment rail, giving you more control over how incoming funds are automatically settled. * Configure rail-specific triggers for **RTP, ACH, and Wire** when creating Settlement Rules via the API. * Check out the [Settlement Rules documentation](https://docs.hifi.com/api-reference/settlement-rules/create-a-settlement-rule#response-rules-items-trigger-one-of-0) for more details. **CCTP v2: Faster Cross-Chain USDC Transfers** * We’re upgrading USDC bridging to CCTP v2, Circle’s Cross-Chain Transfer Protocol, with a new Fast Transfer option. USDC continues to move natively between supported blockchains. * **Fast Transfers** - Cut the source-chain verification wait on Ethereum from \~15–19 minutes with Standard to \~20 seconds with Fast. On Base, that drops from \~15–19 minutes to \~8 seconds, helping you fund wallets, rebalance treasury balances, and make cross-chain payments faster. * **Choose Your Speed** - Standard remains the default. Request `transferSpeed: "FAST"` through the existing bridge API for transfers originating on Ethereum, Base, or Solana. Fast Transfers carry an additional fee and are subject to available capacity. **USDT Bridging Sandbox** * USDT bridging is now fully functional end-to-end in Sandbox, making it easier to test bridging flows before moving to Production. **September 25, 2026** USD SWIFT Coverage **USD SWIFT Coverage Expansion**\ We’ve expanded USD SWIFT payout coverage to 122 additional countries, significantly expanding HIFI’s global payout reach. * Explore the full list of supported markets in our updated [Coverage](https://docs.hifi.com/v3/docs/references/coverage#payout) documentation. **September 18, 2026** HIFI V3, New USD Payout Corridors, Arc Support, Arc \<> Canton Bridging **HIFI V3 is Live**\ HIFI V3 is now live across both the API and dashboard, with a redesigned API structure and an updated dashboard experience. * Explore the new dashboard at[ beta.hifi.com](http://beta.hifi.com). * Check out the[ V3 documentation](https://docs.hifi.com/v3/docs/introduction/welcome) to get started. * Please migrate to V3 by **March 18, 2027**. * We've put together a[ V2 → V3 Migration Guide](https://docs.hifi.com/v3/guides/v2v3Migration/overview) to help make the transition as seamless as possible. **New USD Payout Corridors**\ We've expanded our USD payout coverage with: * **Hong Kong** - USD CHATS (B2B Payments Only) * **Bahrain** - USD SWIFT **Arc Support**\ HIFI now supports Arc across several core flows: * **Onramp & Offramp** - Move funds between fiat and USDC on Arc. * **USDC Bridging** - Bridge USDC to and from Arc across supported networks. **Arc \<> Canton Bridging** * USDC can now be bridged directly between Arc and Canton through HIFI, enabling seamless movement of USDC across both networks. * Please note that HIFI has been selected as an official partner for DTCC/Canton tokenized asset initiatives, leveraging this unique cross-network capability. **September 11, 2026** Offramp Message, USDT Sandbox Parity, TRON Developer Fees, Two-Factor Authentication **Offramp Messages for Orchestration Addresses** * Offramp messages can now be configured for Orchestration Addresses (OAs). * When an OA triggers an offramp, the configured message will automatically be passed through as the Wire, ACH, or RTP reference, depending on the destination account. * Offramp messages can be configured when creating or updating an OA. **USDT Sandbox Parity** * Sandbox now supports the full USDT functionality available in Production. * Polygon Amoy now supports USDT onramps, offramps, swaps, transfers, and batch transfers. * USDT swaps are now fully supported across Ethereum, Solana, TRON, and Polygon in sandbox. * This brings USDT functionality in sandbox to full parity with Production, enabling more complete end-to-end testing. **TRON Developer Fees** * Developer fees are now supported for TRON offramps. * Developer fees are automatically batched and processed as part of the offramp flow. **Two-Factor Authentication** * Two-Factor Authentication (2FA) is now enforced within the HIFI Dashboard. * Adds an additional layer of security when accessing your HIFI account. **September 4, 2026** New Global Network Payout Currencies **New Global Network Payout Currencies - Beta**\ \ We've expanded Global Network payout coverage with five additional currencies, now available in beta:\\ **AUD - Australian Dollar** **CAD - Canadian Dollar** **JPY - Japanese Yen** **VND - Vietnamese Dong** **GBP - British Pound** **August 28, 2026** DBA Support as a Payment Title, SWIFT Offramp Support **DBA Support as a Payment Title (from Sep 14, 2026)**\ \ We now support using a Doing Business As (DBA) name (`alternativeNames`) as the payout title for U.S. domestic payments (ACH, Wire, RTP). Starting Sep 14, any `alternativeNames` provided in a KYB application will require a `DBA_DOC` for verification. If the documentation is not uploaded, the KYB submission will be blocked.\ \ **Examples for payment title:** * **Wire**: * Previous: HIFI Bridge Inc * New: HIFI * **ACH / RTP:** * Previous: HIFI Bridge Inc - ACME Corp. * New: HIFI - ACME What changes for businesses created after Sep 14: * `alternativeNames` will require `DBA_DOC`. * If `alternativeNames` is provided, it will be used automatically as the payment title. * `alternativeNames` will be used as the beneficiary name of the virtual account for inbound deposits. * `alternativeNames` will be limited to 1 value. What remains unchanged: * Businesses created before Sep 14 will continue to use their business name as the outbound payment title and as the virtual account beneficiary name. * `alternativeNames` will remain optional. If you’d like to update your DBA and the DBA for an already-onboarded business, please reach out with eligible documentation.\ \ **British Virgin Islands SWIFT Offramp Support for Global Network** * We've added support for USD SWIFT offramps into the British Virgin Islands. **August 21, 2026** Expanded U.S. Virtual Account Availability, Global Coverage **Expanded U.S. Virtual Account Availability**\ \ We've expanded HIFI's U.S. Virtual Account coverage. **Individuals and businesses** in the following countries can now open U.S. Virtual Accounts:\ **Bahamas**\ **Bolivia**\ **Costa Rica**\ **Dominican Republic**\ **Ecuador**\ **Fiji**\ **Guatemala**\ **Honduras**\ **India**\ **Jamaica**\ **Monaco**\ **Nigeria**\ **Panama**\ **Peru**\ **Philippines**\ **Saudi Arabia**\ **Trinidad and Tobago**\ **Turkey**\ **Vietnam**\ \ As part of this expansion, liveness checks will be required for individuals completing KYC, as well as UBOs of businesses completing KYB, in the countries above.\ \ This requirement will also apply to new onboardings going forward in the following previously supported markets:\ **China**\ **Colombia**\ **Hong Kong**\ \\ **August 14, 2026** New Global Network Corridors, SEPA Limit **New Global Network SWIFT Corridors**\ \ We've expanded Global Network coverage with two new USD SWIFT payout corridors: * **Macau** - USD SWIFT * **India** - USD SWIFT **SEPA Instant - Transaction Limit Removed** * All supported **EUR SEPA payouts**, regardless of transaction size, will now settle via SEPA Instant when the recipient bank supports the rail. * Enables faster EUR settlement without requiring any changes to your existing payment flow. **Note:** If the recipient bank does not support SEPA Instant, the payment will automatically settle via SEPA Standard. **August 7, 2026** INR Payout, Magic Values, Dashboard Improvement **INR Payout Support** * INR payouts are now live, enabling local payouts directly to bank accounts in India via IMPS,RTGS, and NEFT * If you're interested in enabling INR payouts, reach out in the thread and we'll help you get started **Magic Values** * Magic Values are now available in sandbox, making it easier to simulate different transaction and KYB/KYC outcomes during testing * See our [documentation](https://docs.hifi.com/features/magic-values/overview) for more details **Dashboard Improvements** * **Rates Tab** * Allows you to view live conversion rates for supported local currency payouts and stablecoin swaps directly via the dashboard * **Developer Fees** * Allows for developer fees to be included directly within the transaction lifecycle, making it easier to monetize payment flows without managing fees separately * See our [documentation](https://docs.hifi.com/features/developer-fees#developer-fees) to get a better idea of how this works **July 31, 2026** USDT Swap Improvements **USDT Swap Improvements**\ \ We've added more control over USDT swap execution. * You can now pass optional `limitPrice` and `cancelAfterSeconds` parameters to control the execution price of a swap and automatically cancel the order if it cannot be executed before `cancelAfterSeconds` is exceeded. * This helps reduce slippage, improve execution control, and prevent orders from remaining open longer than intended. * See our [documentation](https://docs.hifi.com/api-reference/token-swap/create-a-swap) for more details. \ Thank you for building with us! **July 24, 2026** New Countries, Dashboard Improvemenst, Liveness Check Automation **New Countries Available for Business Onboarding**\ \ Businesses incorporated in the following countries can now onboard with HIFI and open USD Virtual Accounts: * India * Saudi Arabia * Vietnam * Philippines * Panama * Bolivia \ **Dashboard Improvements** * **Organization Invitation Flow** * We've redesigned the organization invitation experience to make joining and managing organizations more intuitive * Users with a pending organization invitation can now choose to: * Join the invited organization * Continue to their existing organization * Create a new organization (if they have not yet onboarded) * **Currency Formatting** * Added thousands separators to currency values across dashboard tables for improved readability \ **RTP Simulation** * Pass `RTP` as the rail via the API or select **RTP** in the dashboard to automate settlement * Enables faster testing with a more streamlined end-to-end development workflow \ **Liveness Check Automation** * To further streamline onboarding, automated liveness checks are now supported for UBO verification tied to businesses based on a dynamic risk-based approach. * This reduces manual review requirements during KYB onboarding * See our [documentation](https://docs.hifi.com/compliance/liveness-checks) for more details. **July 10, 2026** Georgia Support Added to the Global Network RailGeorgia Support ### **Georgia Support Added to the Global Network Rail** * Georgia is now a supported destination for USD SWIFT payouts via the Global Network Rail **July 3, 2026** USDT Fee Management Options ### **USDT Fee Management Options** **You can now choose how USDT exchange fees are handled:** * **Deduct fees at the time of transaction** - The exchange fee is taken directly from the transaction amount. * **Maintain a 1:1 conversion** - Continue converting at par and have the exchange fees aggregated and charged at the end of the month via invoice.\ You can update your preference at any time from the Billing tab in the Production environment of the dashboard.\ \ *\*Please note*: Any changes to your billing preference will take effect 24 hours after the update is made. **June 26, 2026** Orchestration Addresses, Sumsub KYC Token Sharing ### **Orchestration Addresses** * Orchestration addresses allow you to define how incoming funds should move and what actions should be triggered once funds arrive * Automatically route and orchestrate funds to one or multiple destinations, including wallet addresses, USD bank accounts, and non-USD fiat accounts * Simplify treasury operations and automate complex settlement workflows without the need for manual batching or fund movement * Interested in enabling orchestration addresses or have questions about potential use cases? [Learn more](https://docs.hifi.com/features/orchestration-addresses) \ **Sumsub KYC Token Sharing** * Sumsub token sharing is now live on HIFI * Reuse existing Sumsub verifications across platforms to reduce onboarding friction for individuals (KYC) * Interested in enabling token sharing or have questions about the integration? [Learn more](https://docs.hifi.com/features/token-sharing) **June 19, 2026** Nigeria Business Accounts, Dashboard Transaction Experience ### **Nigeria Business Virtual Accounts Now Supported** * HIFI now supports virtual accounts for business users incorporated in Nigeria * Eligible Nigerian businesses can now create USD virtual accounts and receive USD deposits directly through HIFI * This expands access to USD collection capabilities for businesses operating in the region \ **Dashboard Transaction Experience Improvements** * We've rolled out an updated transaction creation experience in the dashboard with both streamlined and advanced transaction workflows **June 5, 2026** Developer Dashboard Improvements ### **Developer Dashboard** * **Billing Notifications** * Added billing notifications at 48 hours, 24 hours, and past due, with direct links to Sequence for payment. * This helps teams stay ahead of upcoming invoices and quickly resolve any outstanding balances directly from the dashboard. * **External Wallet Support** * Added support for external wallets in transaction workflows. * Teams can now create, manage, and use external wallets directly from the dashboard, making it easier to support wallet-based transaction flows. **May 29, 2026** Canton, PoA Streamlining ### **Canton Now Available in Sandbox** * Canton is now available in the Sandbox environment for testing and integration development * Access is not enabled by default, if your team would like to begin testing Canton in Sandbox, please reach out to the HIFI team for access ### **Proof of Address Streamlining (US & Canada)** * For individuals in the United States and Canada, submitting a valid Driver's License, State/Provincial ID, or Residence Permit will now automatically satisfy the Proof of Address (PoA) requirement * A separate PoA document is no longer required when the submitted identification contains the users address and meets verification requirements * This helps streamline onboarding and reduce document collection requirements for eligible users **May 22, 2026** Dashboard Improvements ### **Dashboard** * **Transaction Flow Improvements** * Improved the dashboard currency and chain selection flow to prevent dropdown cutoff and visibility issues near the bottom of the screen * Creates a smoother transaction setup experience across supported assets and networks * **Onboarding Flow** * Added a new introductory dashboard walkthrough for first-time users * Helps users better understand testing vs live transaction behavior before getting started * **KYC Link Redirect** * Updated KYC link flows to pass the user ID as a query parameter when redirects are present. **May 15, 2026** Supplementary Info and EUR Payouts ### **EUR Payouts Are Now Live** HIFI now supports EUR payouts across 41 European countries via SEPA, SEPA Instant, and SWIFT. * Faster EUR disbursements across European corridors * Unified API support for EUR payout workflows * SEPA, SEPA Instant, and SWIFT rails available Learn more with our guide: [Send EUR Offramps](https://docs.hifi.com/guides/send-eur-offramps) ### **Supplementary Info for Compliance** * Added `supplementaryInfo` and `supplementaryUrl` fields to Update KYC on API and Dashboard * Allows applicants to proactively provide additional business context they believe may help compliance review * Aims to reduce friction and minimize RFIs during onboarding **May 7, 2026** Dashboard Enhancement and Breaking Chnanges ### **Dashboard** * **Dashboard Command Palette & Keyboard Shortcuts** * Added a global Command Palette (`⌘` in Mac, `CTRL` in Windows/Linux) to the dashboard for quickly navigating pages and performing actions such as creating users * Added new keyboard shortcuts including: * `⌘E `**→** switch between Production and Sandbox * `⌘B `**→** toggle sidebar * `d `**→** toggle light/dark theme * Improves workflows and overall dashboard navigation speed * **"What’s New" Feature Popup** * Implemented a "What’s New\*\*"\*\* popup system for newly released dashboard features * Automatically appears on login when developers have unseen updates * Improves feature discoverability and visibility into newly released functionality * **Delete Offramp Account** * Added the ability to “delete” offramp accounts directly from the dashboard * Accessible from the bottom of the offramp account sheet * Simplifies account management and cleanup workflows for operational teams **May 1, 2026** Dashboard Enhancement ### **Dashboard** * **Virtual Account Micro-Deposits** * Added support for viewing micro-deposits directly within the Dashboard virtual account drawer * Improves visibility during account verification and streamlines reconciliation workflows. * **Transfer Approval Email Preferences** * Admins can now opt in / opt out of transfer approval emails via the Dashboard * Reduces notification noise and allows teams to tailor workflows to their needs * Enhances usability for organizations with multiple admins * **Team Invite Flow Improvements** * Updated the invite acceptance flow across the Dashboard and email to require: * Clicking the email link * Confirming via an accept button on the Dashboard * Resolves issues related to Outlook link handling and email behavior * Creates a clearer, more reliable invite acceptance process * **TOS API Flow Migration** * The TOS acceptance API flow is now added to the new Dashboard system, fully deprecating the legacy implementation * Simplifies architecture and aligns all onboarding flows across API and Dashboard * Eliminates legacy TOS links, ensuring a more consistent and reliable developer experience **April 24, 2026** TRON Support Enhancements, USDT Fee Observability, Event-based Alerts ### ⚠️ **Proof of Address Required** * Starting May 22, 2026, Proof of Address (PoA) will be required for all KYC/KYB submissions via the API and Dashboard * US/Canada residents can submit a government-issued ID with address e.g. Drivers License * Users approved before May 22 will not be affected * This change will speed up verification and significantly reduce Requests for Information (RFIs), improving your compliance experience **Improved Proof of Address (PoA) Submission Experience** * Screenshots are now accepted for PoA submissions, making it easier to submit digital documents such as utility bills or bank statements without converting them into formal PDFs **Dashboard** * **Customizable KYC Link** * Added the ability for developers to edit the template image used for KYC links * Improves white-label flexibility and user-facing branding customization * **Batch Transfer Dashboard View** * Added a new batch transfer view to the Dashboard * Gives developers visibility into grouped transfer operations and related activity * Improves operational workflows for high-volume transfer use cases **April 19, 2026** TRON Support Enhancements, USDT Fee Observability, Event-based Alerts ### TRON Support Enhancements * Added batch transfer functionality * Improved settlement logic for smoother on/offramps ### USDT Fee Observability * Exchange fees are now visible within quotes under the `conversionFee` parameter * Applies to USDT onramp and offramp transactions ### Event-Based Alerts * Introduced email notification settings within the dashboard * Can opt in or out of updates such as rail activations, transaction milestones, etc. **April 10, 2026** TRON Wallet Support, Dashboard Stability Improvements ### TRON Wallet Support * Added support for **TRON wallets** directly within the dashboard * Expands wallet compatibility and enables seamless interaction with TRON-based assets ### Dashboard Stability Improvements * Resolved minor rendering issues across the Dashboard * Improved visual consistency and reduced UI edge-case bugs * Enhances overall reliability and developer experience **April 3, 2026** Bug fixes ### Bug Fixes * Resolved an issue impacting USD payout flows caused by an unintended update from our downstream provider * Resolved delayed swap transactions linked to deposit issues, which was indirectly affecting onramp and offramp flows * Fixed an incorrect offramp preview rate for CNY payouts **March 27, 2026** Supporting docs, TRON sandbox, Dashboard improvements ### Supporting Documents for Offramps * Users can now attach supporting information when creating an offramp transaction via the dashboard or API * API field: `supportingInformation` * Enables faster reviews and improves overall settlement efficiency * Highly recommended to reduce transaction friction due to RFIs ### TRON USDT Sandbox Support * Added support for USDT on TRON within the sandbox environment * Enables testing of TRON-based USDT flows prior to production use * Expands multi-chain testing coverage for developers ### Dashboard Improvements ### Reports Page * Enables developers to view and interact with key performance metrics * Establishes a foundation for future custom metrics and analytics ### Wallet Balance Update * Updated balance rounding logic to always round down, replacing previous half-up/half-down behavior * Ensures more predictable and consistent balance displays **March 23, 2026** Breaking changes ### ⚠️ Breaking Change - Testnet USDT ### Ethereum Sepolia USDT Token Update The Ethereum Sepolia USDT token address has been updated to: `0x5532B426Bb07Bf73E2e28c106b6a593e7797f07E` * All previous testnet USDT balances on Ethereum Sepolia are no longer supported * Use the new token contract for Ethereum Sepolia testing going forward ### Solana Devnet USDT Support Testnet USDT is supported on Solana Devnet with the following token address: `5fkWZrgqU8abXxkPWLjkbnHxofuovHMNQ9usky6W3Hv` If you need testnet tokens, please reach out to the HIFI team. **March 20, 2026** Dashboard home and transaction history export ### New Features ### New Dashboard Home Page * Introduced a redesigned dashboard home page with more relevant and actionable data * Provides clearer visibility into account activity and system state * Improves navigation and first-touch experience ### Transaction History Export * Developers can now download transaction history directly from the dashboard across: Transfers, Swaps, Bridging, Onramps, Offramps * Aids reporting, reconciliation, and operational analysis **March 14, 2026** Authentication improvements ### Authentication Improvements * Updated the authentication architecture across our platform (both server and dashboard) * This update improves overall platform security while simplifying the authentication process * Dashboard interactions are \~40% faster as a result **March 6, 2026** Transaction cancellation and enhanced ux ### Transaction Cancellation Users can now cancel onramp and offramp transactions while they are in the `IN_REVIEW` state, providing greater control during the review window and allowing quick correction of submission errors. * [Cancel an onramp](https://docs.hifi.com/api-reference/onramp/cancel-an-onramp) * [Cancel an offramp](https://docs.hifi.com/api-reference/offramp/cancel-an-offramp) ### Enhanced Transaction UI / UX * Improved transaction flow across the dashboard * Simplifies how users create and review transactions across onramp, offramp, swap, and bridging flows * Improves clarity, reduces friction, and provides a more intuitive transaction experience **February 27, 2026** TRON support and Dashboard improvements ### TRON is live! We've added support for the TRON network on HIFI, significantly expanding our platform's blockchain coverage. Supported functionality includes: * Transfers * Onramps * Offramps * Swaps * Virtual Accounts ### Dashboard Improvements * Introduced a compliance overview section to provide greater transparency and visibility into account status and requirements * Improved onboarding experience to show compliance stage clearly **February 20, 2026** Dashboard and authentication improvements ### Dashboard * Replaced magic link login with OTP-based authentication to prevent user lockouts and improve reliability. * Enhanced login page design across both light and dark modes for stronger visual consistency and brand alignment. * Added transaction search and filtering across all transaction types to improve discoverability and user experience. **February 14, 2026** RTP and other improvements ### Real-Time Payments (RTP) Now Live for USD Domestic Transfers * Users can now select RTP for eligible USD domestic offramp transactions * RTP is also supported for eligible Virtual Account (VA) deposits * Enables near-instant settlement to support U.S. bank accounts * Expands payout rails beyond ACH, Wire, and SWIFT—improving speed and operational flexibility for domestic USD transfers ### Dashboard * Enhanced light mode for improved visual clarity and usability * Optimized performance to reduce load times on the workflows user page * Added Request Access functionality to streamline permission management * Added bridging workflows directly within the dashboard * Users can initiate and manage bridging operations from the UI * Expands cross-network functionality without requiring API usage ### Documentation * Updated the Global Network page to reflect the complete and current set of supported payment methods and corridors ### Offramp – Proof of Payment * Automatic Proof-of-Payment generation for completed offramp transactions * Provides downloadable and shareable confirmations for end recipients ### Chain + Token Support Expansion (Global Network) * Added offramp support for USDC on Base * Enabled offramp functionality for additional tokens: PYUSD, USDG, USDT **February 13, 2026** Transaction status and event updates ### Transaction "In Review" Status Transactions under compliance review will now show an explicit `IN_REVIEW` status before progressing to fund transfer states: * **Onramp:** `IN_REVIEW` → `FIAT_PENDING` * **Offramp:** `IN_REVIEW` → `CRYPTO_INITIATED` * **Crypto Transfers:** `IN_REVIEW` → `INITIATED` Previously, transactions remained in `FIAT_PENDING` (Onramp) or `CRYPTO_INITIATED` (Offramp) during review, making monitoring unclear. ### Legacy Events Deprecated `ONRAMP.UPDATE`, `OFFRAMP.UPDATE`, `ONRAMP.CREATE`, and `OFFRAMP.CREATE` will no longer be supported. Update your integrations to use the new transaction events documented in our [Onramp events](/webhooks/onramp-events) and [Offramp events](/webhooks/offramp-events) sections to avoid service disruptions. If you have any questions, please email . **February 6, 2026** Dashboard improvements and expanded coverage ### Dashboard Improvements * Added UETR visibility directly within the transaction view * Enabled virtual account deactivation from the dashboard * Added exact source and destination amount controls for off-ramp quotes (supporting both send exact and receive exact flows) * Improved dashboard table search to prevent locking during active searches * Removed optional and non-essential fields from global network off-ramp account creation * Fixed team member invite flow to ensure proper redirection and completion ### Expanded Global Network Offramp Coverage Added USD SWIFT Offramp support for: * Mexico * Australia * Turkey * Israel * New Zealand **January 30, 2026** Dashboard launch, stability, and new coverage ### Dashboard Launch The new Dashboard is now live at [app.hifi.com](https://app.hifi.com)! ### Focus Areas and Improvements Our initial focus has been on delivering a stable experience and swiftly resolving critical issues, including: * Redirects from the legacy Dashboard * Date and timezone handling fixes * Sandbox/production environment switching * Settlement rule rendering * Onboarding flow improvements ### Expanded Coverage * Added USD Global Network payout support via SWIFT to the Netherlands **January 22, 2026** New features and improvements ### New Dashboard (Pilot) We're rolling out a pilot of the new HIFI Dashboard, redesigned to support enhanced developer workflows and faster compliance operations. **What's New:** * Rebuilt from the ground up for speed and performance * Faster compliance experience with improved error handling * New homepage, reports page, and approvals section * Integrated support to send messages to Slack directly **Try it now:** [app.hifi.com](https://app.hifi.com) The current Dashboard will be phased out at the end of February. ### New KYC Status: RFI Pending We've introduced a new compliance status to provide clearer visibility into review progress. * Submissions will briefly be in `PENDING` (\~ 2m) * After this, the submission will progress to: * `MANUAL_REVIEW` - Your application is under review by our compliance team * `RFI_PENDING` - Additional information is required (Request sent via email) * `APPROVED`/`REJECTED` - Final state ### Improvements ### Proof of Address Automation for KYC Process The Proof of Address (PoA) request process has been streamlined to reduce email dependency whilst improving turnaround time. * KYC PoA RFIs will no longer trigger email notifications * Instead, you can submit the PoA directly from the Dashboard or API Please refer to this document for a step-by-step guide to the technical integration process. **January 16, 2026** New features and improvements ### New Features ### Solana Support - Global Network You can now offramp directly from Solana wallets to Global Network accounts. This removes the need for an intermediate bridging step. ### KYC & Identity Additional PoA document types introduced to improve clarity: * `UTILITY_BILL` * `BANK_STATEMENT` * `RENTAL_AGREEMENT` * `TAX_DOCUMENT` * `VOTER_REGISTRATION_CARD` * `BANK_REFERENCE_LETTER` * `LEASE_OR_TENANCY_AGREEMENT` * `PROOF_OF_ADDRESS` **January 10, 2026** New features and improvements ### New Features ### Dashboard Swaps Swapping is now available on the Dashboard, enabling you to convert between stablecoins within HIFI wallets. [Learn more](https://docs.hifi.com/transactions/swaps) ### Sandbox KYC Simulations You can now test specific KYC outcomes by setting the user's last name to a reserved keyword. * **PENDING** – Simulate applications awaiting review * **APPROVAL** – Test approved verification flows * **REJECTION** – Test declined verification scenarios Please use these to build robust error handling before going live. ### Bug Fixes & Improvements ### Onramps * Fixed: Bug affecting onramp transaction flows in African markets ### Offramps * Fixed: `amount_in_usd` now correctly populates for all offramp transactions * Fixed: USD offramp processing issues in Brazil related to billing configuration * Updated: Documentation to resolve field inconsistencies ### Swaps * Fixed: Amount mismatches and webhook delivery issues * Added: Balance validation checks before swap initiation to prevent failed transactions ### Sandbox * Simplified: Financial institution support in Sandbox for improved stability * Updated: Documentation reflects the streamlined Sandbox setup **January 8, 2026** New feature ### Wallet Swaps Exchange one stablecoin for another instantly on the same blockchain network. New endpoints: * `POST /v2/wallets/swaps` - Create a swap * `POST /v2/wallets/swaps/{swapId}/accept` - Accept a swap * `GET /v2/wallets/swaps` - List swaps * `GET /v2/wallets/swaps/{swapId}` - Retrieve a swap See the [Swaps documentation](/transactions/swaps) and [API Reference](https://docs.hifi.com/api-reference/token-swap/list-all-swaps) for details. **January 2, 2026** New webhook events ### New Webhook Events Starting Monday Jan 5, we're introducing new webhook events to help you track the status of onramp and offramp transactions more efficiently. **New events for transaction creation:** * `ONRAMP.TRANSACTION.CREATE` * `OFFRAMP.TRANSACTION.CREATE` **New events for transaction status changes:** * `ONRAMP.STATUS.*` * `OFFRAMP.STATUS.*` **New events for managing RFIs:** * `ONRAMP.RFI.OPEN` * `ONRAMP.RFI.CLOSED` * `OFFRAMP.RFI.OPEN` * `OFFRAMP.RFI.CLOSED` ### ⚠️ Breaking Changes Legacy transaction events (`ONRAMP.UPDATE`, `OFFRAMP.UPDATE`, `ONRAMP.CREATE`, `OFFRAMP.CREATE`) will be deprecated by Friday, Feb 13 2026. To avoid service disruptions, please update your integrations to use the new events. If you have any questions, please let us know or refer to the documentation. Learn more: [Onramp events](/webhooks/onramp-events), [Offramp events](/webhooks/offramp-events) **December 26, 2025** Updates and fixes ### Dashboard Updates * Added support for deleting offramp accounts. * Enabled updating the compliance contact email from Developer > Team. * Micro-deposits are now displayed in the Virtual accounts drawer. ### Fixes & Stability * Resolved multiple KYC Link issues that prevented form submissions. * Fixed a bug with accepting organisation invites. * Fixed return-address issues affecting offramp quote generation. * Resolved inconsistencies with wallet transfer errors. **December 23, 2025** New feature ### Transaction Approvals for Offramps Transaction approvals are now available for offramp transactions. You can require approval before executing offramp transactions (stablecoin to fiat conversions) to add an extra layer of security and compliance control. **Dashboard Approvals:** * Members can now initiate offramp transactions * All member-initiated offramp transactions will **always** enter the transaction approval flow and require Admin approval **API Approvals:** * Offramp transactions will enter the transaction approval flow **only** if `requireApproval: true` is set in the request body **Additional details:** * For offramps that enter the transaction approval flow, quotes are generated **after** approval to prevent quotes from expiring while awaiting review. This matches the behavior for bridging transfers. * **Expiration times:** Transactions in `PENDING_APPROVAL` status will automatically expire if not approved or rejected: * **Onchain transfers** (wallet transfers, batch transfers, bridging): Expire after **1 week** * **Offramps**: Expire after **1 day** See the [Transaction Approvals documentation](/features/transaction-approvals) for more details. **December 20, 2025** New features and improvements ### Instant Onramps **CRNow is live**, enabling USDC minting in under **10 minutes** after deposit during business operating hours. To learn more, visit our [Availability page](/availability). ### USD SWIFT Expansion Our **SWIFT coverage** continues to expand. Offramps to Brazil, Saudi Arabia, Italy, Germany, United Arab Emirates, and Spain are now available. See the [USD Rails page](/rails/usd) for the complete list of supported countries. ### Updates to Accounts API The following fields have been updated for Global Network accounts: * `idNumber`: now optional (remains required for MXN) * `dateOfBirth`: now optional * `formationDate`: now optional ### Improvements * KYC Links now autosave, resolving an issue in which forms could reset and lose previously entered data * Offramp account holder types are now restricted to individual and business only **December 13, 2025** Updates and fixes ### Updates * Added a "Find User" feature on the Compliance page to search quickly. * Changed Transfers page on the Dashboard to Transactions. HIFI supports three transaction types: transfers (onchain), onramps and offramps. * Improved legibility in drawers for usernames and lengthy IDs. * Implemented retries for wallet swaps to improve reliability. ### Fixes * Fixed a bug related to fee charging for refund wallet transfers. * Updated the Global Network KYC response object to show a failed status when the sender's country is unsupported, instead of throwing errors. * Fixed an issue with required fields for KYC Links. * Fixed an issue disabling production access for some customers. **December 12, 2025** New feature ### Reporting We're excited to share our new **Metrics API**! This powerful addition enables you to generate comprehensive data and reports for your payment operations. With the Metrics API, you can: * Generate metrics on transactions and user activity * Preview report results before finalizing * Create custom reporting templates tailored to your needs * Access detailed reports through the API and Dashboard Get started by reading the [Metrics docs](/reporting/metrics), the [Reporting guide](/guides/reporting), or exploring the new endpoints in our [API Reference](/api-reference/reporting). **December 9, 2025** Expansion ### SWIFT Offramps We now support international SWIFT payouts (USD). Refer to the [USD Rails page](/rails/usd) for more details on supported countries and regions. Or see the [Offramp Accounts guide](/accounts/offramp-accounts) for instructions on how to create an account. # Global Transfers Source: https://docs.hifi.com/guides/global-transfers Enable businesses to send money internationally through stablecoins with instant settlement. Leverage HIFI's global network to reach recipients in multiple countries with low fees and transparent exchange rates. **⏱️ Time to complete:** 35-45 minutes **🎯 What you'll build:** A complete cross-border payment flow where a US business pays a Hong Kong supplier, converting USD → USDC → HKD with instant settlement and competitive rates. ## Use Case Overview This recipe demonstrates an international B2B payment where: * ✅ US business deposits USD from their bank account * ✅ USD automatically converts to USDC stablecoin * ✅ USDC transfers instantly across borders * ✅ HKD is deposited to supplier's Hong Kong bank account This flow enables fast, cost-effective international business payments with transparent pricing and instant settlement. *** ## What you'll build Here's what we'll accomplish in this recipe: 1. **Generate API Keys** - Set up authentication for HIFI API 2. **Create Business A (Payer)** - Onboard US business and complete KYB for USD rail 3. **Add Virtual Account** - Set up account for USD deposits that convert to USDC 4. **Create Business B (Payee)** - Onboard Hong Kong supplier (or use existing business) 5. **Execute Payment** - Send USDC from Business A → HKD to Business B's bank account **Payment Flow:** ``` USD → Business A Bank Account → USDC → Business A Wallet → HKD → Business B Bank Account ``` > [!NOTE] > > All examples in this guide use the sandbox environment. When you're ready for > production, simply replace the sandbox URL with the production endpoint and > use your production API keys. *** ## Generate API Keys Access to the HIFI API requires authentication via API keys. Generate your keys from the HIFI Dashboard before making any API calls. Be sure to copy the key immediately as it’s only shown once. For a complete guide on API authentication, see our [Authentication Documentation](/docs/api/authentication). > [accordion] Using Your API Key > > Include your API key in the `Authorization` header of all API requests: > > ```bash theme={null} > --header 'authorization: Bearer YOUR_API_KEY' > ``` *** ## Create Business A (US Payer) The paying business needs a verified business account to access fiat rails and send international payments. Every business must accept HIFI's Terms of Service and complete KYB (Know Your Business) verification before they can move money between fiat and crypto. > [!NOTE] > > **Complete Business Onboarding Guide:** For a comprehensive walkthrough of > business onboarding and KYB verification, see our [Business User > Guide](/docs/users). > [accordion] Generate Terms of Service Link > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/tos-link \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "idempotencyKey": "96bc39ba-c6c6-412a-9452-e95a35d3f533" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "url": "TERMS_OF_SERVICE_URL", > "signedAgreementId": "96bc39ba-c6c6-412a-9452-e95a35d3f533" > } > ``` > > **What to do with this response:** > > 1. **Direct the business to the `url`** - Send this link via email or embed in your application > 2. **Save the `signedAgreementId`** - You'll need this to create the business user > 3. **Wait for acceptance** - The `signedAgreementId` becomes valid only after they click "Accept" > [accordion] Create Business User > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", > "type": "business", > "chains": ["POLYGON"], > "email": "ustestbusiness@gmail.com", > "dateOfBirth": "2023-12-25", > "address": { > "addressLine1": "4550 Market Street", > "city": "Philadelphia", > "stateProvinceRegion": "PA", > "postalCode": "19104", > "country": "USA" > }, > "ipAddress": "127.0.0.1", > "signedAgreementId": "96bc39ba-c6c6-412a-9452-e95a35d3f533", > "businessName": "US Test Business", > "ultimateBeneficialOwners": [ > { > "firstName": "John", > "lastName": "Doe", > "dateOfBirth": "1980-01-01", > "hasControl": true, > "isSigner": true > } > ] > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "id": "94dcd5c2-4508-593d-9302-fd7a5444eb20", > "type": "business", > "email": "ustestbusiness@gmail.com", > "name": "US Test Business", > "wallets": { > "INDIVIDUAL": { > "POLYGON": { > "address": "0x0466DCD644Ae2Ee5d88CF0e1976c3ce237A0D760" > }, > "ETHEREUM": { > "address": "0x6e3D1de74422a9259578302Fd1e9eb203EACB2E8" > } > } > } > } > ``` > [accordion] Update KYB Information > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/94dcd5c2-4508-593d-9302-fd7a5444eb20/kyc \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "firstName": "US Test Business", > "nationality": "USA", > "taxIdentificationNumber": "678898765" > } > ' > ``` > > **Response:** > > The response includes comprehensive business information including UBO details, business structure, compliance questionnaires, and uploaded documents. > [accordion] Submit KYB for USD Rail > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/94dcd5c2-4508-593d-9302-fd7a5444eb20/kyc/submissions \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "rails": "USD" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "USD": { > "status": "CREATED", > "message": "Your KYC application has been successfully created. We will review it shortly." > } > } > ``` *** ## Add Virtual Account (Business A) Now that Business A has passed KYB, create a **Virtual Account** for onramping. This is a bank account number automatically created by HIFI that the business can deposit USD into. When fiat arrives, it's automatically converted to USDC and sent to their wallet. > [!NOTE] > > **Complete Virtual Account Guide:** For more details on virtual accounts and > onramping, see our [Virtual Accounts Guide](/docs/virtual-accounts). > [accordion] Create Virtual Account > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/94dcd5c2-4508-593d-9302-fd7a5444eb20/virtual-accounts \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "sourceCurrency": "usd", > "destinationCurrency": "usdc", > "destinationChain": "POLYGON" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "message": "Virtual account created successfully", > "accountInfo": { > "id": "c3d1b830-a57c-54d8-a103-df4e0713ff82", > "createdAt": "2025-11-13T20:15:03.187Z", > "updatedAt": "2025-11-13T20:15:03.187Z", > "provider": "CROSS_RIVER", > "userId": "94dcd5c2-4508-593d-9302-fd7a5444eb20", > "source": { > "paymentRail": ["ach", "wire", "rtp"], > "currency": "usd" > }, > "destination": { > "chain": "POLYGON", > "currency": "usdc", > "walletAddress": "0x0466DCD644Ae2Ee5d88CF0e1976c3ce237A0D760", > "externalWalletId": null > }, > "status": "activated", > "microDeposits": { > "count": 0, > "data": [] > }, > "depositInstructions": { > "bankName": "Cross River Bank", > "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", > "beneficiary": { > "name": "US Test Business", > "address": "1234 Walnut Street, Suite 1200, Philadelphia, PA, 19107, US" > }, > "ach": { > "routingNumber": "021214891", > "accountNumber": "388125286772" > }, > "wire": { > "routingNumber": "021214891", > "accountNumber": "388125286772" > }, > "rtp": { > "routingNumber": null, > "accountNumber": null > }, > "reference": null, > "depositBy": null, > "instruction": "Please deposit usd to the bank account provided. Please ensure that the beneficiary name matches the account holder name provided, or the payment may be rejected." > }, > "settlementRuleId": null > } > } > ``` *** ## Create Business B (HK Payee) The recipient business (Business B in Hong Kong) needs a business account with an HKD bank account to receive the payment. Follow the same business creation flow as Business A, but complete KYB for the appropriate Hong Kong rail. > [!NOTE] > > **Using an Existing Business:** If Business B already exists in your system, > you can skip business creation and just ensure they have an active Hong Kong > bank account. You'll need their `userId` and `accountId` for the payment > transaction. ### Required Information To complete this recipe, you'll need: * **Business B's `userId`** - From creating their business account * **Business B's HKD `accountId`** - From adding their Hong Kong bank account For the complete flow of creating Business B and adding their HKD bank account, follow the same steps as Business A but: 1. Use Hong Kong business information and address details 2. Submit KYB for the Hong Kong rail 3. Add an **Offramp Account** (Hong Kong bank account) instead of a Virtual Account For detailed instructions on adding offramp accounts for international recipients, see our [Offramp Guide](/docs/transactions/offramps). *** ## Execute Payment Now you can send the international payment from Business A (US) to Business B (Hong Kong). Create an **offramp** transaction that converts USDC to HKD and sends it to Business B's Hong Kong bank account. This is a two-step process: 1. **Create offramp request** - Get a quote for the conversion 2. **Accept the quote** - Execute the payment > [!NOTE] > > **Complete Offramp Guide:** For more details on offramps and cross-border > transfers, see our [Offramp Guide](/docs/transactions/offramps). > [accordion] Create Offramp Request > > Create an offramp request to get a quote for converting 10 USDC to HKD using the [Create an offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/offramps \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "requestId": "e6c2e4fc-83d2-4e3b-9836-7ff57f2709be", > "purposeOfPayment": "payment_for_services", > "supportingDocumentType": "billing_document", > "description": "Payment for supplier services", > "source": { > "amount": 10, > "currency": "usdc", > "chain": "POLYGON", > "userId": "94dcd5c2-4508-593d-9302-fd7a5444eb20" > }, > "destination": { > "currency": "hkd", > "accountId": "556d4f54-2514-4d10-ac93-c2aff03d2de5", > "userId": "e06caa8a-4c0f-58d7-95a5-baf676e1e39a", > "paymentReference": "Invoice #12345" > } > } > ' > ``` > > **Request Fields:** > > **requestId** `string` *required* > > Unique identifier (UUID) for this offramp request to ensure idempotency. > > **purposeOfPayment** `string` > > Purpose of the payment for compliance. Common values for B2B: > `payment_for_services`, `payment_for_goods`, `invoice_payment`, > `contract_payment`, etc. > > **supportingDocumentType** `string` > > Type of supporting document if required. Options: `billing_document`, > `invoice`, `contract`, `purchase_order`, etc. > > **supportingDocumentUrl** `string` > > URL to the supporting document if required by regulations. > > **description** `string` > > Description of the payment (e.g., invoice number, contract reference). > > **source** `object` *required* > > Source of the offramp (crypto side - Business A). > > **properties** > > **amount** `number` *required* > > Amount of USDC to convert from Business A's wallet > > **currency** `string` *required* > > Source cryptocurrency (e.g., `usdc`, `usdt`) > > **chain** `string` *required* > > Blockchain network (e.g., `POLYGON`, `ETHEREUM`) > > **userId** `string` *required* > > Business A's user ID (the payer) > > **externalWalletId** `string` > > Optional external wallet ID if using a wallet outside HIFI's custody > > **destination** `object` *required* > > Destination of the offramp (fiat side - Business B). > > **properties** > > **currency** `string` *required* > > Destination fiat currency (e.g., `hkd` for Hong Kong Dollars) > > **accountId** `string` *required* > > Business B's bank account ID where HKD will be deposited > > **userId** `string` *required* > > Business B's user ID (the recipient) > > **amount** `number` > > Optional: Specify destination amount if you want to send an exact fiat > amount > > **paymentReference** `string` > > Payment reference text (e.g., invoice number, order ID) that will appear on > the recipient's bank statement > > **wireMessage** `string` > > Message for wire transfers > > **developerFee** `array` > > Optional: Developer fees to collect on the transaction. > > **properties** > > **fees** `array` > > **properties** > > **type** `string` > > Fee type: `PERCENTAGE` or `FLAT` > > **value** `string` > > Fee value (percentage or flat amount) > > **walletAddress** `string` > > Wallet address to receive the fee > > **Response:** > > ```json theme={null} > { > "transferType": "OFFRAMP", > "transferDetails": { > "id": "63b7f9de-31e9-4726-bf5c-b4f21a6af796", > "requestId": "e6c2e4fc-83d2-4e3b-9836-7ff57f2709be", > "createdAt": "2025-11-17T14:36:15.277Z", > "updatedAt": "2025-11-17T14:36:16.377Z", > "status": "OPEN_QUOTE", > "failedReason": null, > "error": null, > "errorDetails": null, > "source": { > "userId": "94dcd5c2-4508-593d-9302-fd7a5444eb20", > "chain": "POLYGON", > "currency": "usdc", > "amount": 10, > "walletAddress": "0x0466DCD644Ae2Ee5d88CF0e1976c3ce237A0D760", > "user": { > "email": "ustestbusiness@gmail.com", > "lastName": null, > "firstName": null, > "businessName": "US Test Business" > } > }, > "destination": { > "userId": "e06caa8a-4c0f-58d7-95a5-baf676e1e39a", > "amount": 75.63, > "currency": "hkd", > "user": { > "email": "hkgtestbusiness@gmail.com", > "lastName": null, > "firstName": null, > "businessName": "HKG Test Business" > }, > "accountId": "556d4f54-2514-4d10-ac93-c2aff03d2de5", > "paymentReference": "Invoice #12345" > }, > "receipt": {}, > "quoteInformation": { > "sendGross": { > "amount": "10.000000", > "currency": "usdc" > }, > "sendNet": { > "amount": "9.730000", > "currency": "usdc" > }, > "taxFee": { > "amount": "0.170000", > "currency": "usdc" > }, > "railFee": { > "amount": "0.100000", > "currency": "usdc" > }, > "receiveGross": { > "amount": "75.63", > "currency": "hkd" > }, > "receiveNet": { > "amount": "75.63", > "currency": "hkd" > }, > "rate": "7.563000", > "expiresAt": "2025-11-17T14:37:14.946+00:00" > }, > "depositInformation": [] > } > } > ``` > > ✅ **Offramp quote created!** > > **Response Fields:** > > **transferDetails.id** `string` > > Unique offramp transaction ID. **Save this** - you'll need it to accept the > quote and monitor status. > > **transferDetails.type** `string` > > Transfer type. Always `OFFRAMP` for cross-border payment transactions. > > **transferDetails.status** `string` > > Current status. `OPEN_QUOTE` means you have an active quote waiting to be > accepted. > > **transferDetails.source** `object` > > Source details showing Business A's wallet and amount being sent. > > **properties** > > **userId** `string` > > Business A's ID > > **businessName** `string` > > Business A's name > > **chain** `string` > > Blockchain network > > **currency** `string` > > Source cryptocurrency > > **amount** `number` > > Amount of crypto being converted > > **walletAddress** `string` > > Business A's wallet address > > **transferDetails.destination** `object` > > Destination details showing Business B's bank account and amount they'll > receive. > > **properties** > > **userId** `string` > > Business B's ID > > **businessName** `string` > > Business B's name > > **accountId** `string` > > Business B's bank account ID > > **currency** `string` > > Destination fiat currency > > **amount** `number` > > Amount of fiat Business B will receive (in HKD) > > **paymentReference** `string` > > Payment reference that will appear on bank statement > > **transferDetails.quoteInformation** `object` > > **Critical:** Detailed breakdown of the conversion including exchange rate, > fees, and amounts. > > **properties** > > **sendGross** `object` > > **properties** > > **amount** `string` > > Total USDC amount before fees > > **currency** `string` > > Currency code > > **sendNet** `object` > > **properties** > > **amount** `string` > > USDC amount after deducting fees > > **currency** `string` > > Currency code > > **taxFee** `object` > > **properties** > > **amount** `string` > > Tax fee amount > > **currency** `string` > > Fee currency > > **railFee** `object` > > **properties** > > **amount** `string` > > Payment rail processing fee > > **currency** `string` > > Fee currency > > **receiveGross** `object` > > **properties** > > **amount** `string` > > Total HKD amount before destination fees > > **currency** `string` > > Currency code > > **receiveNet** `object` > > **properties** > > **amount** `string` > > Final HKD amount Business B will receive > > **currency** `string` > > Currency code > > **rate** `string` > > Exchange rate (USDC to HKD). In this example: 1 USDC ≈ 7.56 HKD > > **expiresAt** `string` > > Quote expiration timestamp (ISO 8601 format) > > **Understanding the Quote:** > > In this example: > > * Business A sends **10 USDC** > > * After fees (tax: 0.170 USDC, rail: 0.100 USDC), **9.73 USDC** is converted > > * At a rate of **7.56 HKD per USDC** > > * Business B receives **75.63 HKD** in their Hong Kong bank account > > > [!WARNING] > > > > **Quote Expiration:** Quotes typically expire after 15-30 minutes to protect > > against exchange rate volatility. If your quote expires before acceptance, > > create a new offramp request for a fresh quote with updated rates. > [accordion] Accept Quote and Execute Payment > > After reviewing the quote, exchange rate, and fees, accept it to execute the cross-border payment using the [Accept Quote](https://docs.hifi.com/api-reference/offramp/accept-quote) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/offramps/63b7f9de-31e9-4726-bf5c-b4f21a6af796/quote/accept \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' > ``` > > **Response:** > > ```json theme={null} > { > "transferType": "OFFRAMP", > "transferDetails": { > "id": "63b7f9de-31e9-4726-bf5c-b4f21a6af796", > "requestId": "e6c2e4fc-83d2-4e3b-9836-7ff57f2709be", > "createdAt": "2025-11-17T14:36:15.277Z", > "updatedAt": "2025-11-17T14:36:16.377Z", > "status": "CRYPTO_INITIATED", > "failedReason": null, > "error": null, > "errorDetails": null, > "source": { > "userId": "94dcd5c2-4508-593d-9302-fd7a5444eb20", > "chain": "POLYGON", > "currency": "usdc", > "amount": 10, > "walletAddress": "0x0466DCD644Ae2Ee5d88CF0e1976c3ce237A0D760", > "user": { > "email": "ustestbusiness@gmail.com", > "lastName": null, > "firstName": null, > "businessName": "US Test Business" > } > }, > "destination": { > "userId": "e06caa8a-4c0f-58d7-95a5-baf676e1e39a", > "amount": 75.63, > "currency": "hkd", > "user": { > "email": "hkgtestbusiness@gmail.com", > "lastName": null, > "firstName": null, > "businessName": "HKG Test Business" > }, > "accountId": "556d4f54-2514-4d10-ac93-c2aff03d2de5", > "paymentReference": "Invoice #12345" > }, > "receipt": {}, > "quoteInformation": { > "sendGross": { > "amount": "10.000000", > "currency": "usdc" > }, > "sendNet": { > "amount": "9.730000", > "currency": "usdc" > }, > "taxFee": { > "amount": "0.170000", > "currency": "usdc" > }, > "railFee": { > "amount": "0.100000", > "currency": "usdc" > }, > "receiveGross": { > "amount": "75.63", > "currency": "hkd" > }, > "receiveNet": { > "amount": "75.63", > "currency": "hkd" > }, > "rate": "7.563000", > "expiresAt": "2025-11-17T14:37:14.946+00:00" > }, > "depositInformation": [] > } > } > ``` > > ✅ **Quote accepted! Cross-border payment is processing.** > > The status has changed from `OPEN_QUOTE` to `CRYPTO_INITIATED`, meaning the transaction is now being executed. > > **Cross-Border Payment Status Progression:** > > 1. `OPEN_QUOTE` - Quote generated, waiting for acceptance > 2. `CRYPTO_INITIATED` - Processing crypto conversion > 3. `CRYPTO_PENDING` - Waiting for blockchain confirmation > 4. `FIAT_PENDING` - Converting to HKD and initiating bank transfer > 5. `COMPLETED` - HKD deposited to Business B's Hong Kong bank account > > **Monitoring Payment Status:** > > Track the payment progress using: > > * **Polling:** Call [Retrieve an offramp](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp) with the transaction ID (`63b7f9de-31e9-4726-bf5c-b4f21a6af796`) > * **Webhooks:** Subscribe to `OFFRAMP.UPDATE` events for real-time status notifications > > **Settlement Times:** > > * **Sandbox:** Instant simulation for testing > > * **Production:** Typically 1-3 business days depending on the destination country's banking system and payment rail > > > [!NOTE] > > > > **Business Payment Notifications:** Consider implementing webhook handlers to > > send notifications to both Business A (payer) and Business B (recipient) as > > the payment progresses. Include transaction details, exchange rates, and > > expected settlement times to provide transparency and improve cash flow > > management. *** ## 🎉 Congratulations! You've successfully completed a cross-border business payment! By following this recipe, you can now: * ✅ Generate API keys and authenticate with HIFI * ✅ Onboard businesses and complete KYB for multiple currency rails * ✅ Create virtual accounts for fiat-to-crypto conversion * ✅ Execute international payments with instant settlement via stablecoins * ✅ Provide transparent fee structures and competitive exchange rates ### Next Steps Ready to build a full cross-border payment platform? Here's what to explore next: * **[Webhooks](/docs/webhooks)** - Set up real-time notifications for payment status updates and settlement confirmations * **[Rails Overview](/docs/rails)** - Explore additional currency corridors to expand your global payment coverage * **[Offramp Guide](/docs/transactions/offramps)** - Deep dive into offramp transactions, compliance requirements, and settlement rules * **[Business User Guide](/docs/users)** - Learn about KYB requirements, UBO verification, and business document management * **[Error Handling](/docs/api/errors)** - Implement robust error handling for failed transactions, expired quotes, and compliance issues * **[API Reference](https://docs.hifi.com/api-reference)** - Explore all available endpoints and parameters for advanced features # Liveness Checks Source: https://docs.hifi.com/guides/liveness-checks Show UBOs the hosted liveness check required to enable USD virtual accounts. Some business users require their Ultimate Beneficial Owners (UBOs) to complete a liveness check before USD virtual accounts can be enabled. > [!NOTE] > > Complete the normal KYB submission first. See [Liveness > Checks](/compliance/liveness-checks) for the countries and ownership threshold > that require this flow. ## How It Works **1. Check the business status** Call the KYC Status API after submitting KYB. **2. Find incomplete UBOs** Look for UBOs with `status: "INCOMPLETE"` and a `liveness` URL. **3. Show each UBO their link** Send the corresponding `liveness` URL to the UBO. Sumsub handles the hosted verification flow. **4. Wait for completion** Continue checking the business status until no required UBO remains incomplete, then wait for HIFI to enable virtual accounts for the profile. ## Check the Business Status Call [Retrieve KYC Status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) for the USD rail. ```bash theme={null} curl --request GET \ --url "https://sandbox.hifibridge.com/v2/users/USER_ID/kyc/status?rails=USD" \ --header "accept: application/json" \ --header "authorization: Bearer YOUR_API_KEY" ``` When liveness checks are outstanding, the response includes: * A top-level `status` of `PENDING` * `NOT_ALL_CHECKS_COMPLETED` in `reviewResult.rejectReasons` * An `INCOMPLETE` UBO with a `liveness` URL > [accordion] View relevant response fields > > ```json theme={null} > { > "status": "PENDING", > "reviewResult": { > "reviewAnswer": "APPROVED", > "rejectReasons": ["NOT_ALL_CHECKS_COMPLETED"] > }, > "details": { > "ultimateBeneficialOwners": { > "details": [ > { > "id": "33673710-8cd7-407b-81a3-01f105970baf", > "status": "INCOMPLETE", > "message": "Please complete [selfie, phone_verification].", > "liveness": "https://in.sumsub.com/websdk/p/sbx_BsHt7ee3DsGcSsSi" > } > ] > } > } > } > ``` > [!WARNING] > > Use the top-level `status` as the completion signal. A `reviewAnswer` of > `APPROVED` does not mean the business is ready while `status` is `PENDING`. ## Show Each UBO Their Link Inspect every item in `details.ultimateBeneficialOwners.details`. For each incomplete UBO with a `liveness` URL, show the API message and a link to the hosted flow. ```tsx theme={null} const owners = status.details?.ultimateBeneficialOwners?.details ?? []; const incompleteOwners = owners.filter( (owner) => owner.status === "INCOMPLETE" && owner.liveness ); return incompleteOwners.map((owner) => (

{owner.message}

Complete verification
)); ``` > [!NOTE] > > Each UBO has their own `liveness` URL. Show the URL only to the corresponding > UBO, and do not construct or modify it. ## Wait for Virtual Account Enablement After the UBO completes the Sumsub flow, continue calling Retrieve KYC Status. Keep the business pending while any UBO is `INCOMPLETE` or the response includes `NOT_ALL_CHECKS_COMPLETED`. Do not attempt to create a virtual account while a required UBO remains incomplete. A top-level `status` of `ACTIVE` confirms that the compliance review is complete; virtual-account availability is enabled for the profile by HIFI. ## Related Pages * [Liveness Checks](/compliance/liveness-checks) * [KYB Status](/kyc/kyb-status) * [Submit KYC](/guides/submit-kyc) # Marketplace Payments Source: https://docs.hifi.com/guides/market-payments Facilitate marketplace payments where buyers can pay sellers across regions and currencies, with structured payout flows that reflect how modern marketplaces operate. Support common marketplace behaviors such as holding funds until conditions are met, confirming completed orders, and releasing payouts with added security. **🎯 What you'll build:** A complete marketplace payment flow where a buyer in the US pays a seller in Hong Kong in USDC. The seller then offramps HKD from their wallet to their bank account. ## Use Case Overview This recipe demonstrates a marketplace payment where: * ✅ User A deposits USD from their bank account * ✅ USD automatically converts to USDC stablecoin * ✅ USDC is transferred to User B wallet * ✅ USDC is converted to HKD and sent to User B’s bank account This flow will demonstrate the use of transaction approvals to hold funds until transactions are approved. Marketplaces may use approval steps for things like confirming delivery, holding funds during a dispute window, or simply adding a release step before paying out a seller. *** ## What you'll build Here's what we'll accomplish in this recipe: 1. **Add Virtual Account (Buyer / User A)** - Set up account for USD deposits that convert to USDC 2. **Create Business User B (Seller)** - Onboard Hong Kong seller 3. **Execute Payment** - Send USDC from User A wallet to User B wallet 4. **Initiate Offramp** - Convert crypto funds from User B's wallet to User B HKD bank account **Payment Flow:** ``` USD → User A Bank Account → USDC → User A Wallet → USDC → Business B Wallet → HKG → Business B Bank Account ``` > [!NOTE] > > All examples in this guide use the sandbox environment. When you're ready for > production, simply replace the sandbox URL with the production endpoint and > use your production API keys. *** ## Prerequisites Before you begin, make sure you have: **User A** – Individual user created and KYC submitted with `status = active` **User B** – Business user created and KYB submitted with `status = active` For a complete guide on user onboarding, see: * [Authentication Guide](/docs/api/authentication) * [User Guide](/docs/users/overview) * [KYC Guide](/docs/kyc) *** ## Add Virtual Account (Buyer) The buyer needs a **Virtual Account** for onramping. This is a bank account number automatically created by HIFI that User A can deposit USD into. When fiat arrives, it's automatically converted to USDC and sent to their wallet. > [!NOTE] > > **Complete Virtual Account Guide:** For more details on virtual accounts and > onramping, see our [Virtual Accounts Guide](/docs/virtual-accounts). > [accordion] Create Virtual Account > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/3b77cec8-1bb9-5ea0-91a1-e8c1411dd429/virtual-accounts \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "sourceCurrency": "usd", > "destinationCurrency": "usdc", > "destinationChain": "POLYGON" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "id": "c48d1dd1-b5cd-5bc7-b85e-df1b0f17c1c8", > "status": "activated", > "provider": "CROSS_RIVER", > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "source": { > "paymentRails": ["ach", "wire", "rtp"], > "currency": "usd" > }, > "destination": { > "chain": "POLYGON", > "currency": "usdc", > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338" > }, > "depositInstructions": { > "bankName": "Cross River Bank", > "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", > "beneficiary": { > "name": "John Doe", > "address": "123 Park Ave, Kansas City, KS, 10001, US" > }, > "ach": { > "routingNumber": "021214891", > "accountNumber": "372232122120" > }, > "wire": { > "routingNumber": "021214891", > "accountNumber": "372232122120" > }, > "instruction": "Please deposit USD to the bank account provided. Ensure that the beneficiary name matches the account holder name provided, or the payment may be rejected." > } > } > ``` *** ## Create Business B (Seller) The seller (Business B in Hong Kong) needs a wallet address to receive the payment. This is created automatically when the business user is onboarded. Some sellers may choose to use a separate wallet dedicated to marketplace-related activity to make tracking incoming payments easier. > [!NOTE] > > **Using an Existing Business:** If Business B already exists in your system, > you can skip business creation and just ensure they have an active wallet > address and Hong Kong bank account for later offramping. You’ll need either > their userid or walletaddress for the crypto transfer. ### Required Information To complete this recipe, you'll need: * **Business B's `userId`** - From creating their business account * **Business B's `walletAddress`** - Provisioned upon creating the business user * **Business B's HKD `accountId`** - From adding their Hong Kong bank account For detailed instructions on adding offramp accounts for international recipients, see our [Wallet Guide](/docs/wallets). *** ## Execute Payment Now you can send the wallet transfer payment from User A (US) to Business B (Hong Kong). Create a crypto transfer that sends USDC from User A’s wallet to Business B’s wallet. > [!NOTE] > > Transfers can be sent to other HIFI users or external wallet addresses. For > this example, we will send to another HIFI user (Business B). For this recipe, we will demonstrate the use of Transaction Approvals. This is a two-step process: 1. **Create crypto transfer request** - Mark `requireApproval` as **true** in the request fields (User A) 2. **Accept the transfer approval** - Accept the approval through the **Approve a transfer** endpoint (Business B) > [accordion] Create Crypto Transfer Request > > Create a crypto transfer request that **requires approval** by setting `requireApproval: true` in the [Create a Crypto Transfer](https://docs.hifi.com/api-reference/wallets/create-transfer) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/wallets/transfers \ > --header 'Authorization: Bearer YOUR_API_KEY' \ > --header 'Content-Type: application/json' \ > --data ' > { > "requestId": "86dbb25a-ef63-496a-a26c-8bdeaf277568", > "currency": "usdc", > "amount": 10, > "chain": "POLYGON", > "source": { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429" > }, > "destination": { > "userId": "e06caa8a-4c0f-58d7-95a5-baf676e1e39a", > "requireApproval": true > } > } > ' > ``` > > **Request Fields:** > > **requestId** `string` *required* > > Unique identifier (UUID) for this transfer request to ensure idempotency. > > **currency** `string` *required* > > Source cryptocurrency (e.g., **usdc**, **usdt**). > > **amount** `number` *required* > > Amount of USDC to send from User A's wallet. > > **chain** `string` *required* > > Blockchain network (e.g., POLYGON, ETHEREUM). > > **source** `object` *required* > > Source of the transfer (User A). > > **properties** > > **userId** `string` *required* > > User A’s user ID (sender) > > **destination** `object` *required* > > Destination of the transfer (Business B) > > **properties** > > **userId** `string` *required* > > Business B’s user ID (either the userid or the `walletAddress` can be provided) > > **requireApproval** `boolean` *required* > > Require approval from Business B (true) > > **Response:** > > ```json theme={null} > { > "transferType": "WALLET.TRANSFER", > "transferDetails": { > "id": "ec2702f3-fe0e-46b0-9fd8-24a12dbd33a3", > "requestId": "c776758a-3246-4347-badf-6a6aa97f0529", > "createdAt": "2025-11-25T18:08:28.924Z", > "updatedAt": "2025-11-25T18:08:28.924Z", > "chain": "POLYGON", > "currency": "usdc", > "contractAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582", > "status": "PENDING_APPROVAL", > "failedReason": null, > "source": { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338", > "walletType": "INDIVIDUAL", > "user": { > "email": "johndoe@gmail.com", > "lastName": "Doe", > "firstName": "John" > } > }, > "destination": { > "userId": "e06caa8a-4c0f-58d7-95a5-baf676e1e39a", > "walletAddress": "0x8356d234077d4b7c71E35c95B075ed4ba5FF7681", > "user": { > "email": "hkgtestbusiness@gmail.com", > "businessName": "HKG Test Business" > } > }, > "amount": 10, > "approval": { > "id": "528f0c38-6a82-41b1-8e35-c07c7b6cc556", > "status": "PENDING", > "createdAt": "2025-11-25T18:08:28.976103+00:00" > } > } > } > ``` > > **Response Fields:** > > **transferDetails.id** `string` > > Unique crypto transfer transaction ID. > > **transferDetails.type** `string` > > Transfer type. > > **transferDetails.status** `string` > > Current status. `PENDING_APPROVAL` means you have an active transfer approval > waiting to be accepted. > > **transferDetails.source** `object` > > Source details showing User A’s wallet. > > **properties** > > **userId** `string` > > User A's user ID > > **walletAddress** `string` > > User A's wallet address > > **transferDetails.destination** `object` > > Destination details showing Business B’s wallet info. > > **properties** > > **userId** `string` > > Business B’s user ID > > **walletAddress** `string` > > Business B’s wallet address. This address was provisioned upon creating the user > > **transferDetails.amount** `number` > > Amount of USDC being transferred. > > **transferDetails.approval** `object` > > Transfer approval details. > > **properties** > > **approval.id** `string` > > Unique transfer approval ID > > **approval.status** `string` > > Approval status. **PENDING** means you have an active transfer approval > waiting to be accepted > > ### Understanding Transaction Approvals > > After submitting a transaction request with `requireApproval: true`: > > * The transaction status becomes **PENDING_APPROVAL** and does not execute > * Dashboard admins receive email notifications about the pending approval > * Authorized admins review and either approve or reject the transaction > * If approved → transaction executes normally. If rejected, transaction is cancelled > > For detailed instructions on the approval workflow, see:\ > 👉 **[Transaction Approvals Guide](https://docs.hifi.com/features/transfer-approvals)** *** ## Execute Offramp With the approved transfer, Business B can now transfer the USDC from their wallet into their HKD bank account. This is a two-step process: 1. **Create offramp request** - Get a quote for the conversion 2. **Accept the quote** - Execute the payment ### Required Information In order to execute the offramp and complete this recipe, follow these steps: 1. Create an offramp request with the source (wallet, chain, amount) and destination (fiat account), optionally including developer fees. 2. Review the returned quote--rate, fees, send/receive amounts, and expiration--in `transferDetails.quoteInformation`. 3. Confirm status is `OPEN_QUOTE` and save `transferDetails.id` to track and accept the quote. 4. Accept the quote via `POST /v2/offramps/{id}/quote/accept` to convert stablecoins to fiat and initiate payout. 5. Monitor statuses through crypto and fiat phases (e.g., `CRYPTO_INITIATED` → completion) using the receipt fields or webhooks. For detailed instructions on creating an offramp transaction, see our [Offramp Guide](/docs/transactions/offramps). *** ## 🎉 Congratulations! You've successfully completed a marketplace payment! By following this recipe, you can now: * ✅ Create virtual accounts for fiat-to-crypto conversion * ✅ Execute marketplace payments with transaction approvals * ✅ Provide transparent fee structures and quote expiration ### Next Steps Ready to build a full marketplace payment platform? Here's what to explore next: * **[Webhooks](/docs/webhooks)** - Set up real-time notifications for transaction status updates and user engagement * **[Offramp Guide](/docs/transactions/offramps)** - Deep dive into offramp transactions and compliance requirements * **[Onchain Transfers](/docs/transactions/transfers)** - Learn how to initiate and track onchain wallet-to-wallet transfers * **[Transaction Approvals](/docs/features/transfer-approvals)** - Configure optional approvals for higher-control transaction workflows * **[Error Handling](/docs/api/errors)** - Implement robust error handling for failed transactions and expired quotes * **[API Reference](https://docs.hifi.com/api-reference)** - Explore all available endpoints and parameters for advanced features # Quickstart Source: https://docs.hifi.com/guides/quickstart In this guide, you'll learn how to use the HIFI Sandbox API to simulate money movement. You'll create users, complete KYC, set up a virtual account, simulate a deposit to fund a wallet, and execute a transfer between wallets. **⏱️ Time to complete:** 10-15 minutes **🎯 What you'll build:** A complete setup flow where you create a user, complete KYC, set up a virtual account, simulate a deposit to fund the wallet, and execute a transfer between wallets. ## Sandbox Environment This guide uses the **Sandbox API** where: * ✅ All transactions are simulated - no real money moves * ✅ KYC applications are typically automatically approved * ✅ Transactions complete instantly for testing * ✅ You can experiment freely without financial risk The sandbox behaves identically to production, making it perfect for integration testing. *** ## Prerequisites Before you start, make sure you have: * **API keys** from the Dashboard ([Get API keys](/docs/api/authentication)) * **A tool for making API calls** (cURL, Postman, or similar) * **Basic understanding of REST APIs** * **Your sandbox endpoint:** `https://sandbox.hifibridge.com` > [!NOTE] > > All examples in this guide use the sandbox environment. When you're ready for > production, simply replace the sandbox URL with the production endpoint and > use your production API keys. *** ## What you'll build Here's what we'll accomplish in this guide: 1. **User Creation** - Create a user and accept Terms of Service 2. **KYC Process** - Complete verification to unlock fiat rails 3. **Set Up Virtual Account** - Create a virtual account for receiving deposits 4. **Simulate Deposit** - Fund the wallet by simulating a deposit (onramp) 5. **Execute a Transfer** - Send stablecoins between wallets 6. **Create Offramp Account** - Register a bank account for receiving fiat 7. **Create an Offramp** - Convert stablecoins back to fiat currency *** ## Create a User The **User** object represents an individual or business on HIFI. All transaction activity is associated with a user object. Creating a user is a two-step process: 1. **Generate a Terms of Service link** for your end user to review and accept 2. **Create the user** once they've accepted the terms Once created, users are automatically provisioned with cryptocurrency wallet addresses, enabling them to immediately send and receive digital assets. > [accordion] Generate Terms of Service Link > > Before creating a user, they must accept HIFI's Terms of Service. Generate a unique acceptance link using the [Generate Terms of Service Link](https://docs.hifi.com/v2/reference/post_v2-tos-link) endpoint. > > You'll provide an `idempotencyKey` (any [UUID](https://www.uuidgenerator.net/)), which will become your `signedAgreementId` after the user accepts the terms. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/tos-link \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "idempotencyKey": "8cb49537-bcf9-41b1-8d8c-c9c200d7341b" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "url": "TERMS_OF_SERVICE_URL", > "signedAgreementId": "8cb49537-bcf9-41b1-8d8c-c9c200d7341b" > } > ``` > > **What to do with this response:** > > 1. **Direct your user to the `url`** - Present this link to your end user (via email, in your app, etc.) > > 2. **Save the `signedAgreementId`** - You'll need this to create the user in the next step > > 3. **Wait for acceptance** - The `signedAgreementId` becomes valid only after the user clicks "Accept" > > > [!NOTE] > > > > **Real-time Notifications:** HIFI triggers the `TOS_LINK.UPDATE` webhook event > > when the user accepts the terms, allowing you to proceed with user creation > > immediately. [Learn about webhooks →](/docs/webhooks) > [accordion] Create User > > Once your user has accepted the Terms of Service (and you've received the webhook event or confirmed acceptance), create the user account with the [Create User](https://docs.hifi.com/api-reference/user/create-a-user) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "type": "individual", > "firstName": "John", > "lastName": "Doe", > "email": "john@hifibridge.com", > "dateOfBirth": "1999-01-01", > "address": { > "addressLine1": "123 Main St", > "city": "New York", > "stateProvinceRegion": "NY", > "postalCode": "10010", > "country": "USA" > }, > "signedAgreementId": "8cb49537-bcf9-41b1-8d8c-c9c200d7341b", > "requestId": "705f1f8b-a080-467c-b683-174eca409928" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "id": "32051b2f-0798-55a7-9c42-b08da4192c97", > "type": "individual", > "email": "john@hifibridge.com", > "name": "John Doe", > "wallets": { > "INDIVIDUAL": { > "POLYGON": { > "address": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7" > }, > "ETHEREUM": { > "address": "0xC1c767eaB34b3Cc2C33a354f6Ff2c20fCB98D3C9" > } > } > } > } > ``` > > ✅ **User created successfully!** > > **What you get:** > > * **User ID** (`32051b2f-0798-55a7-9c42-b08da4192c97`) - Save this for all future operations > * **Wallet addresses** - Pre-provisioned on multiple blockchains, ready to use immediately > > **wallets** `object` > > **properties** > > **INDIVIDUAL** `object` > > **properties** > > **POLYGON** `object` > > **properties** > > **address** `string` > > Wallet address on the Polygon network > > **ETHEREUM** `object` > > **properties** > > **address** `string` > > Wallet address on the Ethereum network > > * **Account status** - Active and ready for KYC verification > > > [!NOTE] > > > > **Automatic Wallet Provisioning:** Every user automatically receives wallet > > addresses on supported blockchain networks (Polygon, Ethereum, etc.). These > > wallets are fully functional immediately - no additional setup required. > > ### What's Next? > > Now that you have a user, the next step is to complete KYC verification to unlock the ability to move money between fiat and crypto. Continue to the [KYC section](#kyc-know-your-customer) below. *** ## Complete KYC To move money between stablecoins and fiat currencies, users must complete KYC verification to unlock a **Rail**. **What is a Rail?** A rail is a payment corridor that enables specific currency conversions. For example, the USD rail enables conversions between USD (fiat) and stablecoins like USDC. In this quickstart, we'll complete KYC for the **USD rail**, which allows your user to: * Deposit USD and receive USDC (onramp) * Send USDC and receive USD (offramp) > [!NOTE] > > **Rail-Specific Requirements:** Each rail has different KYC requirements based > on regulatory needs. Visit our [Rails page](/docs/rails) to learn about > available rails and their specific requirements. ### Recommended: Use KYC Links The easiest way to collect KYC information is using **KYC Links**, which provide a hosted, user-friendly flow. Generate a KYC link and redirect your user to complete verification. **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/kyc-link \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "rails": ["USD"], "redirectUrl": "https://yourapp.com/kyc-complete" } ' ``` **Response:** ```json theme={null} { "kycLinkUrl": "KYC_LINK_URL" } ``` **What to do:** 1. **Redirect your user** to the `kycLinkUrl` - They'll complete KYC on HIFI's hosted page 2. **User completes KYC** - They fill out information and upload documents 3. **User is redirected back** - After completion, they're sent to your `redirectUrl` with `?userId=...` 4. **Monitor status** - Check KYC status via API or webhooks > [!NOTE] > > **KYC Links Benefits:** KYC Links handle all the complexity of document > uploads, validation, and submission automatically. This is the recommended > approach for most integrations. [Learn more about KYC Links > →](/docs/features/kyc-links) ### Alternative: Use API If you need full control over the KYC collection process, you can submit KYC programmatically using the API. This approach requires you to: 1. Retrieve KYC requirements 2. Update KYC information 3. Upload identity documents 4. Submit the KYC application 5. Monitor approval status > [!NOTE] > > For detailed instructions on programmatic KYC submission, see our [Submit KYC > Guide](/docs/guides/submit-kyc). ### Check KYC Status After your user completes KYC (via KYC Link or programmatic submission), check their status: **Request:** ```bash theme={null} curl --request GET \ --url 'https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/kyc/status?rails=USD' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' ``` **Response:** ```json theme={null} { "status": "ACTIVE", "message": "", "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" } } ``` ✅ **KYC approved!** When status is `ACTIVE`, the USD rail is unlocked and the user can proceed with transfers. > [!NOTE] > > **Sandbox Auto-Approval:** In the sandbox environment, KYC applications are > typically automatically approved within minutes for testing purposes. In > production, the review process typically takes 1-3 business days. You can monitor KYC status by: 1. **Polling** the [Retrieve KYC Status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) endpoint 2. **Listening** for `KYC.STATUS_UPDATE` [webhook events](/docs/webhooks/kyc-events) *** ## Create Virtual Account Now that your user has passed KYC, you can add a **Virtual Account** to enable onramping (converting fiat deposits into stablecoins). A **Virtual Account** is a bank account number automatically created by HIFI that your user can deposit money into. When fiat arrives, it's automatically converted to the specified stablecoin and sent to the user's wallet. The parameters you specify determine the conversion: * `sourceCurrency` - Fiat currency to deposit (e.g., `usd`) * `destinationCurrency` - Stablecoin to receive (e.g., `usdc`) * `destinationChain` - Blockchain network (e.g., `POLYGON`) Let's create a virtual account that converts USD deposits into USDC on Polygon: **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/virtual-accounts \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "sourceCurrency": "usd", "destinationCurrency": "usdc", "destinationChain": "POLYGON" } ' ``` **Response:** ```json theme={null} { "message": "Virtual account created successfully", "accountInfo": { "id": "938e3b36-3be7-5535-ba12-8d89eb683e6b", "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "source": { "paymentRail": ["ach", "wire", "rtp"], "currency": "usd" }, "destination": { "chain": "POLYGON", "currency": "usdc", "walletAddress": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7", "externalWalletId": null }, "status": "activated", "depositInstructions": { "bankName": "Cross River Bank", "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", "beneficiary": { "name": "John Doe", "address": "123 Main St, New York, NY, 10010, US" }, "ach": { "routingNumber": "021214891", "accountNumber": "344176915009" }, "wire": { "routingNumber": "021214891", "accountNumber": "344176915009" }, "rtp": { "routingNumber": "021214891", "accountNumber": "344176915009" }, "instruction": "Please deposit USD to the bank account provided. Ensure the beneficiary name matches the account holder name, or the payment may be rejected." } } } ``` ✅ **Virtual account created!** Your user can now deposit USD to onramp into USDC. **Important Fields:** **accountInfo.id** `string` The unique virtual account ID. **Save this** for retrieving account details and monitoring deposits. **accountInfo.depositInstructions** `object` **Most Important:** Bank account details your user needs to send money to. Share these instructions with your user so they can deposit funds via their bank (wire transfer, ACH, or RTP). > [!NOTE] > > **How to Use:** Provide these deposit instructions to your end user through > your app/website. When they send money to this account via their bank, HIFI > automatically detects the deposit, converts it to USDC, and sends it to their > wallet. *** ## Simulate Deposit Before we can transfer funds, we need to fund the user's wallet. In sandbox, we'll simulate a deposit to the virtual account, which will trigger an onramp and deposit USDC into the user's wallet. **What is an Onramp?** An onramp converts fiat money deposited into a virtual account into stablecoins and sends them to the user's wallet. ### How Onramps Work In production, onramping happens automatically when your user sends money from their bank to the virtual account. HIFI detects the deposit and automatically triggers the conversion. In sandbox, we use a simulation endpoint to mimic an incoming deposit without requiring real bank transfers. ### Simulate Deposit (Sandbox) Since we're in sandbox, use the simulate endpoint to create a test deposit: **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/virtual-accounts/938e3b36-3be7-5535-ba12-8d89eb683e6b/simulate-deposit \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "paymentRail": "wire", "source": { "routingNumber": "021000021", "accountNumber": "516843515316", "name": "Jane Doe", "bankName": "JP Morgan Chase" }, "amount": "2", "requestId": "32639f89-5fcc-4e31-8abe-0e710ba2e4a1", "reference": "This is a test deposit" } ' ``` **Request Fields:** **paymentRail** `string` *required* How the money is being sent: `wire`, `ach`, or `rtp` **source** `object` *required* Simulates the sender's bank information. This represents the bank account sending money TO the virtual account. **properties** **routingNumber** `string` Sender's bank routing number **accountNumber** `string` Sender's bank account number **name** `string` Sender's name **bankName** `string` Sender's bank name **amount** `string` *required* Amount of USD being deposited (will convert to equivalent USDC). **requestId** `string` *required* Unique identifier for this deposit simulation (UUID). **Response:** ```json theme={null} { "message": "Sandbox deposit triggered" } ``` ✅ **Deposit simulated!** HIFI will process the deposit and create an onramp transaction. ### Monitor Onramp Status HIFI creates an onramp transaction when a deposit is detected. You'll receive a `ONRAMP.CREATE` webhook event with transaction details. **Onramp Status Progression:** 1. `FIAT_PENDING` - Waiting for fiat to settle 2. `CRYPTO_PENDING` - Converting and sending crypto 3. `COMPLETE` - USDC delivered to wallet **Monitor via:** * **Webhooks:** Subscribe to `ONRAMP.UPDATE` events for real-time notifications * **Polling:** Call [Retrieve an onramp](https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp) with the transaction ID > [!NOTE] > > **Learn More:** For detailed information about receiving money, see the > [Receive Money Guide](/docs/guides/receive-money). > [!NOTE] > > **Wait for Completion:** Wait for the onramp status to reach `COMPLETE` before > proceeding with the transfer. This ensures the user's wallet has funds > available. *** ## Execute a Transfer Now that your user has funds in their wallet, you can execute a **transfer** - sending stablecoins directly between user wallets on the blockchain. **What is a Transfer?** A transfer sends stablecoins from one user's wallet to another user's wallet. No fiat conversion occurs - this is pure crypto-to-crypto movement. ### Create Transfer Send stablecoins from one user to another using the [Create a crypto transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-a-crypto-transfer) endpoint. **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/wallets/transfers \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "source": { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97" }, "destination": { "userId": "30669fcc-b15e-4137-b4fc-9e8f7f659a87" }, "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6", "amount": 1, "currency": "usdc", "chain": "POLYGON" } ' ``` **Request Fields:** **requestId** `string` *required* Unique identifier (UUID) for this transfer request. Ensures idempotency - retrying with the same ID won't create duplicate transfers. **source** `object` *required* Source of the transfer. **properties** **userId** `string` *required* The user sending the crypto. **destination** `object` *required* Destination of the transfer. **properties** **userId** `string` *required* The user receiving the crypto. **amount** `number` *required* Amount of stablecoins to transfer. **currency** `string` *required* Stablecoin to transfer (e.g., `usdc`, `usdt`). **chain** `string` *required* Blockchain network for the transfer (e.g., `POLYGON`, `ETHEREUM`). **Response:** ```json theme={null} { "transferType": "WALLET.TRANSFER", "transferDetails": { "id": "1a1ad1dd-ad72-4f3f-910b-c45dcf09875f", "requestId": "a40ea2aa-7937-4be9-bb1f-b75f1489bcc6", "createdAt": "2025-09-26T03:04:11.092Z", "updatedAt": "2025-09-26T03:04:11.092Z", "chain": "POLYGON", "currency": "usdc", "contractAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582", "status": "CREATED", "failedReason": null, "source": { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "walletAddress": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7", "walletType": "INDIVIDUAL", "user": { "email": "john@hifibridge.com", "lastName": "Doe", "firstName": "John", "businessName": null } }, "destination": { "userId": "30669fcc-b15e-4137-b4fc-9e8f7f659a87", "walletAddress": "0x1b932E54e77Aeb688144550d5a493Ea99E20Daa7", "user": { "email": "Jane@hifibridge.com", "lastName": "Doe", "firstName": "Jane", "businessName": null } }, "amount": 1, "amountIncludeDeveloperFee": 1, "receipt": { "transactionHash": null, "userOpHash": null } } } ``` ✅ **Transfer created!** **Important Fields:** **transferDetails.id** `string` Unique transfer ID. **Save this** to check status using the [Retrieve a crypto transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer) endpoint. **transferDetails.status** `string` Transfer status. Starts as `CREATED`, then progresses through: - `CREATED` - Transfer initiated - `PENDING` - Being processed on blockchain - `COMPLETE` - Successfully delivered - `FAILED` - Transfer failed (see failedReason) ### Monitor Transfer Status **Transfer Status Progression:** 1. `CREATED` - Transfer initiated 2. `PENDING` - Being processed on blockchain 3. `COMPLETE` - Successfully delivered 4. `FAILED` - Transfer failed (see `failedReason`) **Monitor via:** * **Webhooks:** Subscribe to `WALLET.TRANSFER.UPDATE` events for real-time notifications * **Polling:** Call [Retrieve a crypto transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-a-crypto-transfer) with the transfer ID > [!NOTE] > > **Learn More:** For detailed information about other transaction types, see: - > [Receive Money](/docs/guides/receive-money) - Convert fiat to stablecoins - > [Send Money](/docs/guides/send-money) - Convert stablecoins to fiat > [!NOTE] > > **Sandbox Simulation:** No real money moves in sandbox. All transfers are > simulated, but the API requests and responses are identical to production. *** ## Create an Offramp Now let's convert stablecoins back to USD using an **offramp**. An offramp converts USDC to USD and sends it to a user's bank account. ### Create Offramp Account Before creating an offramp, users need to register their bank account as an **offramp account**. This account will receive fiat currency when stablecoins are converted. Create an offramp account using the [Create Account](https://docs.hifi.com/api-reference/account/create-an-account) endpoint: > [tab] USD (US Bank Account) > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "us", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "phone": "+18573491112", > "email": "john@hifibridge.com", > "address": { > "addressLine1": "123 Main St", > "city": "New York", > "stateProvinceRegion": "NY", > "postalCode": "10010", > "country": "USA" > } > }, > "us": { > "transferType": "wire", > "accountType": "checking", > "accountNumber": "99485843", > "routingNumber": "011002877", > "bankName": "HIFI Bank", > "currency": "usd" > } > }' > ``` > > **Response:** > > ```json theme={null} > { > "status": "ACTIVE", > "id": "583eb259-e78b-4f0c-a4b5-a8957876fa6f", > "message": "Account created successfully" > } > ``` > > ✅ **Account created!** Save the `id` - you'll need it when creating offramps. > [tab] Mexico (MXN - SPEI) > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "mexicoGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "ABCD123456EFGH78", > "nationality": "MEX", > "address": { > "addressLine1": "123 Main Street", > "city": "Mexico City", > "stateProvinceRegion": "CDMX", > "postalCode": "01000", > "country": "MEX" > } > }, > "mexicoGlobalNetwork": { > "bankName": "Banco Nacional de México", > "accountNumber": "1234567890", > "clabe": "012345678901234567", > "currency": "mxn" > } > }' > ``` > [tab] Brazil (BRL - PIX) > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/accounts" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "rail": "offramp", > "type": "brazilGlobalNetwork", > "accountHolder": { > "type": "individual", > "name": "John Doe", > "dateOfBirth": "1990-01-01", > "idNumber": "12345678901", > "nationality": "BRA", > "address": { > "addressLine1": "123 Main Street", > "city": "São Paulo", > "stateProvinceRegion": "SP", > "postalCode": "01310-100", > "country": "BRA" > } > }, > "brazilGlobalNetwork": { > "bankName": "Banco do Brasil", > "accountNumber": "12345-6", > "branchNumber": "1234", > "currency": "brl" > } > }' > ``` **Monitor Account Status:** Account status indicates whether the account is ready to use: * `ACTIVE` - Account is validated and ready for offramps * `PENDING` - Account is being validated (wait for activation) * `REJECTED` - Validation failed (check `invalidFields` for details) Monitor via webhooks (`ACCOUNT.UPDATE`) or by polling the [Retrieve an account](https://docs.hifi.com/api-reference/account/retrieve-an-account) endpoint. > [!NOTE] > > **More Account Types:** For additional regions and currencies (China, Hong > Kong, Nigeria, and more), see the [Offramp Accounts > Guide](/docs/accounts/offramp-accounts). ### Create Offramp Request Create an offramp request to get a quote for converting USDC to USD: **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/offramps \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "requestId": "c5f8a2b1-3d4e-5f6a-7b8c-9d0e1f2a3b4c", "source": { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "currency": "usdc", "chain": "POLYGON", "amount": 1 }, "destination": { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "currency": "usd", "accountId": "583eb259-e78b-4f0c-a4b5-a8957876fa6f" } } ' ``` **Response:** ```json theme={null} { "transferType": "OFFRAMP", "transferDetails": { "id": "b838908b-95d0-4ebb-a2c6-8f0c142bcdd7", "status": "OPEN_QUOTE", "quoteInformation": { "exchangeRate": "0.99", "expiresAt": "2025-09-26T03:20:00.000Z" } } } ``` Accept the quote to execute the conversion: ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/offramps/b838908b-95d0-4ebb-a2c6-8f0c142bcdd7/quote/accept \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' ``` ✅ **Offramp initiated!** Monitor status via webhooks (`OFFRAMP.UPDATE`) or by polling the [Retrieve an offramp](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp) endpoint. > [!NOTE] > > **Learn More:** For detailed offramp information, see the [Send Money > Guide](/docs/guides/send-money) and [Offramp > Guide](/docs/transactions/offramps). *** ## 🎉 Congratulations! You've successfully completed the HIFI API quickstart! By following the steps above, you can now: * ✅ Create users and handle Terms of Service acceptance * ✅ Complete the KYC process to unlock fiat rails * ✅ Set up virtual accounts for receiving deposits * ✅ Simulate deposits to fund wallets * ✅ Execute transfers between wallets * ✅ Create offramp accounts for receiving fiat * ✅ Create offramps to convert stablecoins to fiat ### Next Steps Ready to build your integration? Here's what to explore next: * **[Receive Money](/docs/guides/receive-money)** - Convert fiat to stablecoins * **[Send Money](/docs/guides/send-money)** - Convert stablecoins to fiat * **[Webhooks](/docs/webhooks)** - Set up real-time event notifications for transaction updates * **[Rails Overview](/docs/rails)** - Learn about additional currency rails * **[Error Handling](/docs/api/errors)** - Understand error codes and how to handle failures * **[API Reference](https://docs.hifi.com/api-reference)** - Explore all available endpoints and parameters # Receive Money Source: https://docs.hifi.com/guides/receive-money This guide shows you how to receive money - converting fiat currency (like USD) into stablecoins (like USDC) and depositing them into a user's wallet. **⏱️ Time to complete:** 5-10 minutes > [!NOTE] > > **Sandbox Environment:** All examples in this guide use the sandbox > environment (`https://sandbox.hifibridge.com`). Transactions are simulated - > no real money moves. When you're ready for production, replace the sandbox URL > with the production endpoint. ## Prerequisites Before receiving money, ensure you have: * ✅ **User created** with Terms of Service accepted * ✅ **KYC completed** and approved for the target rail * ✅ **Virtual Account** set up for receiving deposits * ✅ **API keys** from the Dashboard > [!NOTE] > > If you haven't set up users, KYC, or accounts yet, see the [Quickstart > Guide](/docs/guides/quickstart) for step-by-step instructions. ## How Receiving Money Works 1. User deposits fiat to their virtual account (via bank transfer) 2. HIFI detects the deposit 3. HIFI converts fiat to stablecoins at the current exchange rate 4. Stablecoins are sent to the user's wallet on the specified blockchain ## Production Flow In production, receiving money happens automatically when your user sends money from their bank to the virtual account. HIFI detects the deposit and creates an onramp transaction. **User sends money to:** * Bank account details from the virtual account's `depositInstructions` * Routing number and account number for ACH, Wire, or RTP ## Sandbox: Simulate Deposit In sandbox, use the simulate endpoint to create a test deposit: **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/virtual-accounts/938e3b36-3be7-5535-ba12-8d89eb683e6b/simulate-deposit \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "paymentRail": "wire", "source": { "routingNumber": "021000021", "accountNumber": "516843515316", "name": "Jane Doe", "bankName": "JP Morgan Chase" }, "amount": "2", "requestId": "32639f89-5fcc-4e31-8abe-0e710ba2e4a1", "reference": "This is a test deposit" } ' ``` **Request Fields:** **paymentRail** `string` *required* How the money is being sent: `wire`, `ach`, or `rtp` **source** `object` *required* Simulates the sender's bank information. This represents the bank account sending money TO the virtual account. **properties** **routingNumber** `string` Sender's bank routing number **accountNumber** `string` Sender's bank account number **name** `string` Sender's name **bankName** `string` Sender's bank name **amount** `string` *required* Amount of fiat being deposited (will convert to equivalent stablecoins). **requestId** `string` *required* Unique identifier for this deposit simulation (UUID). **Response:** ```json theme={null} { "message": "Sandbox deposit triggered" } ``` ✅ **Deposit simulated!** HIFI will process the deposit and create an onramp transaction. ## Monitor Status HIFI creates an onramp transaction when a deposit is detected. You'll receive a `ONRAMP.CREATE` webhook event with transaction details. **Status Progression:** 1. `FIAT_PENDING` - Waiting for fiat to settle 2. `CRYPTO_PENDING` - Converting and sending crypto 3. `COMPLETE` - Stablecoins delivered to wallet **Monitor via:** * **Webhooks:** Subscribe to `ONRAMP.UPDATE` events for real-time notifications * **Polling:** Call [Retrieve an onramp](https://docs.hifi.com/api-reference/onramp/retrieve-an-onramp) with the transaction ID ## Related Resources * **[Quickstart Guide](/docs/guides/quickstart)** - Set up users, KYC, and accounts * **[Send Money](/docs/guides/send-money)** - Convert stablecoins back to fiat * **[Onramps](/docs/transactions/onramps)** - Detailed onramp documentation * **[Webhooks](/docs/webhooks)** - Real-time transaction monitoring * **[API Reference](https://docs.hifi.com/api-reference)** - Complete endpoint documentation # Remittances Source: https://docs.hifi.com/guides/remittances Build remittance products that enable users to send money home to family and friends across borders. Our platform provides the infrastructure you need to create seamless, compliant international money transfer experiences. **⏱️ Time to complete:** 30-40 minutes **🎯 What you'll build:** A complete remittance flow where User A (in the US) sends \$11 USD that converts to USDC, then offramps to User B's bank account in Mexico as MXN pesos. ## Use Case Overview This recipe demonstrates a cross-border remittance payment where: * ✅ User A deposits USD from their US bank account * ✅ USD automatically converts to USDC stablecoin * ✅ USDC is sent and converted to MXN pesos * ✅ MXN is deposited to User B's Mexican bank account This flow enables fast, cost-effective international money transfers with transparent pricing. *** ## Prerequisites Before you start, make sure you have: * **API keys** from the Dashboard ([Get API keys](/docs/api/authentication)) * **A tool for making API calls** (cURL, Postman, or similar) * **Basic understanding of REST APIs** * **Your sandbox endpoint:** `https://sandbox.hifibridge.com` > [!NOTE] > > All examples in this guide use the sandbox environment. When you're ready for > production, simply replace the sandbox URL with the production endpoint and > use your production API keys. *** ## What you'll build Here's what we'll accomplish in this recipe: 1. **Generate API Keys** - Set up authentication for HIFI API 2. **Create User A** - Onboard the sender and complete KYC for USD rail 3. **Add Virtual Account** - Set up account for USD deposits that convert to USDC 4. **Create User B** - Onboard the recipient (or use existing user) 5. **Execute Remittance** - Send USDC from User A → MXN to User B's bank account **Payment Flow:** ``` USD → User A Bank Account → USDC → User A Wallet → MXN → User B Bank Account ``` *** ## Generate API Keys Access to the HIFI API requires authentication via API keys. Generate your keys from the HIFI Dashboard before making any API calls. > [accordion] Get Your API Keys > > **Steps:** > > 1. Navigate to [app.hifi.com](https://app.hifi.com/) > 2. Log in to your account > 3. Go to **Developer → API Keys** > 4. Click **Generate New Key** > 5. Select your environment: **Sandbox** (for testing) or **Production** (for live transactions) > 6. Copy the key immediately - it's only shown once > > **Important Security Notes:** > > * Store your API key securely (environment variables, secrets manager, etc.) > > * Never commit API keys to version control > > * Your key authenticates all HIFI API requests > > * If compromised, immediately revoke in the Dashboard and generate a new one > > > [!WARNING] > > > > **API keys are shown only once.** If you lose your key, you must revoke it and > > generate a new one. There is no way to retrieve a lost key. > > **Using Your API Key:** > > Include your API key in the `Authorization` header of all API requests: > > ```bash theme={null} > --header 'authorization: Bearer YOUR_API_KEY' > ``` *** ## Create User A (Sender) The sender needs a verified user account to access fiat rails and send remittances. Every user must accept HIFI's Terms of Service and complete KYC verification before they can move money between fiat and crypto. > [!NOTE] > > **Complete Onboarding Guide:** For a comprehensive walkthrough of user > onboarding and KYC verification, see our [User Guide](/docs/users). ### User Creation Flow Creating a user involves four steps: 1. **Generate Terms of Service Link** - Get acceptance link for your customer 2. **Create User** - Create the user account after TOS acceptance 3. **Update KYC Information** - Provide required personal details 4. **Submit KYC** - Submit for verification to unlock USD rail > [accordion] Generate Terms of Service Link > > Before creating a user, they must accept HIFI's Terms of Service. Generate a unique acceptance link using the [Generate Terms of Service Link](https://docs.hifi.com/v2/reference/post_v2-tos-link) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/tos-link \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "idempotencyKey": "c9c91801-d3a2-4a1c-aa2e-fcb2c473198c" > } > ' > ``` > > **Request Fields:** > > **idempotencyKey** `string` *required* > > A unique UUID that becomes your `signedAgreementId` after the user accepts the > terms. Generate this using any [UUID > generator](https://www.uuidgenerator.net/). > > **Response:** > > ```json theme={null} > { > "signedAgreementId": "c9c91801-d3a2-4a1c-aa2e-fcb2c473198c", > "url": "TERMS_OF_SERVICE_URL" > } > ``` > > **Response Fields:** > > **url** `string` > > The unique link where your user will review and accept HIFI's Terms of > Service. > > **signedAgreementId** `string` > > The agreement ID (same as your `idempotencyKey`). **Save this** - you'll need > it to create the user in the next step. > > **What to do with this response:** > > 1. **Direct your user to the `url`** - Present this link to your end user (via email, in your app, etc.) > > 2. **Save the `signedAgreementId`** - You'll need this to create the user in the next step > > 3. **Wait for acceptance** - The `signedAgreementId` becomes valid only after the user clicks "Accept" > > > [!NOTE] > > > > **Real-time Notifications:** HIFI triggers the `TOS_LINK.UPDATE` webhook event > > when the user accepts the terms, allowing you to proceed with user creation > > immediately. [Learn about webhooks →](/docs/webhooks) > [accordion] Create User > > Once your user has accepted the Terms of Service, create the user account with the [Create User](https://docs.hifi.com/api-reference/user/create-a-user) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "type": "individual", > "firstName": "John", > "lastName": "Doe", > "email": "johndoe@gmail.com", > "dateOfBirth": "1990-01-01", > "address": { > "addressLine1": "123 Park Ave", > "city": "Kansas City", > "stateProvinceRegion": "KS", > "postalCode": "10001", > "country": "USA" > }, > "signedAgreementId": "c9c91801-d3a2-4a1c-aa2e-fcb2c473198c", > "requestId": "705f1f8b-a080-467c-b683-174eca409928" > } > ' > ``` > > **Request Fields:** > > **type** `string` *required* > > User type. Use `individual` for personal accounts or `business` for business > accounts. > > **firstName** `string` *required* > > User's first name. > > **lastName** `string` *required* > > User's last name. > > **email** `string` *required* > > User's email address. > > **dateOfBirth** `string` *required* > > User's date of birth in YYYY-MM-DD format. > > **address** `object` *required* > > User's residential address. > > **properties** > > **addressLine1** `string` *required* > > Street address > > **city** `string` *required* > > City > > **stateProvinceRegion** `string` *required* > > State, province, or region code > > **postalCode** `string` *required* > > Postal/ZIP code > > **country** `string` *required* > > Country code (ISO 3166-1 alpha-3) > > **signedAgreementId** `string` *required* > > The `signedAgreementId` from the Terms of Service acceptance. > > **requestId** `string` *required* > > Unique identifier (UUID) for this request to ensure idempotency. > > **Response:** > > ```json theme={null} > { > "id": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "type": "individual", > "email": "johndoe@gmail.com", > "name": "John Doe", > "wallets": { > "INDIVIDUAL": { > "ETHEREUM": { > "address": "0x062f27D749Db9AdE709FaCF753e71618a0d64eF7" > }, > "POLYGON": { > "address": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338" > } > } > } > } > ``` > > ✅ **User created successfully!** > > **Response Fields:** > > **id** `string` > > The unique user ID. **Save this** - you'll use it for all future operations > with this user. > > **wallets** `object` > > Automatically provisioned wallet addresses on supported blockchain networks. > > **properties** > > **INDIVIDUAL** `object` > > **properties** > > **ETHEREUM** `object` > > **properties** > > **address** `string` > > Wallet address on the Ethereum network > > **POLYGON** `object` > > **properties** > > **address** `string` > > Wallet address on the Polygon network > > **What you get:** > > * **User ID** (`3b77cec8-1bb9-5ea0-91a1-e8c1411dd429`) - Save this for all future operations > > * **Wallet addresses** - Pre-provisioned on multiple blockchains, ready to use immediately > > > [!NOTE] > > > > **Automatic Wallet Provisioning:** Every user automatically receives wallet > > addresses on supported blockchain networks (Polygon, Ethereum, etc.). These > > wallets are fully functional immediately - no additional setup required. > [accordion] Update KYC Information > > Provide the required personal information for KYC verification using the [Update KYC](https://docs.hifi.com/v2/reference/post_v2-users-userid-kyc) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/3b77cec8-1bb9-5ea0-91a1-e8c1411dd429/kyc \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "firstName": "John", > "phone": "+11111111111", > "taxIdentificationNumber": "678898765", > "nationality": "USA" > } > ' > ``` > > **Request Fields:** > > **firstName** `string` > > User's first name (can be used to update if needed). > > **phone** `string` *required* > > User's phone number with country code (E.164 format). > > **taxIdentificationNumber** `string` *required* > > Tax identification number (e.g., SSN for US users). > > **nationality** `string` *required* > > User's nationality (ISO 3166-1 alpha-3 country code). > > **Response:** > > ```json theme={null} > { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "kycInfo": { > "type": "individual", > "firstName": "John", > "lastName": "Doe", > "nationality": "USA", > "email": "johndoe@gmail.com", > "phone": "+11111111111", > "address": { > "city": "Kansas City", > "country": "USA", > "postalCode": "10001", > "addressLine1": "123 Park Ave", > "stateProvinceRegion": "KS" > }, > "dateOfBirth": "1990-01-01T00:00:00+00:00", > "taxIdentificationNumber": "678898765", > "documents": [] > } > } > ``` > > ✅ **Personal information updated!** > > > [!NOTE] > > > > **Document Upload:** For a complete KYC submission in production, you'll also > > need to upload identity documents (passport, driver's license, etc.). See the > > [Quickstart Guide](/docs/quickstart) for detailed document upload > > instructions. > [accordion] Submit KYC for USD Rail > > Submit the KYC application to unlock the USD rail using the [Submit KYC](https://docs.hifi.com/api-reference/kyc/submit-kyc) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/3b77cec8-1bb9-5ea0-91a1-e8c1411dd429/kyc/submissions \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "rails": "USD" > } > ' > ``` > > **Request Fields:** > > **rails** `string` *required* > > The currency rail to unlock. Use `USD` for US Dollar operations. > > **Response:** > > ```json theme={null} > { > "currency": "USD", > "status": "ACTIVE", > "reviewResult": { > "reviewAnswer": "APPROVED", > "reviewRejectType": "", > "rejectReasons": [], > "comment": "" > }, > "details": { > "identity": { > "reviewAnswer": "APPROVED", > "documents": [ > { > "id": "c00791d0-213a-480a-9e54-1c535673f10c", > "type": "PASSPORT", > "subType": "SINGLE_SIDE", > "reviewAnswer": "APPROVED" > } > ] > }, > "questionnaire": { > "reviewAnswer": "APPROVED", > "details": [] > }, > "personalInfo": { > "reviewAnswer": "APPROVED", > "details": [] > } > } > } > ``` > > ✅ **KYC approved! USD rail is now active.** > > **Response Fields:** > > **status** `string` > > Overall KYC status. `ACTIVE` means the USD rail is unlocked and the user can > now onramp and offramp USD. > > **reviewResult** `object` > > High-level review outcome. > > **properties** > > **reviewAnswer** `string` > > Review decision: `APPROVED`, `REJECTED`, or `PENDING` > > **rejectReasons** `array` > > List of reasons for rejection, if applicable > > **details** `object` > > Detailed review results broken down by category. > > **properties** > > **identity** `object` > > Review results for identity document verification > > **questionnaire** `object` > > Review results for KYC questionnaire responses > > **personalInfo** `object` > > Review results for personal information verification > > > [!NOTE] > > > > **Sandbox Auto-Approval:** In sandbox, KYC applications are typically > > automatically approved within minutes. In production, review typically takes > > 1-3 business days. *** ## Add Virtual Account (User A) Now that User A has passed KYC, create a **Virtual Account** for onramping. This is a bank account number automatically created by HIFI that User A can deposit USD into. When fiat arrives, it's automatically converted to USDC and sent to their wallet. > [!NOTE] > > **Complete Virtual Account Guide:** For more details on virtual accounts and > onramping, see our [Virtual Accounts Guide](/docs/virtual-accounts). > [accordion] Create Virtual Account > > A Virtual Account enables User A to deposit USD from their bank, which automatically converts to USDC on Polygon. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/3b77cec8-1bb9-5ea0-91a1-e8c1411dd429/virtual-accounts \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "sourceCurrency": "usd", > "destinationCurrency": "usdc", > "destinationChain": "POLYGON" > } > ' > ``` > > **Request Fields:** > > **sourceCurrency** `string` *required* > > Fiat currency to deposit. Use `usd` for US Dollars. > > **destinationCurrency** `string` *required* > > Stablecoin to receive after conversion. Use `usdc` for USD Coin. > > **destinationChain** `string` *required* > > Blockchain network for the stablecoin. Options: `POLYGON`, `ETHEREUM` > > **Response:** > > ```json theme={null} > { > "id": "c48d1dd1-b5cd-5bc7-b85e-df1b0f17c1c8", > "status": "activated", > "provider": "CROSS_RIVER", > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "source": { > "paymentRails": ["ach", "wire", "rtp"], > "currency": "usd" > }, > "destination": { > "chain": "POLYGON", > "currency": "usdc", > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338" > }, > "depositInstructions": { > "bankName": "Cross River Bank", > "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", > "beneficiary": { > "name": "John Doe", > "address": "123 Park Ave, Kansas City, KS, 10001, US" > }, > "ach": { > "routingNumber": "021214891", > "accountNumber": "372232122120" > }, > "wire": { > "routingNumber": "021214891", > "accountNumber": "372232122120" > }, > "instruction": "Please deposit USD to the bank account provided. Ensure that the beneficiary name matches the account holder name provided, or the payment may be rejected." > } > } > ``` > > ✅ **Virtual account created!** > > **Response Fields:** > > **id** `string` > > The unique virtual account ID. **Save this** for monitoring deposits. > > **status** `string` > > Account status. `activated` means it's ready to receive deposits. > > **source** `object` > > Source configuration for fiat deposits. > > **properties** > > **paymentRails** `array` > > Supported payment methods: `ach`, `wire`, `rtp` (Real-Time Payments) > > **currency** `string` > > The fiat currency this account accepts > > **destination** `object` > > Destination configuration for crypto conversion. > > **properties** > > **chain** `string` > > Blockchain where converted crypto will be sent > > **currency** `string` > > Stablecoin the user will receive > > **walletAddress** `string` > > User's wallet address where USDC will be deposited > > **depositInstructions** `object` > > **Most Important:** Bank account details User A needs to send money to. > > **properties** > > **bankName** `string` > > Name of the bank holding the virtual account > > **bankAddress** `string` > > Physical address of the bank > > **beneficiary** `object` > > **properties** > > **name** `string` > > Beneficiary name (must match user's name) > > **address** `string` > > Beneficiary address > > **ach** `object` > > **properties** > > **routingNumber** `string` > > ACH routing number > > **accountNumber** `string` > > Virtual account number for ACH deposits > > **wire** `object` > > **properties** > > **routingNumber** `string` > > Wire routing number > > **accountNumber** `string` > > Virtual account number for wire deposits > > **instruction** `string` > > Deposit instructions and compliance requirements > > > [!NOTE] > > > > **How to Use:** Provide these deposit instructions to User A through your > > app/website. When they send money to this account via their bank, HIFI > > automatically detects the deposit, converts it to USDC, and sends it to their > > wallet. For monitoring deposits, subscribe to `ONRAMP.CREATE` webhook events. *** ## Create User B (Recipient) The recipient (User B) needs a user account with a `mexicoGlobalNetwork` account to receive the remittance. Follow the same user creation flow as User A, but complete KYC for the `GLOBAL_NETWORK` rail instead of USD. > [!NOTE] > > **Using an Existing User:** If User B already exists in your system, you can > skip user creation and just ensure they have an active `mexicoGlobalNetwork` > account. You'll need their `userId` and `accountId` for the remittance > transaction. ### Required Information for User B To complete this recipe, you'll need: * **User B's `userId`** - From creating their user account * **User B's MXN `accountId`** - From adding their Mexican bank account For the complete flow of creating User B and adding their MXN bank account, follow the same steps as User A but: 1. Submit KYC for the `GLOBAL_NETWORK` rail instead of USD 2. Add a `mexicoGlobalNetwork` account (Mexican bank account) instead of a Virtual Account For detailed instructions on adding offramp accounts, see our [Offramp Guide](/docs/transactions/offramps). *** ## Execute Transaction Now you can send the remittance from User A to User B. Create an **offramp** transaction that converts USDC to MXN and sends it to User B's Mexican bank account. This is a two-step process: 1. **Create offramp request** - Get a quote for the conversion 2. **Accept the quote** - Execute the remittance > [!NOTE] > > **Complete Offramp Guide:** For more details on offramps and cross-border > transfers, see our [Offramp Guide](/docs/transactions/offramps). > [accordion] Create Offramp Request > > Create an offramp request to get a quote for converting 11 USDC to MXN using the [Create an offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/offramps \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "requestId": "1c74a5f7-0dd6-4e81-bb31-5b1857e5fc3e", > "purposeOfPayment": "payment_for_services", > "supportingDocumentType": "billing_document", > "source": { > "amount": 11, > "currency": "usdc", > "chain": "POLYGON", > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429" > }, > "destination": { > "currency": "mxn", > "accountId": "64fbf048-378d-409a-a11b-cfa5a3d5cf6d", > "userId": "64e9b060-4c28-53f0-ab35-9e516f3dfb45" > } > } > ' > ``` > > **Request Fields:** > > **requestId** `string` *required* > > Unique identifier (UUID) for this offramp request to ensure idempotency. > > **purposeOfPayment** `string` > > Purpose of the payment for compliance. Common values: `payment_for_services`, > `family_support`, `gift`, `salary`, etc. > > **supportingDocumentType** `string` > > Type of supporting document if required. Options: `billing_document`, > `invoice`, `contract`, etc. > > **supportingDocumentUrl** `string` > > URL to the supporting document if required by the destination country's > regulations. > > **description** `string` > > Optional description of the payment. > > **source** `object` *required* > > Source of the offramp (crypto side - User A). > > **properties** > > **amount** `number` *required* > > Amount of USDC to convert from User A's wallet > > **currency** `string` *required* > > Source cryptocurrency (e.g., `usdc`, `usdt`) > > **chain** `string` *required* > > Blockchain network (e.g., `POLYGON`, `ETHEREUM`) > > **userId** `string` *required* > > User A's user ID (the sender) > > **externalWalletId** `string` > > Optional external wallet ID if using a wallet outside HIFI's custody > > **destination** `object` *required* > > Destination of the offramp (fiat side - User B). > > **properties** > > **currency** `string` *required* > > Destination fiat currency (e.g., `mxn` for Mexican Pesos) > > **accountId** `string` *required* > > User B's bank account ID where MXN will be deposited > > **userId** `string` *required* > > User B's user ID (the recipient) > > **amount** `number` > > Optional: Specify destination amount if you want to send an exact fiat > amount > > **developerFee** `array` > > Optional: Developer fees to collect on the transaction. > > **properties** > > **fees** `array` > > **properties** > > **type** `string` > > Fee type: `PERCENTAGE` or `FLAT` > > **value** `string` > > Fee value (percentage or flat amount) > > **walletAddress** `string` > > Wallet address to receive the fee > > **Response:** > > ```json theme={null} > { > "id": "e1821e0a-ba62-4022-83b8-aab9866ee0a1", > "type": "OFFRAMP", > "status": "OPEN_QUOTE", > "source": { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "name": "John Doe", > "email": "johndoe@gmail.com", > "chain": "POLYGON", > "currency": "usdc", > "amount": 11, > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338" > }, > "destination": { > "userId": "64e9b060-4c28-53f0-ab35-9e516f3dfb45", > "name": "Jane Doe", > "email": "janedoe@gmail.com", > "accountId": "64fbf048-378d-409a-a11b-cfa5a3d5cf6d", > "currency": "mxn", > "amount": 201.26 > }, > "quoteInformation": { > "sendGross": { > "amount": "11.000000", > "currency": "usdc" > }, > "sendNet": { > "amount": "10.710000", > "currency": "usdc" > }, > "taxFee": { > "amount": "0.187000", > "currency": "usdc" > }, > "railFee": { > "amount": "0.110000", > "currency": "usdc" > }, > "receiveGross": { > "amount": "201.26", > "currency": "mxn" > }, > "receiveNet": { > "amount": "201.26", > "currency": "mxn" > }, > "rate": "18.296364", > "expiresAt": "2025-11-12T23:25:23.151+00:00" > } > } > ``` > > ✅ **Offramp quote created!** > > **Response Fields:** > > **id** `string` > > Unique offramp transaction ID. **Save this** - you'll need it to accept the > quote and monitor status. > > **type** `string` > > Transfer type. Always `OFFRAMP` for remittance transactions. > > **status** `string` > > Current status. `OPEN_QUOTE` means you have an active quote waiting to be > accepted. > > **source** `object` > > Source details showing User A's wallet and amount being sent. > > **properties** > > **userId** `string` > > User A's ID > > **name** `string` > > User A's name > > **chain** `string` > > Blockchain network > > **currency** `string` > > Source cryptocurrency > > **amount** `number` > > Amount of crypto being converted > > **walletAddress** `string` > > User A's wallet address > > **destination** `object` > > Destination details showing User B's bank account and amount they'll receive. > > **properties** > > **userId** `string` > > User B's ID > > **name** `string` > > User B's name > > **accountId** `string` > > User B's bank account ID > > **currency** `string` > > Destination fiat currency > > **amount** `number` > > Amount of fiat User B will receive (in MXN) > > **quoteInformation** `object` > > **Critical:** Detailed breakdown of the conversion including exchange rate, > fees, and amounts. > > **properties** > > **sendGross** `object` > > **properties** > > **amount** `string` > > Total USDC amount before fees > > **currency** `string` > > Currency code > > **sendNet** `object` > > **properties** > > **amount** `string` > > USDC amount after deducting fees > > **currency** `string` > > Currency code > > **taxFee** `object` > > **properties** > > **amount** `string` > > Tax fee amount > > **currency** `string` > > Fee currency > > **railFee** `object` > > **properties** > > **amount** `string` > > Payment rail processing fee > > **currency** `string` > > Fee currency > > **receiveGross** `object` > > **properties** > > **amount** `string` > > Total MXN amount before destination fees > > **currency** `string` > > Currency code > > **receiveNet** `object` > > **properties** > > **amount** `string` > > Final MXN amount User B will receive > > **currency** `string` > > Currency code > > **rate** `string` > > Exchange rate (USDC to MXN). In this example: 1 USDC ≈ 18.30 MXN > > **expiresAt** `string` > > Quote expiration timestamp (ISO 8601 format) > > **Understanding the Quote:** > > In this example: > > * User A sends **11 USDC** > > * After fees (tax: 0.187 USDC, rail: 0.110 USDC), **10.71 USDC** is converted > > * At a rate of **18.30 MXN per USDC** > > * User B receives **201.26 MXN** in their bank account > > > [!WARNING] > > > > **Quote Expiration:** Quotes typically expire after 15-30 minutes to protect > > against exchange rate volatility. If your quote expires before acceptance, > > create a new offramp request for a fresh quote with updated rates. > [accordion] Accept Quote and Execute Remittance > > After reviewing the quote and fees, accept it to execute the remittance using the [Accept Quote](https://docs.hifi.com/api-reference/offramp/accept-quote) endpoint. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/offramps/e1821e0a-ba62-4022-83b8-aab9866ee0a1/quote/accept \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' > ``` > > **Response:** > > ```json theme={null} > { > "id": "e1821e0a-ba62-4022-83b8-aab9866ee0a1", > "type": "OFFRAMP", > "status": "CRYPTO_INITIATED", > "source": { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "name": "John Doe", > "email": "johndoe@gmail.com", > "chain": "POLYGON", > "currency": "usdc", > "amount": 11, > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338" > }, > "destination": { > "userId": "64e9b060-4c28-53f0-ab35-9e516f3dfb45", > "name": "Jane Doe", > "email": "janedoe@gmail.com", > "accountId": "64fbf048-378d-409a-a11b-cfa5a3d5cf6d", > "currency": "mxn", > "amount": 201.26 > }, > "quoteInformation": { > "sendGross": { > "amount": "11.000000", > "currency": "usdc" > }, > "sendNet": { > "amount": "10.710000", > "currency": "usdc" > }, > "taxFee": { > "amount": "0.187000", > "currency": "usdc" > }, > "railFee": { > "amount": "0.110000", > "currency": "usdc" > }, > "receiveGross": { > "amount": "201.26", > "currency": "mxn" > }, > "receiveNet": { > "amount": "201.26", > "currency": "mxn" > }, > "rate": "18.296364", > "expiresAt": "2025-11-12T23:25:23.151+00:00" > } > } > ``` > > ✅ **Quote accepted! Remittance is processing.** > > The status has changed from `OPEN_QUOTE` to `CRYPTO_INITIATED`, meaning the transaction is now being executed. > > **Remittance Status Progression:** > > 1. `OPEN_QUOTE` - Quote generated, waiting for acceptance > 2. `CRYPTO_INITIATED` - Processing crypto conversion > 3. `CRYPTO_PENDING` - Waiting for blockchain confirmation > 4. `FIAT_PENDING` - Converting to MXN and initiating bank transfer > 5. `COMPLETED` - MXN deposited to User B's bank account > > **Monitoring Remittance Status:** > > Track the remittance progress using: > > * **Polling:** Call [Retrieve an offramp](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp) with the transaction ID (`e1821e0a-ba62-4022-83b8-aab9866ee0a1`) > * **Webhooks:** Subscribe to `OFFRAMP.UPDATE` events for real-time status notifications > > **Settlement Times:** > > * **Sandbox:** Instant simulation for testing > > * **Production:** Typically 1-3 business days depending on the destination country and payment rail > > > [!NOTE] > > > > **User Notifications:** Consider implementing webhook handlers to send > > notifications to both User A (sender) and User B (recipient) as the remittance > > progresses through each status. This provides transparency and builds trust in > > your remittance product. ## 🎉 Congratulations! You've successfully completed a cross-border remittance transaction! By following this recipe, you can now: * ✅ Generate API keys and authenticate with HIFI * ✅ Onboard users and complete KYC for multiple currency rails * ✅ Create virtual accounts for fiat-to-crypto conversion * ✅ Execute cross-border remittances with competitive exchange rates * ✅ Provide transparent fee structures and quote expiration ### Next Steps Ready to build a full remittance product? Here's what to explore next: * **[Webhooks](/docs/webhooks)** - Set up real-time notifications for transaction status updates and user engagement * **[Offramp Guide](/docs/transactions/offramps)** - Deep dive into offramp transactions and compliance requirements * **[Error Handling](/docs/api/errors)** - Implement robust error handling for failed transactions and expired quotes * **[API Reference](https://docs.hifi.com/api-reference)** - Explore all available endpoints and parameters for advanced features # Reporting Source: https://docs.hifi.com/guides/reporting Learn how to use the Metrics API with detailed examples. This guide covers common patterns, step-by-step workflows, and code samples for tracking transaction volume, activity patterns, and user growth. > [!NOTE] > > **Prerequisite:** Before diving into examples, make sure you've read the > [Metrics documentation](/reporting/metrics) to understand core concepts like > metric templates, saved metrics, and breakdowns. ## Quickstart > [tab] 1. List Templates > > List available templates to see what you can measure: > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/reporting/templates" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` > > **Response:** > > ```json theme={null} > { > "status": "success", > "data": [ > { > "template": "GROSS_VOLUME", > "displayName": "Gross Volume", > "description": "Total combined USD-equivalent value of completed Onramp and Offramp transactions", > "breakdownOptions": ["transactionType", "userId"] > }, > { > "template": "TRANSACTION_COUNT", > "displayName": "Transaction Count", > "description": "Aggregated count of transactions grouped by status and type over time", > "breakdownOptions": ["transactionType", "transactionStatus", "userId"] > }, > { > "template": "NEW_USERS", > "displayName": "New Users", > "description": "Count of new unique end-users onboarded within the time period", > "breakdownOptions": null > } > ] > } > ``` > [tab] 2. Preview Metrics > > Preview results by providing a template with parameters. Saving is optional—preview lets you query metrics without persisting anything. > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/reporting/metrics/preview" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "template": "GROSS_VOLUME", > "params": { > "createdAfter": "2025-11-12T18:01:29.891Z", > "createdBefore": "2025-12-12T18:01:29.891Z", > "calculationInterval": "day", > "transactionTypes": [ > "transfer", > "onramp", > "offramp" > ], > "transactionStatuses": [ > "COMPLETED" > ] > } > }' > ``` > > **Response:** > > > [accordion] View Response > > > > ```json theme={null} > > { > > "status": "success", > > "data": [ > > { > > "periodStart": "2025-12-12", > > "grossVolume": 0 > > }, > > { > > "periodStart": "2025-12-11", > > "grossVolume": 10 > > } > > ], > > "metadata": { > > "template": "GROSS_VOLUME", > > "recordCount": 31, > > "projectedRowCount": null, > > "filledCount": 26, > > "calculationInterval": "day", > > "dateRange": { > > "start": "2025-11-12T18:01:29.891Z", > > "end": "2025-12-12T18:01:29.891Z" > > }, > > "filters": { > > "createdAfter": { > > "applied": "subset", > > "specified": true, > > "values": "2025-11-12T18:01:29.891Z" > > }, > > "createdBefore": { > > "applied": "subset", > > "specified": true, > > "values": "2025-12-12T18:01:29.891Z" > > }, > > "calculationInterval": { > > "applied": "subset", > > "specified": true, > > "values": "day" > > }, > > "transactionTypes": { > > "applied": "subset", > > "specified": true, > > "count": 3, > > "values": ["transfer", "onramp", "offramp"] > > }, > > "transactionStatuses": { > > "applied": "subset", > > "specified": true, > > "count": 1, > > "values": ["COMPLETED"] > > }, > > "userIds": { > > "applied": "all", > > "specified": false, > > "count": 227, > > "note": "227 total (list omitted for brevity)" > > } > > }, > > "breakdowns": null > > } > > } > > ``` > [tab] 3. Save Metric > > Create a saved metric to persist the configuration or build custom metrics for specific users: > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/reporting/metrics" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "template": "GROSS_VOLUME", > "name": "Daily Volume by Direction", > "params": { > "createdAfter": "2025-01-01", > "createdBefore": "2025-01-31", > "calculationInterval": "day", > "breakdowns": ["transactionType"] > } > }' > ``` > > **Response:** > > ```json theme={null} > { > "status": "success", > "data": { > "id": "mtr_abc123", > "name": "Daily Volume by Direction", > "template": "GROSS_VOLUME" > } > } > ``` > [tab] 4. Query Results > > Retrieve data from your saved metric: > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/reporting/metrics/mtr_abc123/results" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` ## Configuration Examples > [tab] Date Range > > Every metric requires a date range: > > ```json theme={null} > { > "createdAfter": "2025-01-01", > "createdBefore": "2025-01-31" > } > ``` > > Dates use ISO 8601 format (YYYY-MM-DD). Available parameters vary by template—check the template response for supported params. > [tab] Calculation Interval > > Choose how to aggregate data over time: > > * `day` — Daily totals > * `week` — Weekly totals (starts Monday) > * `month` — Monthly totals > > Example: Daily aggregation returns one row per day in your date range. > > ```json theme={null} > { > "calculationInterval": "day" > } > ``` > [tab] Filters > > Narrow results to specific subsets: > > **Filter by users:** > > ```json theme={null} > { > "userIds": ["usr_abc123", "usr_def456"] > } > ``` > > **Filter by transaction type:** > > ```json theme={null} > { > "transactionTypes": ["onramp", "offramp", "transfer"] > } > ``` > > **Filter by transaction status:** > > ```json theme={null} > { > "transactionStatuses": ["COMPLETED", "FAILED", "PENDING"] > } > ``` > > Available filters depend on the template. Get filter options: > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/reporting/params/userIds/options" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` > [tab] Breakdowns > > Split metrics by dimensions for comparison: > > * **transactionType** — Separate rows for each direction (onramp, offramp, transfer) > * **transactionStatus** — Separate rows for each status (COMPLETED, FAILED, PENDING, etc.) > * **userId** — Separate rows for each user > > Without breakdowns, you get one row per time period. With breakdowns, you get multiple rows per period—one for each unique combination of breakdown values. > > ```json theme={null} > { > "breakdowns": ["transactionType"] > } > ``` > > > [!NOTE] > > > > Check each template's `breakdownOptions` field. NEW_USERS doesn't support breakdowns. ## Common Patterns > [tab] Track Volume by Type > > Track daily volume split by transaction type (onramp vs offramp): > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/reporting/metrics" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "template": "GROSS_VOLUME", > "name": "Daily Volume Split", > "params": { > "createdAfter": "2025-01-01", > "createdBefore": "2025-01-31", > "calculationInterval": "day", > "breakdowns": ["transactionType"] > } > }' > ``` > > Returns separate volume numbers for onramps and offramps each day. > [tab] Monitor User Activity > > Track weekly transaction counts for specific users, broken down by success/failure: > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/reporting/metrics" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "template": "TRANSACTION_COUNT", > "name": "VIP User Activity", > "params": { > "createdAfter": "2025-01-01", > "createdBefore": "2025-01-31", > "calculationInterval": "week", > "userIds": ["usr_abc123", "usr_def456"], > "breakdowns": ["userId", "transactionStatus"] > } > }' > ``` > > Shows weekly transaction counts for specific users, broken down by success/failure. > [tab] Measure User Acquisition > > Track monthly new user growth: > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/reporting/metrics" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "template": "NEW_USERS", > "name": "Monthly Growth", > "params": { > "createdAfter": "2025-01-01", > "createdBefore": "2025-12-31", > "calculationInterval": "month" > } > }' > ``` > > Returns new user count for each month. ## Managing Saved Metrics > [tab] List Metrics > > List all your saved metrics: > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/reporting/metrics" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` > [tab] View Details > > Get details for a specific metric: > > ```bash theme={null} > curl -X GET "https://sandbox.hifibridge.com/v2/reporting/metrics/mtr_abc123" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` > [tab] Update Metric > > Update a saved metric's configuration: > > ```bash theme={null} > curl -X POST "https://sandbox.hifibridge.com/v2/reporting/metrics/mtr_abc123" \ > -H "Authorization: Bearer YOUR_API_KEY" \ > -H "Content-Type: application/json" \ > -d '{ > "name": "Updated Name", > "params": { > "createdAfter": "2025-02-01", > "createdBefore": "2025-02-28" > } > }' > ``` > [tab] Delete Metric > > Delete a saved metric: > > ```bash theme={null} > curl -X DELETE "https://sandbox.hifibridge.com/v2/reporting/metrics/mtr_abc123" \ > -H "Authorization: Bearer YOUR_API_KEY" > ``` ## Related Resources * [Metrics Overview](/reporting/metrics) — Core concepts and overview * [API Reference: Metrics](/api-reference/reporting) — Complete endpoint specs * [Transactions](/transactions) — Understanding transaction types and statuses * [Users](/users) — User management # Send EUR Offramps Source: https://docs.hifi.com/guides/send-eur-offramps Settle stablecoins to EUR through SEPA. **Time to complete:** 10-15 minutes > [!NOTE] > > All examples use the sandbox environment (`https://sandbox.hifibridge.com`). > Sandbox transactions are simulated and do not move real funds. ## Overview EUR offramps convert stablecoins, such as USDC, into EUR and send the funds to a recipient bank account through SEPA. The flow has three steps: **1. Create an EUR offramp account** Register the recipient bank account with EUR and SEPA details. **2. Create an offramp quote** Create an offramp request with `destination.currency` set to `eur`. **3. Accept the quote** Accept the quote before it expires to execute the offramp. ## Prerequisites Before creating an EUR offramp, make sure you have: * A user with Terms of Service accepted * KYC or KYB approved for the [Global Network rail](/docs/rails/global-network) * A wallet funded with a supported stablecoin * Recipient bank details, including IBAN and SWIFT/BIC * API keys from the Dashboard > [!NOTE] > > For general offramp behavior, quote acceptance, and status handling, see > [Offramps](/docs/transactions/offramps). ## Step 1: Create an EUR Offramp Account Create a Global Network offramp account for the recipient's EUR bank account. For EUR SEPA payouts, set the account currency to `eur` and transfer type to `sepa`. This example creates a France EUR offramp account. Use the country-specific account type that matches the recipient's bank country. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/users/usr_abc123/accounts" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "rail": "offramp", "type": "franceGlobalNetwork", "accountHolder": { "type": "individual", "name": "Marie Laurent", "address": { "addressLine1": "10 Rue de Rivoli", "city": "Paris", "stateProvinceRegion": "IDF", "postalCode": "75001", "country": "FRA" } }, "franceGlobalNetwork": { "transferType": "sepa", "currency": "eur", "bankName": "Example Bank", "iban": "FR7630006000011234567890189", "swiftCode": "AGRIFRPP" } }' ``` > [accordion] EUR SEPA account types and payload shape > > For SEPA payouts in EUR, `type` and the matching nested property name are both `{country}GlobalNetwork` — lower camelCase from the English country name for **where the beneficiary bank is located** (not the account holder's residence, if those differ). > > The object at that key always uses this shape for EUR SEPA: > > ```json theme={null} > { > "transferType": "sepa", > "currency": "eur", > "bankName": "string", > "iban": "string", > "swiftCode": "string" > } > ``` > > | Country | `type` (and nested key) | > | :- | :- | > | Albania | `albaniaGlobalNetwork` | > | Andorra | `andorraGlobalNetwork` | > | Austria | `austriaGlobalNetwork` | > | Belgium | `belgiumGlobalNetwork` | > | Bulgaria | `bulgariaGlobalNetwork` | > | Croatia | `croatiaGlobalNetwork` | > | Cyprus | `cyprusGlobalNetwork` | > | Czech Republic | `czechRepublicGlobalNetwork` | > | Denmark | `denmarkGlobalNetwork` | > | Estonia | `estoniaGlobalNetwork` | > | Finland | `finlandGlobalNetwork` | > | France | `franceGlobalNetwork` | > | Germany | `germanyGlobalNetwork` | > | Greece | `greeceGlobalNetwork` | > | Hungary | `hungaryGlobalNetwork` | > | Iceland | `icelandGlobalNetwork` | > | Ireland | `irelandGlobalNetwork` | > | Italy | `italyGlobalNetwork` | > | Latvia | `latviaGlobalNetwork` | > | Liechtenstein | `liechtensteinGlobalNetwork` | > | Lithuania | `lithuaniaGlobalNetwork` | > | Luxembourg | `luxembourgGlobalNetwork` | > | Malta | `maltaGlobalNetwork` | > | Moldova | `moldovaGlobalNetwork` | > | Monaco | `monacoGlobalNetwork` | > | Montenegro | `montenegroGlobalNetwork` | > | Netherlands | `netherlandsGlobalNetwork` | > | North Macedonia | `northMacedoniaGlobalNetwork` | > | Norway | `norwayGlobalNetwork` | > | Poland | `polandGlobalNetwork` | > | Portugal | `portugalGlobalNetwork` | > | Romania | `romaniaGlobalNetwork` | > | San Marino | `sanMarinoGlobalNetwork` | > | Serbia | `serbiaGlobalNetwork` | > | Slovakia | `slovakiaGlobalNetwork` | > | Slovenia | `sloveniaGlobalNetwork` | > | Spain | `spainGlobalNetwork` | > | Sweden | `swedenGlobalNetwork` | > | Switzerland | `switzerlandGlobalNetwork` | > | Vatican City | `vaticanCityGlobalNetwork` | > > > [tab] franceGlobalNetwork > > > > ```json theme={null} > > { > > "type": "franceGlobalNetwork", > > "franceGlobalNetwork": { > > "transferType": "sepa", > > "currency": "eur", > > "bankName": "Example Bank", > > "iban": "FR7630006000011234567890189", > > "swiftCode": "AGRIFRPP" > > } > > } > > ``` > > > [tab] germanyGlobalNetwork > > > > ```json theme={null} > > { > > "type": "germanyGlobalNetwork", > > "germanyGlobalNetwork": { > > "transferType": "sepa", > > "currency": "eur", > > "bankName": "Example Bank", > > "iban": "DE89370400440532013000", > > "swiftCode": "COBADEFFXXX" > > } > > } > > ``` > > > [tab] spainGlobalNetwork > > > > ```json theme={null} > > { > > "type": "spainGlobalNetwork", > > "spainGlobalNetwork": { > > "transferType": "sepa", > > "currency": "eur", > > "bankName": "Example Bank", > > "iban": "ES9121000418450200051332", > > "swiftCode": "CAIXESBBXXX" > > } > > } > > ``` > > For the full country and payment-method matrix, see [Coverage](/docs/coverage). Save the returned `id`. You will use it as `destination.accountId` when creating the offramp. ## Step 2: Create an EUR Offramp Quote Create an offramp request with a stablecoin source and an EUR destination. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "requestId": "b08e27be-c086-4b84-a321-307ed9f265e1", "source": { "currency": "usdc", "chain": "POLYGON", "userId": "usr_abc123", "amount": 100 }, "destination": { "currency": "eur", "accountId": "acc_eur123", "userId": "usr_abc123", "sepaReference": "Invoice 1001" }, "purposeOfPayment": "other", "description": "EUR payout for invoice 1001" }' ``` **destination.currency** `string` *required* Use `eur` for EUR offramps. **destination.accountId** `string` *required* The EUR offramp account that should receive the payout. **destination.sepaReference** `string` Optional SEPA reference included with the payout. It must be 6 to 140 characters and may contain letters, numbers, spaces, ampersand (`&`), hyphen (`-`), full stop (`.`), and solidus (`/`). ## Step 3: Review and Accept the Quote The create response includes an offramp `id`, status, and quote information. Review the rate, fees, destination amount, and expiration time before accepting. ```bash theme={null} curl -X POST "https://sandbox.hifibridge.com/v2/offramps/off_abc123/quote/accept" \ -H "Authorization: Bearer YOUR_API_KEY" ``` After the quote is accepted, the offramp moves through crypto and fiat processing statuses until completion. ## Track the Offramp You can track EUR offramp status in two ways: * Subscribe to [Offramp events](/docs/webhooks/offramp-events) * Poll the [Retrieve an offramp](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp) endpoint ```bash theme={null} curl -X GET "https://sandbox.hifibridge.com/v2/offramps/off_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" ``` ## Related Resources * [Offramp Accounts](/docs/accounts/offramp-accounts) * [Offramps](/docs/transactions/offramps) * [Global Network Rail](/docs/rails/global-network) * [Offramp Events](/docs/webhooks/offramp-events) # Send Money Source: https://docs.hifi.com/guides/send-money This guide shows you how to send money - converting stablecoins (like USDC) into fiat currency (like USD) and sending it to a user's bank account. **⏱️ Time to complete:** 5-10 minutes > [!NOTE] > > **Sandbox Environment:** All examples in this guide use the sandbox > environment (`https://sandbox.hifibridge.com`). Transactions are simulated - > no real money moves. When you're ready for production, replace the sandbox URL > with the production endpoint. ## Prerequisites Before sending money, ensure you have: * ✅ **User created** with Terms of Service accepted * ✅ **KYC completed** and approved for the target rail * ✅ **Offramp Account** set up for receiving fiat * ✅ **API keys** from the Dashboard > [!NOTE] > > If you haven't set up users, KYC, or accounts yet, see the [Quickstart > Guide](/docs/guides/quickstart) for step-by-step instructions. ## How Sending Money Works Sending money is a two-step process: 1. **Create offramp request** - Get a quote for the conversion 2. **Accept the quote** - Execute the offramp ## Step 1: Create Offramp Request Create an offramp request using the [Create an offramp](https://docs.hifi.com/api-reference/offramp/create-an-offramp) endpoint: **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/offramps \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "source": { "currency": "usdc", "chain": "POLYGON", "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "amount": 1 }, "destination": { "currency": "usd", "accountId": "583eb259-e78b-4f0c-a4b5-a8957876fa6f", "userId": "32051b2f-0798-55a7-9c42-b08da4192c97" }, "requestId": "b08e27be-c086-4b84-a321-307ed9f265e1" } ' ``` **Request Fields:** **requestId** `string` *required* Unique identifier (UUID) for this offramp request. **source** `object` *required* Source of the offramp (crypto side). **properties** **userId** `string` *required* The user sending crypto (who wants to send money). **currency** `string` *required* Source cryptocurrency (e.g., "usdc") **chain** `string` *required* Blockchain network (e.g., "POLYGON") **amount** `number` *required* Amount of stablecoins to convert to fiat. **destination** `object` *required* Destination of the offramp (fiat side). **properties** **userId** `string` *required* The user receiving the fiat (typically the same as source.userId). **currency** `string` *required* Destination fiat currency (e.g., "usd") **accountId** `string` *required* The offramp bank account ID where fiat will be sent. **Response:** ```json theme={null} { "transferType": "OFFRAMP", "transferDetails": { "id": "b838908b-95d0-4ebb-a2c6-8f0c142bcdd7", "requestId": "b08e27be-c086-4b84-a321-307ed9f265e1", "createdAt": "2025-09-26T03:15:57.766Z", "updatedAt": "2025-09-26T03:15:58.463Z", "status": "OPEN_QUOTE", "failedReason": null, "error": null, "errorDetails": null, "source": { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "chain": "POLYGON", "currency": "usdc", "amount": 1, "walletAddress": "0x1b932E54e77Aeb698144550d5a493Ea99E20Daa7", "user": { "email": "john@hifibridge.com", "lastName": "Doe", "firstName": "John", "businessName": null } }, "destination": { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "amount": 1, "currency": "usd", "user": { "email": "john@hifibridge.com", "lastName": "Doe", "firstName": "John", "businessName": null }, "accountId": "583eb259-e78b-4f0c-a4b5-a8957876fa6f" }, "receipt": { "transactionHash": null }, "developerFee": null, "quoteInformation": { "rate": "1.00", "sendNet": { "amount": "1.00", "currency": "usdc" }, "sendGross": { "amount": "1.00", "currency": "usdc" }, "receiveNet": { "amount": "1.00", "currency": "usd" }, "receiveGross": { "amount": "1.00", "currency": "usd" }, "expiresAt": "2025-09-27T03:15:58.112Z" }, "depositInformation": [] } } ``` **Response Fields:** **transferDetails.id** `string` Unique offramp transaction ID. **Save this** - you'll need it to accept the quote and check status. **transferDetails.status** `string` Current status: `OPEN_QUOTE` means you have an active quote that needs to be accepted. **transferDetails.quoteInformation** `object` **Critical:** Contains the conversion rate and amounts. Review this before accepting. **properties** **rate** `string` Exchange rate (stablecoin to fiat) **sendNet** `object` **properties** **amount** `string` Crypto amount after fees **currency** `string` Currency code **receiveNet** `object` **properties** **amount** `string` Fiat amount you'll receive after fees **currency** `string` Currency code **expiresAt** `string` Quote expiration time > [!WARNING] > > **Quote Expiration:** Quotes typically expire after 15-30 minutes. If your > quote expires before you accept it, you'll need to create a new offramp > request to get a fresh quote with updated rates. ## Step 2: Accept the Quote After reviewing the quote, accept it to start the offramp process using the [Accept Quote](https://docs.hifi.com/api-reference/offramp/accept-quote) endpoint: **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/offramps/b838908b-95d0-4ebb-a2c6-8f0c142bcdd7/quote/accept \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' ``` **Response:** ```json theme={null} { "transferType": "OFFRAMP", "transferDetails": { "id": "b838908b-95d0-4ebb-a2c6-8f0c142bcdd7", "status": "CRYPTO_INITIATED", "quoteInformation": { "rate": "1.00", "sendNet": { "amount": "1.00", "currency": "usdc" }, "receiveNet": { "amount": "1.00", "currency": "usd" } } } } ``` ✅ **Quote accepted!** The status has changed to `CRYPTO_INITIATED`. ## Monitor Status **Status Progression:** 1. `OPEN_QUOTE` - Quote generated, waiting for acceptance 2. `CRYPTO_INITIATED` - Processing crypto conversion 3. `CRYPTO_PENDING` - Waiting for blockchain confirmation 4. `FIAT_PENDING` - Converting to fiat 5. `COMPLETE` - Fiat sent to bank account **Monitor via:** * **Polling:** Call [Retrieve an offramp](https://docs.hifi.com/api-reference/offramp/retrieve-an-offramp) with the transaction ID * **Webhooks:** Subscribe to `OFFRAMP.UPDATE` events for real-time notifications > [!NOTE] > > In production, sending money may take 1-3 business days for the fiat to arrive > in the user's bank account. In sandbox, completion is typically instant. ## Related Resources * **[Quickstart Guide](/docs/guides/quickstart)** - Set up users, KYC, and accounts * **[Receive Money](/docs/guides/receive-money)** - Convert fiat to stablecoins * **[Offramps](/docs/transactions/offramps)** - Detailed offramp documentation * **[Webhooks](/docs/webhooks)** - Real-time transaction monitoring * **[API Reference](https://docs.hifi.com/api-reference)** - Complete endpoint documentation # Split Payments Source: https://docs.hifi.com/guides/split-payments Facilitate split payment services where a single payment is divided among multiple recipients. Perfect for splitting bills, shared expenses, or distributing funds to multiple stakeholders efficiently. **🎯 What you'll build:** A split payment system where users deposit USD into a virtual account, funds convert to USDC, then split payments are distributed to multiple recipients through the use of batch transfers. ## Use Case Overview This recipe demonstrates a split payment flow where: * ✅ Users deposit USD into dedicated virtual accounts * ✅ USD automatically converts to USDC stablecoin * ✅ Payments are split among multiple recipients using batch transfers * ✅ Operational overhead is minimized through automation Common Split Payment Use Cases: * **Paying multiple recipients at once** – Take funds from a single wallet and send payouts to several recipients in one batch instead of issuing individual transfers. * **Sharing revenue between parties** – Distribute a single pool of funds across different stakeholders (for example, a primary recipient plus one or more collaborators). * **Operational or treasury fan-out** – Move balance from a central wallet into multiple wallets (such as teams, regions, or projects) in a single operation. * **Scheduled payout runs** – Periodically aggregate earnings and use a batch transfer to pay out all recipients for a given period in one shot. * **Distributing rewards or incentives** – Send rewards, rebates, or incentive payments to many users at the same time from one funding source. *** ## What you'll build Here's what we'll accomplish in this recipe: 1. **Add Virtual Account** - Set up account for collecting USD payments that convert to USDC 2. **Split Payments** - Execute on-demand split payments with batch transfers **Payment Flow** ``` USD → User Bank Account → Virtual Account → USDC → Batch Transfer → Multiple Recipients ``` > [!NOTE] > > All examples in this guide use the sandbox environment. When you're ready for > production, simply replace the sandbox URL with the production endpoint and > use your production API keys. *** ## Prerequisites Before you begin, make sure you have: **User A** – Individual user created and KYC submitted with `status = active` For a complete guide on user onboarding, see: * [Authentication Guide](/docs/api/authentication) * [User Guide](/docs/users/overview) * [KYC Guide](/docs/kyc) *** ## Add Virtual Account The sender needs a **Virtual Account** for collecting the payment to be split. This is a bank account number automatically created by HIFI that users can deposit USD into. When fiat arrives, it's automatically converted to USDC and ready for distribution. > [!NOTE] > > **Virtual Account for Split Payments:** Each virtual account comes with unique > ACH/Wire/RTP details you can surface in your app. When deposits arrive, HIFI > detects the funds and applies your conversion settings (e.g., USD → USDC). You > can then use settlement rules for automatic splitting or batch transfers for > on-demand splitting. > [accordion] Create Virtual Account > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/users/3b77cec8-1bb9-5ea0-91a1-e8c1411dd429/virtual-accounts \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "sourceCurrency": "usd", > "destinationCurrency": "usdc", > "destinationChain": "POLYGON" > } > ' > ``` > > **Response:** > > ```json theme={null} > { > "id": "c48d1dd1-b5cd-5bc7-b85e-df1b0f17c1c8", > "status": "activated", > "provider": "CROSS_RIVER", > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "source": { > "paymentRails": ["ach", "wire", "rtp"], > "currency": "usd" > }, > "destination": { > "chain": "POLYGON", > "currency": "usdc", > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338" > }, > "depositInstructions": { > "bankName": "Cross River Bank", > "bankAddress": "885 Teaneck Road, Teaneck, NJ 07666", > "beneficiary": { > "name": "John Doe", > "address": "123 Park Ave, Kansas City, KS, 10001, US" > }, > "ach": { > "routingNumber": "021214891", > "accountNumber": "372232122120" > }, > "wire": { > "routingNumber": "021214891", > "accountNumber": "372232122120" > }, > "instruction": "Please deposit USD to the bank account provided. Ensure that the beneficiary name matches the account holder name provided, or the payment may be rejected." > } > } > ``` *** ## Split Payments with Batch Transfers Batch transfers let you manually initiate split payments with full control over amounts and recipients for each transaction. You decide when to split and can customize the distribution for each payment. > [!NOTE] > > **When to Use Batch Transfers:** Use batch transfers when you need: - > On-demand split payments that vary per transaction - Dynamic recipient lists > that change based on the payment - Conditional logic before splitting (e.g., > verify amounts, check balances) - Bill payments where amounts differ each time > > * One-time or irregular split payments Perfect for bill payment services, > dynamic revenue sharing, or variable expense splits. > [accordion] Create Batch Transfer > > Create a batch transfer to split a payment among multiple recipients in a single transaction using the [Create Batch Transfer](https://docs.hifi.com/api-reference/crypto-transfer/create-batch-transfer) endpoint. > > In this example, we'll split a payment to three different recipients with 10 USDC each from the user's wallet. > > **Request:** > > ```bash theme={null} > curl --request POST \ > --url https://sandbox.hifibridge.com/v2/wallets/transfers/batches \ > --header 'accept: application/json' \ > --header 'authorization: Bearer YOUR_API_KEY' \ > --header 'content-type: application/json' \ > --data ' > { > "requestId": "b91772a6-f9c0-4479-a34c-c8723608d2e8", > "currency": "usdc", > "chain": "POLYGON", > "source": { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429" > }, > "destination": { > "batch": [ > { > "walletAddress": "0xA4C951a7ca4138220a9D4611e7A058d4673e14c3", > "amount": "10" > }, > { > "walletAddress": "0x0466DCD644Ae2Ee5d88CF0e1976c3ce237A0D760", > "amount": "10" > }, > { > "walletAddress": "0x8356d234077d4b7c71E35c95B075ed4ba5FF7681", > "amount": "10" > } > ] > }, > "requireApproval": false > } > ' > ``` > > **Request Fields:** > > **requestId** `string` *required* > > Unique identifier (UUID) for this batch transfer request to ensure > idempotency. > > **currency** `string` *required* > > Cryptocurrency to transfer. Use `usdc` for USD Coin. > > **chain** `string` *required* > > Blockchain network for the transfer. Options: `POLYGON`, `ETHEREUM` > > **source** `object` *required* > > Source of the batch transfer (the user making the split payment). > > **properties** > > **userId** `string` *required* > > The user ID sending the payments (split payment initiator's account) > > **destination** `object` *required* > > Destination configuration containing the batch of recipients. > > **properties** > > **batch** `array` *required* > > Array of payment destinations. Each object specifies a wallet address and > amount. > > **properties** > > **walletAddress** `string` *required* > > Recipient's wallet address (recipient's crypto wallet) > > **amount** `string` *required* > > Amount to send to this recipient (in USDC) > > **requireApproval** `boolean` > > Whether the batch transfer requires manual approval before execution. Set to > `false` for automatic processing. > > **Response:** > > ```json theme={null} > { > "id": "467e8eed-c6e2-4f78-9404-a82148c49e0e", > "type": "WALLET.TRANSFER.BATCH", > "status": "CREATED", > "chain": "POLYGON", > "currency": "usdc", > "contractAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582", > "source": { > "userId": "3b77cec8-1bb9-5ea0-91a1-e8c1411dd429", > "walletAddress": "0x63dAbB631bcE6d6090A4e6c5c7aB20d3D853C338", > "walletType": "INDIVIDUAL" > }, > "destination": { > "batch": [ > { > "amount": "10", > "walletAddress": "0xA4C951a7ca4138220a9D4611e7A058d4673e14c3" > }, > { > "amount": "10", > "walletAddress": "0x0466DCD644Ae2Ee5d88CF0e1976c3ce237A0D760" > }, > { > "amount": "10", > "walletAddress": "0x8356d234077d4b7c71E35c95B075ed4ba5FF7681" > } > ] > }, > "receipt": { > "transactionHash": null, > "userOpHash": null > } > } > ``` > > ✅ **Batch transfer created!** > > **Response Fields:** > > **id** `string` > > Unique batch transfer ID. **Save this** to monitor the batch status and > retrieve transaction details. > > **type** `string` > > Transfer type. Always `WALLET.TRANSFER.BATCH` for batch transfers. > > **status** `string` > > Current batch status. Starts as `CREATED`, then progresses through: - > `CREATED` - Batch transfer initiated - `PENDING` - Being processed on > blockchain - `COMPLETED` - All payments successfully delivered - `FAILED` - > One or more payments failed (check individual statuses) > > **chain** `string` > > Blockchain network where the transfer is being executed. > > **currency** `string` > > Cryptocurrency being transferred. > > **contractAddress** `string` > > Smart contract address handling the USDC transfers on the blockchain. > > **source** `object` > > Source details showing the user's wallet information. > > **properties** > > **userId** `string` > > User ID of the person making the split payment > > **walletAddress** `string` > > User's wallet address sending the payments > > **walletType** `string` > > Type of wallet (e.g., "INDIVIDUAL") > > **destination** `object` > > Destination details showing all recipients in the batch. > > **properties** > > **batch** `array` > > Array of all payment destinations with amounts > > **properties** > > **amount** `string` > > Amount sent to this recipient > > **walletAddress** `string` > > Recipient's wallet address > > **receipt** `object` > > Transaction receipt information. > > **properties** > > **transactionHash** `string` > > Blockchain transaction hash (populated when complete). Use this to verify > the transaction on a blockchain explorer like Polygonscan. > > **userOpHash** `string` > > User operation hash (for account abstraction wallets) > > **Understanding the Batch Transfer:** > > In this example: > > * **Source:** User's wallet (`0x63dA...C338`) with 30+ USDC available > > * **Batch:** 3 recipients receiving 10 USDC each > > * **Total:** 30 USDC distributed in a single blockchain transaction > > * **Cost Savings:** One transaction fee instead of three separate transactions > > > [!NOTE] > > > > **Monitoring Batch Transfers:** Subscribe to `WALLET.TRANSFER.BATCH.UPDATE` > > webhook events to receive real-time notifications as the batch progresses. You > > can also poll the [Retrieve Batch > > Transfer](https://docs.hifi.com/api-reference/crypto-transfer/retrieve-batch-transfer) > > endpoint to check individual payment statuses within the batch. > > For a complete guide on batch transfers including advanced features like approval workflows and error handling, see our [Batch Transfers Guide](/docs/features/batch-transfers). *** ## 🎉 Congratulations! You've successfully built a split payment system! By following this recipe, you can now: * ✅ Create virtual accounts for collecting payments with automatic conversion * ✅ Execute batch transfers for on-demand split payments * ✅ Reduce operational overhead with automated or consolidated transactions ### Next Steps Ready to scale your split payment service? Here's what to explore next: * **[Batch Transfers Guide](/docs/features/batch-transfers)** - Learn about batch transfers with approval workflows, failure handling, and advanced features * **[Webhooks](/docs/webhooks)** - Set up real-time notifications for deposit detection, conversion completion, and split payment distribution * **[Virtual Accounts Guide](/docs/virtual-accounts)** - Learn about monitoring deposits and handling multiple virtual accounts per user * **[API Reference](https://docs.hifi.com/api-reference)** - Explore all available endpoints and parameters for advanced features # Submit KYC Source: https://docs.hifi.com/guides/submit-kyc This guide shows you how to submit KYC (Know Your Customer) information programmatically using the HIFI API. Users must complete KYC verification to unlock rails (payment corridors that enable currency conversions between fiat and stablecoins). > [!NOTE] > > **Recommended:** For most use cases, use [KYC Links](/docs/features/kyc-links) > for a hosted, user-friendly flow. This guide covers the programmatic API > approach for teams that need full control over the KYC collection process. ## Prerequisites * **API keys** from the Dashboard ([Get API keys](/docs/api/authentication)) * **A user created** in your HIFI account * **Sandbox endpoint:** `https://sandbox.hifibridge.com` > [!NOTE] > > All examples use the sandbox environment. For production, replace the sandbox > URL with the production endpoint and use your production API keys. ## Process Overview 1. **Retrieve KYC Requirements** - Get required information for your target rail 2. **Update KYC Information** - Provide personal information 3. **Upload KYC Documents** - Submit identity verification documents 4. **Submit KYC** - Submit the application for review 5. **Check KYC Status** - Monitor approval status *** ## Retrieve KYC Requirements First, find out what information is needed for your target rail by calling the [Retrieve KYC Requirements](https://docs.hifi.com/v2/reference/get_v2-users-userid-kyc-requirements) endpoint. **Request:** ```bash theme={null} curl --request GET \ --url 'https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/kyc/requirements?rails=USD' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' ``` **Response:** ```json theme={null} { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "rails": "USD", "type": "individual", "required": { "firstName": "string", "lastName": "string", "email": "string", "phone": "string", "nationality": "string", "dateOfBirth": "date", "taxIdentificationNumber": "string", "documents": { "identity": { "minCount": 1, "acceptedDocTypes": [ "DRIVERS", "ID_CARD", "PASSPORT", "RESIDENCE_PERMIT" ] } } }, "optional": {}, "invalid": { "message": "fields are either missing or invalid", "fields": { "phone": "missing", "nationality": "missing", "taxIdentificationNumber": "missing" }, "documents": { "message": "The following document groups are not satisfied: identity", "groups": { "identity": { "minCount": 1, "acceptedDocTypes": [ "DRIVERS", "ID_CARD", "PASSPORT", "RESIDENCE_PERMIT" ] } } } } } ``` **Response Fields:** **required** `object` All mandatory KYC fields needed for the rail. These must be provided before submission. **properties** **firstName** `string` User's first name **lastName** `string` User's last name **email** `string` User's email address **phone** `string` User's phone number **nationality** `string` User's nationality (country code) **dateOfBirth** `date` User's date of birth **taxIdentificationNumber** `string` Tax identification number (e.g., SSN for US users) **documents** `object` **properties** **identity** `object` **properties** **minCount** `number` Minimum number of identity documents required **acceptedDocTypes** `array` List of accepted document types (DRIVERS, ID_CARD, PASSPORT, etc.) **optional** `object` Additional fields that aren't mandatory but may help with approval or enable additional features. **invalid** `object` **Most Important Field:** Lists any missing or invalid data that must be corrected before KYC submission. **properties** **message** `string` Summary message about invalid or missing fields **fields** `object` **properties** Key-value pairs where keys are field names and values indicate the issue (e.g., "missing", "invalid") **documents** `object` **properties** **message** `string` Summary message about document requirements **groups** `object` **properties** Document groups that are not satisfied, with details about required document types and counts > [!NOTE] > > **Rail-Specific Requirements:** Each rail has different KYC requirements based > on regulatory needs. Visit our [Rails page](/docs/rails) to learn about > available rails and their specific requirements. *** ## Update KYC Information Provide the missing personal information using the [Update KYC](https://docs.hifi.com/v2/reference/post_v2-users-userid-kyc) endpoint. **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/kyc \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' { "phone": "+18573491112", "taxIdentificationNumber": "725569852", "nationality": "USA" } ' ``` **Response:** ```json theme={null} { "userId": "32051b2f-0798-55a7-9c42-b08da4192c97", "kycInfo": { "type": "individual", "firstName": "John", "lastName": "Doe", "nationality": "USA", "email": "john@hifibridge.com", "phone": "+18573491112", "address": { "city": "New York", "country": "USA", "postalCode": "10010", "addressLine1": "123 Main St", "stateProvinceRegion": "NY" }, "dateOfBirth": "1999-01-01T00:00:00+00:00", "taxIdentificationNumber": "725569852", "documents": [] } } ``` ✅ **Personal information updated!** Notice the `documents` array is still empty - we'll upload those next. *** ## Upload KYC Documents Now we need to upload identity verification documents. This is a two-step process: 1. **Upload the file** to get a `fileId` 2. **Attach the file** to the user's KYC application ### Upload a File First, upload the identity document (driver's license, passport, etc.) using the [Upload a File](https://docs.hifi.com/v2/reference/post_v2-files) endpoint. **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/files \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: multipart/form-data' \ --form 'file=@drivers_license_front.png' ``` **Response:** ```json theme={null} { "id": "file_JzALYV2L1-4LBmaxZ6GCm", "createdAt": "2025-09-25T22:05:16.764Z", "fileName": "drivers_license_front.png", "size": 17834, "mimeType": "image/png" } ``` **Response Fields:** **id** `string` *required* The file ID. **Save this** - you'll use it in the next step to attach this document to the user's KYC application. **fileName** `string` Original filename of the uploaded file. **size** `number` File size in bytes. **mimeType** `string` File type (e.g., image/png, image/jpeg, application/pdf). ### Add Documents to KYC Now attach the uploaded file(s) to the user's KYC application using the [Add Documents](https://docs.hifi.com/v2/reference/post_v2-users-userid-kyc-documents) endpoint. > [!NOTE] > > **Driver's License Requirements:** Most identity documents require both front > and back images. For this example, we'll use the same file ID for both sides, > but in production you should upload and attach separate images. **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/kyc/documents \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data ' [ { "type": "DRIVERS", "subType": "FRONT_SIDE", "issuedCountry": "USA", "fileId": "file_JzALYV2L1-4LBmaxZ6GCm" }, { "type": "DRIVERS", "subType": "BACK_SIDE", "issuedCountry": "USA", "fileId": "file_JzALYV2L1-4LBmaxZ6GCm" } ] ' ``` **Request Fields:** **type** `string` *required* Document type. Options: `DRIVERS`, `ID_CARD`, `PASSPORT`, `RESIDENCE_PERMIT` **subType** `string` *required* Which side of the document. Options: `FRONT_SIDE`, `BACK_SIDE` (passports typically only need FRONT_SIDE) **issuedCountry** `string` *required* Country that issued the document (ISO country code). **fileId** `string` *required* The file ID received from the file upload endpoint. **Response:** ```json theme={null} { "count": 2, "data": [ { "id": "e477fa56-3e1e-4dac-abe6-008166749f30", "type": "DRIVERS", "subType": "FRONT_SIDE", "issuedCountry": "USA", "url": "https://pqgnrjvoqbopfaxmlhlv.supabase.co/storage/v1/object/sign/kyc_documents/...", "fileId": "file_JzALYV2L1-4LBmaxZ6GCm" }, { "id": "a2190d1d-61af-416d-8fcf-20673da5eaa0", "type": "DRIVERS", "subType": "BACK_SIDE", "issuedCountry": "USA", "url": "https://pqgnrjvoqbopfaxmlhlv.supabase.co/storage/v1/object/sign/kyc_documents/...", "fileId": "file_JzALYV2L1-4LBmaxZ6GCm" } ] } ``` **Response Fields:** **count** `number` Number of documents successfully attached. **data** `array` Array of document objects with IDs, types, and temporary signed URLs for viewing. ✅ **Documents uploaded!** All required KYC information is now complete. Time to submit for review. *** ## Submit KYC With all fields and documents provided, submit the KYC application to unlock the rail using the [Submit KYC](https://docs.hifi.com/api-reference/kyc/submit-kyc) endpoint. **Request:** ```bash theme={null} curl --request POST \ --url https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/kyc/submissions \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' \ --header 'content-type: application/json' \ --data '{"rails": "USD"}' ``` **Response:** ```json theme={null} { "USD": { "status": "CREATED", "message": "Your KYC application has been successfully created. We will review it shortly." } } ``` ✅ **KYC application submitted!** **What happens next?** 1. **Status starts as `CREATED`** (immediate) 2. **Transitions to `PENDING`** (within minutes in sandbox) 3. **Final status: `ACTIVE` or `REJECTED`** (typically automatic in sandbox, 1-3 business days in production) > [!NOTE] > > **Sandbox Auto-Approval:** In the sandbox environment, KYC applications are > typically automatically approved within minutes for testing purposes. However, > certain compliance checks (like PEP screening by banking partners) may still > block approval even in sandbox. In production, the review process typically > takes 1-3 business days. You can either: 1. **Poll** the [Retrieve KYC Status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) endpoint 2. **Listen** for `KYC.STATUS_UPDATE` [webhook events](/docs/webhooks/kyc-events) *** ## Check KYC Status Check the current KYC status for the rail using the [Retrieve KYC Status](https://docs.hifi.com/api-reference/kyc/retrieve-kyc-status) endpoint. **Request:** ```bash theme={null} curl --request GET \ --url 'https://sandbox.hifibridge.com/v2/users/32051b2f-0798-55a7-9c42-b08da4192c97/kyc/status?rails=USD' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_KEY' ``` **Response:** ```json theme={null} { "status": "ACTIVE", "message": "", "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" }, "details": { "identity": { "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" }, "details": [ { "id": "e477fa56-3e1e-4dac-abe6-008166749f30", "type": "DRIVERS", "subType": "FRONT_SIDE", "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" } }, { "id": "a2190d1d-61af-416d-8fcf-20673da5eaa0", "type": "DRIVERS", "subType": "BACK_SIDE", "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" } } ] }, "questionnaire": { "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" } }, "personalInfo": { "reviewResult": { "reviewAnswer": "APPROVED", "reviewRejectType": "", "rejectReasons": [], "comment": "" } } } } ``` ✅ **KYC approved!** The status is `ACTIVE`, which means the rail is now unlocked and the user can: * Onramp fiat to stablecoins * Offramp stablecoins to fiat **Response Fields:** **status** `string` Overall KYC status for the rail. Possible values: - `CREATED` - Application submitted, not yet reviewed - `PENDING` - Being reviewed by compliance team - `ACTIVE` - Approved, rail is unlocked - `REJECTED` - Not approved (see rejectReasons for details) **reviewResult** `object` High-level review outcome for the entire application. **properties** **reviewAnswer** `string` Review decision (APPROVED, REJECTED, PENDING) **reviewRejectType** `string` Type of rejection, if applicable **rejectReasons** `array` List of reasons for rejection, if applicable **comment** `string` Additional comments from reviewers **details** `object` Detailed review results broken down by category (identity documents, personal information, questionnaire). Useful for diagnosing issues if rejected. **properties** **identity** `object` Review results for identity document verification **questionnaire** `object` Review results for KYC questionnaire responses **personalInfo** `object` Review results for personal information verification *** ## Next Steps Now that your user has completed KYC and unlocked the rail, you can: * **[Set up Virtual Accounts](/docs/accounts/virtual-accounts)** - For receiving fiat deposits (onramping) * **[Add Offramp Accounts](/docs/accounts/offramp-accounts)** - For sending fiat withdrawals (offramping) * **[Execute Transfers](/docs/guides/quickstart#make-transfers)** - Start moving money between fiat and crypto ## Related Resources * **[KYC Links](/docs/features/kyc-links)** - Use hosted KYC flow for easier implementation * **[KYC Requirements](/docs/kyc/kyc-requirements)** - Detailed information about KYC requirements * **[Rails Overview](/docs/rails)** - Learn about available rails and their requirements * **[Webhooks](/docs/webhooks/kyc-events)** - Monitor KYC status changes in real-time * **[API Reference](https://docs.hifi.com/api-reference)** - Complete endpoint documentation # Product & Service Categories Source: https://docs.hifi.com/references/product-service-categories Reference table of product and service categories with their corresponding item codes for business classification. | Category | Item | Item code | | :- | :- | :- | | Retail | Auto parts and accessories | KC02001001 | | Retail | Automotive dealers | KC02001002 | | Retail | Beauty and cosmetics | KC02001003 | | Retail | Bicycle and related accessories | KC02001004 | | Retail | Clothing, Textiles and accessories | KC02001005 | | Retail | Construction Materials related products | KC02001006 | | Retail | Consultancy Services | KC02001007 | | Retail | Devices and electronics | KC02001008 | | Retail | Drugstore and personal care | KC02001009 | | Retail | Eyeglasses and other optical goods | KC02001010 | | Retail | Florists | KC02001011 | | Retail | Food and beverage | KC02001012 | | Retail | Furniture | KC02001013 | | Retail | Gardening | KC02001014 | | Retail | Grocery stores | KC02001015 | | Retail | Home appliances | KC02001016 | | Retail | Household goods | KC02001017 | | Retail | Iron & Steel related products | KC02001018 | | Retail | Jewelry, watches, precious stones and metals | KC02001019 | | Retail | Medical devices | KC02001020 | | Retail | Mother and baby / infant related goods | KC02001021 | | Retail | Musical instruments | KC02001022 | | Retail | Office and school supplies | KC02001023 | | Retail | Online marketplaces | KC02001024 | | Retail | Pet supplies | KC02001025 | | Retail | Restaurants and bars | KC02001026 | | Retail | Second-hand / used merchandise | KC02001027 | | Retail | Sports and outdoor | KC02001028 | | Retail | Supplements and nutraceuticals nutrition, vitamins, health | KC02001029 | | Retail | Telecommunications | KC02001030 | | Retail | Toys and hobbies | KC02001031 | | Digital and tech | Digital content (e.g., Books, music, movies) | KC02002001 | | Digital and tech | Financial data and research | KC02002002 | | Digital and tech | Games | KC02002003 | | Digital and tech | Social media | KC02002004 | | Digital and tech | Software development | KC02002005 | | Professional services | Accounting, auditing and tax | KC02003001 | | Professional services | Administrative services | KC02003002 | | Professional services | Art and design | KC02003003 | | Professional services | Courier and shipping | KC02003004 | | Professional services | Government and public services | KC02003005 | | Professional services | Human resources solutions | KC02003006 | | Professional services | IT consulting | KC02003007 | | Professional services | Legal services | KC02003008 | | Professional services | Management consulting | KC02003009 | | Professional services | Marketing and advertising | KC02003010 | | Professional services | Photography | KC02003011 | | Professional services | Publishing and printing | KC02003012 | | Professional services | Warehousing and distribution | KC02003013 | | Wholesale | Auto parts and accessories | KC02004001 | | Wholesale | Automotive | KC02004002 | | Wholesale | Beauty and cosmetics | KC02004003 | | Wholesale | Bicycle and related accessories | KC02004004 | | Wholesale | Children, baby and infant’s related products | KC02004005 | | Wholesale | Clothing, Textiles and accessories | KC02004006 | | Wholesale | Containers & Packaging | KC02004007 | | Wholesale | Construction Materials related products | KC02004008 | | Wholesale | Devices and electronics | KC02004009 | | Wholesale | Drugstore and personal care | KC02004010 | | Wholesale | Eyeglasses and other optical goods | KC02004011 | | Wholesale | Florists | KC02004012 | | Wholesale | Food and beverage | KC02004013 | | Wholesale | Furniture | KC02004014 | | Wholesale | Gardening | KC02004015 | | Wholesale | Groceries | KC02004016 | | Wholesale | Home appliances | KC02004017 | | Wholesale | Household goods | KC02004018 | | Wholesale | Iron & Steel related products | KC02004019 | | Wholesale | Mother and baby goods | KC02004020 | | Wholesale | Musical instruments | KC02004021 | | Wholesale | Office and school supplies | KC02004022 | | Wholesale | Pet supplies | KC02004023 | | Wholesale | Sports and outdoor | KC02004024 | | Wholesale | Second-hand / used merchandise | KC02004025 | | Wholesale | Supplements and nutraceuticals nutrition, vitamins, health | KC02004026 | | Wholesale | Toys and hobbies | KC02004027 | | Education | Child care | KC02005001 | | Education | Colleges and universities | KC02005002 | | Education | Elementary and secondary schools | KC02005003 | | Education | Online education platforms | KC02005004 | | Education | Vocational schools and trade schools | KC02005005 | | Entertainment, recreation and social | Bands, orchestras, actors, and other entertainers | KC02006001 | | Entertainment, recreation and social | Country, sports and membership clubs | KC02006002 | | Entertainment, recreation and social | Event ticketing | KC02006003 | | Entertainment, recreation and social | Movie theaters | KC02006004 | | Entertainment, recreation and social | Professional sport teams and leagues | KC02006005 | | Entertainment, recreation and social | Tourist attractions | KC02006006 | | Financial services | Insurance | KC02007001 | | Financial services | Investment | KC02007002 | | Financial services | Loans or lending | KC02007003 | | Financial services | Money services or transmission | KC02007004 | | Financial services | Mortgage | KC02007005 | | Manufacturing | Clothing and accessories | KC02008001 | | Manufacturing | Computer and electronics | KC02008002 | | Manufacturing | Construction Materials related products | KC02008003 | | Manufacturing | Containers & Packaging | KC02008004 | | Manufacturing | Equipment rental and leasing | KC02008005 | | Manufacturing | Food and beverage (non-alcoholic) | KC02008006 | | Manufacturing | Furniture | KC02008007 | | Manufacturing | Home appliances | KC02008008 | | Manufacturing | Industrial machinery and equipment | KC02008009 | | Manufacturing | Iron & Steel related products | KC02008010 | | Manufacturing | Lumber and wood products (except furniture) | KC02008011 | | Manufacturing | Medical devices | KC02008012 | | Manufacturing | Paper products | KC02008013 | | Manufacturing | Petroleum products | KC02008014 | | Manufacturing | Pharmaceuticals | KC02008015 | | Manufacturing | Rubber and plastics products | KC02008016 | | Manufacturing | Supplements and nutraceuticals nutrition, vitamins, health | KC02008017 | | Medical services | Clinics | KC02009001 | | Medical services | Hospitals | KC02009002 | | Medical services | Mental health services | KC02009003 | | Medical services | Nursing home and personal care facilities | KC02009004 | | Medical services | Veterinary services | KC02009005 | | Personal services | Automotive repair and maintanence | KC02010001 | | Personal services | Beauty salons and barbers | KC02010002 | | Personal services | Devices and electronics repair | KC02010003 | | Personal services | Health and wellness counselling | KC02010004 | | Personal services | Laundry and cleaning services | KC02010005 | | Personal services | Physical fitness facilities | KC02010006 | | Property and real estate | Architectural and engineering services | KC02011001 | | Property and real estate | Clearning and sanitization | KC02011002 | | Property and real estate | Construction | KC02011003 | | Property and real estate | Electrical work | KC02011004 | | Property and real estate | Plumbing, heating and air-conditioning | KC02011005 | | Property and real estate | Real estate agents and managers | KC02011006 | | Property and real estate | Special trade contractors | KC02011007 | | Property and real estate | Utilities | KC02011008 | | Travel and lodging | Air transportation | KC02012001 | | Travel and lodging | Car rental | KC02012002 | | Travel and lodging | Hotels, inns, and motels | KC02012003 | | Travel and lodging | Ridesharing | KC02012004 | | Travel and lodging | Taxis and limos | KC02012005 | | Travel and lodging | Travel agency | KC02012006 | | Travel and lodging | Water transportation | KC02012007 | | Travel and lodging | Boat hire and yacht charter | KC02012008 | | Travel and lodging | Motor homes, caravans, campers & recreational vehicle hire | KC02012009 | | Others | Others | KC02013001 | # Create Saved Metric Source: https://docs.hifi.com/api-reference/reporting/create-saved-metric https://production.hifi.com/api/v2/openapi.json post /v2/reporting/metrics Creates and saves a new metric configuration to the database. This does not execute the report, but stores the parameters for future use. # Delete Saved Metric Source: https://docs.hifi.com/api-reference/reporting/delete-saved-metric https://production.hifi.com/api/v2/openapi.json delete /v2/reporting/metrics/{id} Permanently removes a saved metric configuration from the profile. # Execute Saved Metric Source: https://docs.hifi.com/api-reference/reporting/execute-saved-metric https://production.hifi.com/api/v2/openapi.json get /v2/reporting/metrics/{id}/results Runs the calculation for an existing saved metric and returns the dataset. # Get Available Metric Templates Source: https://docs.hifi.com/api-reference/reporting/get-available-metric-templates https://production.hifi.com/api/v2/openapi.json get /v2/reporting/templates Retrieves a list of all available metric templates (e.g., GROSS_VOLUME, TRANSACTION_COUNT). Templates define the logic, supported parameters, and breakdown options available for building reports. # Get Metric Details Source: https://docs.hifi.com/api-reference/reporting/get-metric-details https://production.hifi.com/api/v2/openapi.json get /v2/reporting/metrics/{id} Retrieves the configuration details of a specific saved metric by its UUID. # Get Parameter Options Source: https://docs.hifi.com/api-reference/reporting/get-parameter-options https://production.hifi.com/api/v2/openapi.json get /v2/reporting/params/{name}/options Fetches valid options for specific parameters (e.g., transactionTypes, transactionStatuses) to help validate input or populate UI dropdowns. Supports pagination via query parameters. # Get Template Details Source: https://docs.hifi.com/api-reference/reporting/get-template-details https://production.hifi.com/api/v2/openapi.json get /v2/reporting/templates/{name} Returns the specific definition for a template, including its description, the list of fields you can pass as parameters, and the dimensions available for breakdowns. # List Saved Metrics Source: https://docs.hifi.com/api-reference/reporting/list-saved-metrics https://production.hifi.com/api/v2/openapi.json get /v2/reporting/metrics Retrieves all saved metric configurations associated with the authenticated profile. # Preview Metric Results Source: https://docs.hifi.com/api-reference/reporting/preview-metric-results https://production.hifi.com/api/v2/openapi.json post /v2/reporting/metrics/preview Executes a metric calculation on the fly without saving it to the database. Useful for testing parameters or ad-hoc analysis. # Update Saved Metric Source: https://docs.hifi.com/api-reference/reporting/update-saved-metric https://production.hifi.com/api/v2/openapi.json post /v2/reporting/metrics/{id} Updates the name, description, or parameters of an existing metric configuration. Supports partial updates. # Apply settlement rule to virtual account Source: https://docs.hifi.com/api-reference/settlement-rules/apply-settlement-rule-to-virtual-account https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules/{ruleId} Apply a settlement rule to a specific virtual account. This will enable the fee structure defined in the rule for transactions on that account. # Create a settlement rule Source: https://docs.hifi.com/api-reference/settlement-rules/create-a-settlement-rule https://production.hifi.com/api/v2/openapi.json post /v2/virtual-accounts/settlement-rules Create a new settlement rule for virtual accounts. Settlement rules define how fees are calculated and distributed when processing an onramp transaction. # Delete a settlement rule Source: https://docs.hifi.com/api-reference/settlement-rules/delete-a-settlement-rule https://production.hifi.com/api/v2/openapi.json delete /v2/virtual-accounts/settlement-rules/{ruleId} Delete an existing settlement rule. # List all settlement rules Source: https://docs.hifi.com/api-reference/settlement-rules/list-all-settlement-rules https://production.hifi.com/api/v2/openapi.json get /v2/virtual-accounts/settlement-rules List all settlement rules available for virtual accounts. # Remove settlement rule from virtual account Source: https://docs.hifi.com/api-reference/settlement-rules/remove-settlement-rule-from-virtual-account https://production.hifi.com/api/v2/openapi.json delete /v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules Remove a settlement rule from a specific virtual account. This will disable the fee structure for that account. # Retrieve a settlement rule Source: https://docs.hifi.com/api-reference/settlement-rules/retrieve-a-settlement-rule https://production.hifi.com/api/v2/openapi.json get /v2/virtual-accounts/settlement-rules/{ruleId} Get an existing settlement rule detail. # Update a settlement rule Source: https://docs.hifi.com/api-reference/settlement-rules/update-a-settlement-rule https://production.hifi.com/api/v2/openapi.json post /v2/virtual-accounts/settlement-rules/{ruleId}/update Update an existing settlement rule. This will replace all existing rules with the new configuration. # Retrieve a swap rate Source: https://docs.hifi.com/api-reference/token-swap/retrieve-a-swap-rate https://production.hifi.com/api/v2/openapi.json get /v2/wallets/swaps/rate Get the current market rate for swapping an amount of sourceCurrency into destinationCurrency. Currently only supported between usdc and usdt. # Approve a transfer Source: https://docs.hifi.com/api-reference/transfer-approvals/approve-a-transfer https://production.hifi.com/api/v2/openapi.json post /v2/transfer-approvals/{approvalId}/approve Approve a pending transfer. If enough approvals are received, the transfer will be queued for execution. # Get a transfer approval Source: https://docs.hifi.com/api-reference/transfer-approvals/get-a-transfer-approval https://production.hifi.com/api/v2/openapi.json get /v2/transfer-approvals/{approvalId} Retrieve detailed information about a specific transfer approval # List all pending transfer approvals Source: https://docs.hifi.com/api-reference/transfer-approvals/list-all-pending-transfer-approvals https://production.hifi.com/api/v2/openapi.json get /v2/transfer-approvals Retrieve all pending transfer approvals that require admin action # Reject a transfer Source: https://docs.hifi.com/api-reference/transfer-approvals/reject-a-transfer https://production.hifi.com/api/v2/openapi.json post /v2/transfer-approvals/{approvalId}/reject Reject a pending transfer. This will cancel the transfer and return funds to the sender.