On This Page
Fields for a Credit Request
This table describes the required and optional fields for specifying
a credit request.
Field names are listed in the table as they appear in batch file templates.
An asterisk after a field name indicates that the field is required for an authorization request.
When you create a batch file based on a template, remove any asterisks from field names.
Column | Field Name | Description | Required? | Data Type | Length |
|---|---|---|---|---|---|
A | merchantReferenceCode* | Merchant-generated order reference or tracking number. | Required | String | 50 |
B | purchaseTotals_currency* | Currency used for the order. | Required | String | 5 |
C | purchaseTotals_grandTotalAmount* | Grand total for the order.
You must include either this field or item_#_unitPrice in your request.
If you use TSYS Acquiring Solutions as your payment processor,
you can set this field to 0 to check whehter the card is lost or stolen. | Required | String | 15 |
D | ccCaptureService_authRequestID* | The requestID returned from a previous request for ccAuthService. | Required | NA | NA |
E | ccCaptureService_authRequestToken | The requestToken returned from a previous request for ccAuthService. | Optional | NA | NA |
F | ccCaptureService_authType | If the request contains a verbally authorized transaction, this field must contain the value verbal. | Optional | NA | NA |
G | ccCaptureService_verbalAuthCode | Verbally received authorization code. | Optional | NA | NA |
H | billTo_customerID | Your identifier for the customer. | Optional | NA | NA |
I | merchantDefinedData_field1 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
J | merchantDefinedData_field2 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
K | merchantDefinedData_field3 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
L | merchantDefinedData_field4 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
M | billTo_postalCode* | Postal code for the billing address. The postal code must consist of 5 to 9 digits. For a 9-digit postal code, use this format:
| Required | String | 10 |
N | card_accountNumber* | Customer’s credit card number. | Required | String (Numbers Only) | 20 |
O | card_cardType* | Type of card to authorize. This field is required if the card type is JCB (007), and optional for all other card types.
| Required | String | 3 |
P | billTo_phoneNumber | Customer’s phone number. | Required | String | 15 |
Q | card_expirationMonth* | Two-digit month in which the credit card expires. Format: MM. Possible values: 01 through 12. The leading 0 is required. | Required | String | 2 |
R | card_expirationYear* | Four-digit year in which the credit card expires. Format: YYYY. | Required | String | 4 |
S | card_cvIndicator | Card verification indicator used to indicate if a card verification value was sent. Accepted by FDMS Nashville . Possible values:
| Optional | String (Numbers Only) | 4 |
T | card_cvNumber | Card verification number. | Optional | String (Numbers Only) | 2 |
U | ccCreditService_captureRequestID | The requestID returned from a previous request for ccCaptureService. Creates a follow-on credit by linking the credit to the previous capture. If you send this field, you do not need to send several other Credit request fields. See Crediting a Payment for more information about follow-on credits. | Optional | NA | NA |
V | ccCreditService_captureRequestToken | The requestToken returned from a previous request for ccCaptureService. | Optional | NA | NA |
W | ccCreditService_commerceIndicator | Transaction type. Use with stand-alone credits. See Request Fields for possible values. | Optional | NA | NA |
X | merchantDefinedData_field1 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
Y | merchantDefinedData_field2 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
Z | merchantDefinedData_field3 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
AA | merchantDefinedData_field4 | Four fields that you can use to store information. NOTE: If you are creating a profile based on an authorization, the merchant-defined data fields do not get transferred to the new profile. | Optional | String | 64 |
AB | shipTo_firstName | First name of the person receiving the shipment. | Optional | String | 60 |
AC | shipTo_lastName | Last name of the person receiving the shipment. | Optional | String | 60 |
AD | shipTo_street1 | First line of the address to which to ship the product. | Optional | String | 60 |
AE | shipTo_street2 | Second line of the address to which to ship the product. | Optional | String | 60 |
AF | shipTo_city | City to which to ship the product. | Optional | String | 50 |
AG | shipTo_state | State or province to which to ship the product. Use the two-character codes. | Optional | String | 2 |
AH | shipTo_country | Country to which to ship the product. Use the two-character ISO codes. | Optional | String | 2 |
AI | shipTo_postalCode | Postal code for the shipping address. The postal code must consist of 5 to 9 digits. For a 9-digit postal code, use this format:
| Optional | String | 10 |