Gateway Emulator

The NMI gateway can process transactions submitted in third-party formats, allowing you to connect existing integrations without modifying your codebase. Simply update the POST URL to our emulator endpoint and configure your credentials.


Authorize.Net AIM/SIM Emulator

Use this emulator if your shopping cart or application supports the Authorize.Net AIM or SIM integration method.

Note: The gateway does not support emulation of XML AIM, CIM, ARB, DPM, Card Present, or Transaction Details APIs. For XML API support, see the XML Emulator below.

Endpoints

MethodURL
AIMhttps://secure.nmi.com/gateway/transact.dll
SIMhttps://secure.nmi.com/cart/ausi.php

URL Migration

Replace any Authorize.Net URLs in your application with the appropriate emulator endpoint above:

ReplaceWith
https://secure.authorize.net/gateway/transact.dllhttps://secure.nmi.com/gateway/transact.dll
https://test.authorize.net/gateway/transact.dllhttps://secure.nmi.com/gateway/transact.dll

Authentication

ParameterValue
x_loginapi_key (literal string)
x_tran_keyYour Gateway Security Key
MD5 Hashgateway

Testing

For sandbox testing, use the following credentials:

  • Username: demo
  • Password: password

CIT/MIT Support

Cardholder-Initiated (CIT) and Merchant-Initiated (MIT) transactions are supported, even though the official AIM API does not include them. Use the variable names and values documented in the Payment API for all relevant transactions.


Authorize.Net XML Emulator

Use this emulator if your application integrates with Authorize.Net's current XML API. Requests and responses follow the same XML format, so only the POST URL and credentials need to change.

Endpoint

https://secure.nmi.com/api/transrequest.php

Authentication

ParameterValue
nameAny value (not used for authentication)
transactionKeyYour API Security Key

Sparrow Emulator

Use this emulator if your application integrates with SparrowOne's Services API. This emulator supports:

  • Transaction processing
  • Customer Vault management (add, update, delete)
  • Recurring subscription creation

Endpoint

https://secure.nmi.com/api/spar.php

Authentication

ParameterValue
mkeyYour API Security Key