An API implementation for the NMI (Network Merchants International) payment gateway