Request Field Description
createTransactionRequest
Element | Description | Format |
---|---|---|
merchantAuthentication | Required. Contains merchant authentication information. | |
name | Required. Merchant’s unique API Login ID. The merchant API Login ID is provided in the Merchant Interface and must be stored securely. The API Login ID and Transaction Key together provide the merchant authentication required for access to the payment gateway. | String, up to 25 characters. |
transactionKey | Required. Merchant’s unique Transaction Key. The merchant Transaction Key is provided in the Merchant Interface and must be stored securely. The API Login ID and Transaction Key together provide the merchant authentication required for access to the payment gateway. | String, up to 16 characters. |
refId | Merchant-assigned reference ID for the request. If included in the request, this value is included in the response. This feature might be especially useful for multi-threaded applications. | String, up to 20 characters. |
transactionRequest | Required. This element is a container for transaction specific information. | |
transactionType | Type of credit card transaction. | String. Use |
amount | Required. Amount of the transaction. This is the total amount and must include tax, shipping, tips, and any other charges. | Decimal, up to 15 digits with a decimal point. Do not use currency symbols. |
currencyCode | Required. Currency of the transaction. Use the ISO 4217 three-letter alphabetic code for the currency.Use the ISO 4217 three-letter alphabetic code for the currency. Currently supported currencies are | String, three characters. |
payment | This element contains payment information. | |
trackData | Conditional. Applies to Card Present transactions only. Contains track data read from the customer's card. Track data contains the full card number and expiration date by default. If you use the | |
track1 | Conditional. Applies to Card Present transactions only. Track data includes the full card number and expiration date by default. If you send the | String, 76 characters. Do not include the start sentinel (percent sign), end sentinel (question mark), or Longitudinal Redundancy Check. |
track2 | Conditional. Applies to Card Present transactions only. Track data includes the full card number and expiration date by default. If you use the | String, 37 characters. Do not include the start sentinel (semicolon), end sentinel (question mark), or Longitudinal Redundancy Check. |
creditCard | Conditional. Applies to Card Not Present transactions only. Contains human-readable information from the customer's card. | |
cardNumber | Conditional. Applies to Card Not Present transactions only. The customer’s credit card number. Only use | Numeric string, 13-16 digits. |
expirationDate | Conditional. Applies to Card Not Present transactions only. The customer’s credit card expiration date. Only use | String, 7 characters. Use XML gYearMonth (YYYY-MM) formatting. |
cardCode | Conditional. Applies to Card Not Present transactions only. The customer’s card code. The three- or four-digit number on the back of a credit card (on the front for American Express). This field is required if the merchant would like to use the Card Code Verification (CCV) security feature. Cardholder information must be stored securely and in accordance with the Payment Card Industry (PCI) Data Security Standard. For more information about PCI, please refer to the Standards, Compliance and Security developer training video at https://developer.authorize.net/training. | Numeric string, 3-4 digits. |
profile | The following field enables you to create a customer profile from the data sent to make the transaction. | |
createProfile | Indicates whether to create a customer profile. If set to true, a customer profile and payment profile will be generated from the customer and payment data. | Boolean. Either |
solution | Contains information about the software that generated the transaction. | |
id | The unique Solution ID which you generate and associate with your solution through the Partner Interface. See the Solution ID Implementation Guide for details. | String, up to 50 characters. |
name | The name is generated by the solution provider and provided to Authorize.net. See the Solution ID Implementation Guide for details. | String, up to 255 characters. |
terminalNumber | The merchant's in-store terminal number. Can identify the cashiers or kiosks used. Do not use your processor's terminal ID for this field. | String. |
order | Contains information about the order. | |
invoiceNumber | Merchant-defined invoice number associated with the order. Worldpay RAFT 610 merchants can view the invoice number in the Worldpay Reporting Portal. | String, up to 20 characters. |
description | Description of the item purchased. | String, up to 255 characters. |
lineItems | Contains one or more lineItem elements, up to a maximum of 30 line items. | |
lineItem | Contains information about one item. | |
itemId | Item identification. | String, up to 31 characters. |
name | The human-readable name for the item. | String, up to 31 characters. |
description | A description of the item. | String, up to 255 characters. |
quantity | The quantity of items sold. | Decimal, up to four decimal places. |
unitPrice | The cost per unit, excluding tax, freight, and duty. | Decimal, up to four decimal places. |
taxable | Indicates whether the item is taxable. | Boolean. Either |
tax | Contains information about applicable taxes. | |
amount | Amount of tax. The total transaction amount must include this value. | Decimal, up to four decimal places. |
name | Name of tax. | String, up to 31 characters. |
description | Description of tax. | String, up to 255 characters. |
duty | Contains information about any duty applied. | |
amount | Amount of duty. The total transaction amount must include this value. | Decimal, up to four decimal places. |
name | Name of duty. | String, up to 31 characters. |
description | Description of duty. | String, up to 255 characters. |
shipping | Items in this element describe shipping charges applied. | |
amount | Amount of the shipping charges. The total transaction amount must include this value. | Decimal, up to four decimal places. |
name | Name of the shipping charges. | String, up to 31 characters. |
description | Description of the shipping charges. | String, up to 255 characters. |
taxExempt | Indicates whether or not order is exempt from tax. | Boolean. Either |
poNumber | The merchant-assigned purchase order number. If you use purchase order numbers, your solution should generate the purchase order number and send it with your transaction requests. Authorize.net does not generate purchase order numbers. | String, up to 25 characters. Use alphanumeric characters only, without spaces, dashes, or other symbols. |
customer | The following fields contain customer information. | |
type | Type of customer. | String. Either |
id | The unique customer ID used to represent the customer associated with the transaction. If you use customer IDs, your solution should generate the customer ID and send it with your transaction requests. Authorize.net does not generate customer IDs. | String, up to 20 characters. Use alphanumeric characters only, without spaces, dashes, or other symbols. |
Conditional. The customer’s valid email address. Required only when using a European payment processor. If you enable Email Receipts in the Merchant Interface, and if the email address format is valid, the customer will receive an Authorize.net generated email receipt. | String, up to 255 characters. | |
billTo | This element contains billing address information. If EVO is your payment processor and you submit any of the following
| |
firstName | Conditional. First name associated with customer’s billing address. Required only when using a European payment processor. | String, up to 50 characters. |
lastName | Conditional. Last name associated with customer’s billing address. Required only when using a European payment processor. | String, up to 50 characters. |
company | Company associated with customer’s billing address. | String, up to 50 characters. |
address | Conditional. Customer’s billing address. Required if merchant would like to use the Address Verification Service security feature. Required when using GPN Canada or Worldpay Streamline Processing Platform. | String, up to 60 characters. |
city | Conditional. City of customer’s billing address. Required only when using a European payment processor. | String, up to 40 characters. |
state | Conditional. State of customer’s billing address. Required only when using a European payment processor. | String, up to 40 characters. For US states, use the USPS two-character abbreviation for the state. |
zip | Conditional. The postal code of customer’s billing address. Required if merchant would like to use the Address Verification Service security feature. Required when using GPN Canada or Worldpay Streamline Processing Platform. | String, up to 20 characters. |
country | Country of customer’s billing address. | String, up to 60 characters. Use the ISO 3166 alpha-2 code for the country. |
phoneNumber | Phone number associated with customer’s billing address. | String, up to 25 characters. |
faxNumber | Fax number associated with customer’s billing address. | String, up to 25 characters. |
shipTo | This element contains shipping information. If EVO is your payment processor and you submit any of the following
| |
firstName | First name associated with customer’s shipping address. | String, up to 50 characters. |
lastName | Last name associated with customer’s shipping address. | String, up to 50 characters. |
company | Company associated with customer’s shipping address. | String, up to 50 characters. |
address | Customer’s shipping address. | String, up to 60 characters. |
city | City of customer’s shipping address. | String, up to 40 characters. |
state | State of customer’s shipping address. | String, up to 40 characters. For US states, use the USPS two-character abbreviation for the state. |
zip | The postal code of customer’s shipping address. | String, up to 20 characters. |
country | Country of customer’s shipping address. | String, up to 60 characters. |
customerIP | Conditional. The IPv4 address of the customer initiating the transaction. Defaults to 255.255.255.255 if not included in your request. Required only when the merchant is using customer IP based AFDS filters. | String, up to 15 characters. Use dot-decimal formatting. |
cardholderAuthentication | Important: This field is deprecated and should not be used. Merchants using a third party cardholder authentication solution can submit the following authentication values with Visa and Mastercard transactions. Invalid combinations of card type, | |
authenticationIndicator | Conditional. Important: This field is deprecated and should not be used. The Electronic Commerce Indicator (ECI) value for a Visa transaction, or the Universal Cardholder Authentication Field indicator (UCAF) for a Mastercard transaction. The cardholder authentication process generates the ECI or UCAF value prior to submitting the transaction. Required only for Invalid values of This field is currently supported through Chase Paymentech, FDMS Nashville, Global Payments and TSYS. | String. |
cardholderAuthenticationValue | Conditional. Important: This field is deprecated and should not be used. The Cardholder Authentication Verification Value (CAVV) for a Visa transaction, or Accountholder Authentication Value (AVV)/ Universal Cardholder Authentication Field indicator (UCAF) for a Mastercard transaction. The cardholder authentication process generates the CAVV, AAV, or UCAF value prior to submitting the transaction. Required only for Invalid values of This field is currently supported through Chase Paymentech, FDMS Nashville, Global Payments and TSYS. | String. |
retail | The retail element contains two elements: marketType and deviceType . If you submit the retail element, the marketType and deviceType elements are required. | |
marketType | The market type for the transaction. This element is required if you submit the | Numeric string. Either |
deviceType | The type of device submitting the retail transaction. This element is required if you submit the | Numeric string. One of the following:
|
employeeId | Merchant-assigned employee ID. This field is required for the EVO processor, and is supported on the TSYS processor. | Numeric string, 4 digits. Defaults to |
transactionSettings | This element contains one or more setting elements. | |
setting | Contains settingName and settingValue . | |
settingName | Name of a specific setting to be modified for this transaction. For a list of valid | String. One of the following: |
settingValue | Indicates whether the specified setting is enabled or disabled. For a list of permitted | String. Permitted values depend on the value of |
userFields | These elements may be used to pass through information, such as session IDs and order details. The merchant will receive these elements in the response, exactly as it was submitted in the request. Authorize.net will not store these values. Do not use these fields to pass through sensitive details as doing so may be a violation of the PCI Data Security Standard. Worldpay RAFT 610 merchants can view the first two userField elements in the Worldpay Reporting Portal. | |
userField | The element for individual user-defined fields. Contains the name and value child elements.Up to 20 | String. |
name | Name of the user-defined field. User reference field provided for the merchant’s use. The merchant will receive this field in the response, exactly as it was submitted in the request. Authorize.net will not store this value. | String. |
value | Value of the user-defined field. User reference field provided for the merchant’s use. The merchant will receive this field in the response, exactly as it was submitted in the request. Authorize.net will not store this value. | String. |
surcharge | Used to record payment card surcharges that are passed along to customers. Contains an amount and a description child element.Currently supported for TSYS merchants. For details on surcharge rules, please see Visa's merchant regulations and fees. | |
amount | Amount of the surcharge. Currently supported for TSYS merchants. For details on surcharge rules, please see Visa's merchant regulations and fees. | Decimal, up to 15 digits with a decimal point. Do not use currency symbols. |
description | Describes the reason or details for the surcharge. Currently supported for TSYS merchants. For details on surcharge rules, please see Visa's merchant regulations and fees. | String, up to 255 characters. |
tip | The amount of the tip authorized by the cardholder. The total transaction amount must include this value. | Decimal, up to 15 digits with a decimal point. Do not use currency symbols. |
processingOptions | Contains details for additional transaction processing. Required if the merchant stores card-on-file payment information. | |
isFirstRecurringPayment | Indicates the initial zero-dollar authorization or the first recurring payment in a series of charges. Required if the merchant stores card-on-file payment information. Set | Boolean. |
isFirstSubsequentAuth | Indicates the initial zero-dollar authorization or the first payment in a series of charges. Required if the merchant stores card-on-file payment information. | Boolean. |
isSubsequentAuth | Indicates that the transaction is a follow-on transaction for an established customer. Use in these situations:
Required if the merchant stores card-on-file payment information. | Boolean. |
isStoredCredentials | Indicates that the transaction was initiated by the customer using card-on-file payment information. Required if the merchant stores card-on-file payment information. | Boolean. |
subsequentAuthInformation | Contains details for subsequent authorizations using stored payment information. Required if the merchant stores card-on-file payment information. | |
originalNetworkTransId | Required. The network transaction ID returned in response to the original card-on-file transaction. Store the | String, up to 255 characters. |
reason | Required. Describes the reason for the subsequent card-on-file transaction. Use Use Use Use | String. Either |
originalAuthAmount | Required. The original authorization amount. Store the amount of the original card-on-file transaction response. Set the | Decimal, up to 15 digits with a decimal point. Required for Discover, Diners Club, JCB, and China Union Pay transactions. Do not use currency symbols. |
authorizationIndicator | Indicates whether the authorization was a pre-authorization or final authorization. Applicable to Mastercard only. Use | String. Either |
FAQs
Is Authorize.net an API? ›
The Authorize.net API provides robust features for processing payment transactions through the Authorize.net gateway. The API supports XML and JSON variants. For detailed API reference information, see the API Reference.
How do I get an Authorize.net API? ›- For sandbox API requests, log into the sandbox Merchant Interface at https://sandbox.authorize.net. ...
- Navigate to Account > Settings > API Credentials & Keys.
- Click New Transaction Key.
- Click Submit.
- Request and verify a PIN in order to see the transaction key.
Authorize.Net has been accredited by the BBB since 2009 and has an A+ rating.
Is Authorize.net owned by Visa? ›Authorize.net is a wholly owned subsidiary of Visa (NYSE: V). Authorize.net services are sold through a network of reseller partners including Independent Sales Organizations (ISOs), Merchant Service Providers (MSPs) and financial institutions that offer Authorize.net payment services to their merchant customers.
How do I integrate Authorize.net on my website? ›How to set up Authorize.net Payment Gateway on Your WooCommerce ...
How does Authorize.net work? ›Authorizes the transaction: The payment gateway checks to make sure your customer has sufficient funds in their account—and then authorizes the purchase. Captures the transaction: As soon as the purchase is authorized, a hold is placed on the money. At this point, you can confidently ship goods to your customer.