FedEx address validation integration

How do I integrate FedEx's address validation with MarketPress? A client has customers that order products but don't check the "Home Delivery" checkbox. FedEx has an address validation function that validates whether an address is commercial or a home. How do I integrate that with MarketPress?