Sale or Authorization

The Openpath NMI Emulation API accepts transactions via query string, form data, or recommended URL-encoded POST. Responses include metadata in custom headers like PacketId and GatewayName.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The type of transaction to be processed. Values: 'sale', 'auth', 'credit', 'validate', or 'offline'

string
required

Site Username assigned to a merchant Site account as API Login ID.

string
required

Site Password assigned to a merchant Site account as Transaction Key.

integer
required

Credit card number.

integer
required

Credit card expiration date. Format: MMYY

string

The card security code. While this is not required, it is strongly recommended.

double
required

Total amount to be charged. For validate, the amount must be omitted or set to 0.00. Format: x.xx

string

If using decline recapture, Response code received from the gateway.

string

If using decline recapture, Description of the response, usually the response message.

string

If using decline recapture, This is the source of the code from the original transaction E.g.: "nmi", "Paypal", "WorldPay", "Tenerum", "Stripe", "Authorize.Net"

string

If using decline recapture, Address Verification Service result code.

string

If using decline recapture, Card Verification Value result code.

string

The Standard Entry Class code of the ACH transaction. Values: 'PPD', 'WEB', 'TEL', or 'CCD'

double

Surcharge amount. Format: x.xx

string

The transaction currency. Format: ISO 4217

string

The type of payment. Default: 'creditcard' Values: 'creditcard', 'check', or 'cash'

integer

Sets the time in seconds for duplicate transaction checking on supported processors. Set to 0 to disable duplicate checking. This value should not exceed 7862400.

string

Set payment descriptor on supported processors.

string

Set payment descriptor phone on supported processors.

string

Set payment descriptor address on supported processors.

string

Set payment descriptor city on supported processors.

string

Set payment descriptor state on supported processors.

string

Set payment descriptor postal code on supported processors.

string

Set payment descriptor country on supported processors.

integer

Set payment descriptor mcc on supported processors.

string

Set payment descriptor merchant id on supported processors.

string

Set payment descriptor url on supported processors.

string

Order description. Legacy variable includes: orderdescription

string

Order Id.

string

IP address of cardholder, this field is recommended. Format: xxx.xxx.xxx.xxx

double

The sales tax included in the transaction amount associated with the purchase. Setting tax equal to any negative value indicates an order that is exempt from sales tax. Default: '0.00' Format: x.xx

double

Total shipping amount.

string

Cardholder's first name. Legacy variable includes: firstname

string

Cardholder's last name Legacy variable includes: lastname

string

Cardholder's company.

string

Card billing address.

string

Card billing address, line 2.

string

Card billing city.

string

Card billing state. Format: CC

string

Card billing zip code.

string

Card billing country. Country codes are as shown in ISO 3166. Format: CC

string

Billing phone number.

string

Billing email address.

string

Shipping address.

string

Shipping city.

string

Shipping state Format: CC.

string

Shipping zip code.

string

Shipping country Country codes are as shown in ISO 3166. Format: CC

string

item_product_code_# where # equals line number Merchant defined description code of the item being purchased.

string

item_description_# equals line number Description of the item(s) being supplied.

float

item_unit_cost_# equals line number Unit cost of item purchased, may contain up to 4 decimal places.

float

item_quantity_# equals line number Quantity of the item(s) being purchased. Default: '1'

double

item_total_amount_# equals line number Amount of sales tax on specific item. Amount should not be included in 'total_amount_#'. Default: '0.00' Format: x.xx

string

item_product_code_# where # equals line number Merchant defined description code of the item being purchased.

string

item_description_# equals line number Description of the item(s) being supplied.

float

item_unit_cost_# equals line number Unit cost of item purchased, may contain up to 4 decimal places.

float

item_quantity_# equals line number Quantity of the item(s) being purchased. Default: '1'

double

item_total_amount_# equals line number Amount of sales tax on specific item. Amount should not be included in 'total_amount_#'. Default: '0.00' Format: x.xx

Form Data
Headers
string
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain