Gift and Stored Value Card Examples

Balance Inquiry

Request

1,24<-- Transaction Type -->
3,6032610100530679<-- Card Account Number -->
4,1249<-- Card Expiration Date MMYY -->
7,87654321<-- Reference Number -->
11,xxxx<-- User-Defined Field -->
13,121515<-- Transaction Date MMDDYY -->
14,121515<-- Transaction Time HHMMSS -->
25,121515<-- Business Date MMDDYY -->
70,87654321<-- Customer Code. Merchant-assigned code to identify customer. Default to field 7. -->
71,1<-- Tax Included Indicator -->
72,4.00<-- Tax Amount -->
109,DEVTER13<-- Terminal ID -->
110,8040<-- Cashier ID -->
115,050<-- Transaction Qualifier -->
647,1<-- Partial Authorization Acceptance -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Response

0001,24<-- Transaction Type -->
0002,463.00<-- Transaction Amount -->
0003,************0679<-- Card Account Number -->
0004,1249<-- Card Expiration Date MMYY -->
0007,5167480<-- Reference Number -->
0009,0023<-- Host Batch Number -->
0011,xxxx<-- User-Defined Field -->
0013,121515<-- Transaction Date MMDDYY -->
0014,121515<-- Transaction Time HHMMSS -->
0025,121515<-- Business Date MMDDYY -->
0030,1<-- Online Indicator -->
0032,051120<-- Authorization Transaction Date MMDDYY -->
0033,140649<-- Authorization Transaction Time HHMMSS -->
0042,None<-- Compliance Data -->
0043,511551<-- System Trace Audit Number -->
0054,01<-- POS Entry Mode -->
0070,87654321<-- Customer Code. Merchant-assigned code to identify customer. Default to field 7. -->
0071,1<-- Tax Included Indicator -->
0072,4.00<-- Tax Amount -->
0109,DEVTER13<-- Terminal ID -->
0110,8040<-- Cashier ID -->
0112,8034<-- Processor ID -->
0115,050<-- Transaction Qualifier -->
0126,0<-- Track Indicator -->
0140,USD<-- Merchant Currency Trigraph -->
0143,USD<-- Cardholder Currency Code -->
0632,364.00<-- Account Balance -->
0647,1<-- Partial Authorization Acceptance -->
1000,SV<-- Card Type -->
1001,STORED VALUE<-- Card Name -->
1003,0000<-- Elavon Gateway Response Code -->
1004,APPROVED<-- Host Response Message -->
1005,10047702<-- Merchant Number -->
1008,************0679<-- Masked Account Number -->
1009,000<-- Host Response Code -->
1010,COMPLETE<-- Elavon Response Message -->
1012,0010<-- Elavon Batch Number -->
1026,0<-- Frequency Points -->
7007,1117263622409445<-- Transaction Link Identifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Redemption

The gift card used in this example has a maximum stored value of $500. If you see a value of “ERR bal=$0.00” for field number 1004 in the response, add funds to the stored value (up to $500) by using the Reloading example and then try again.

Request

1,02<-- Transaction Type -->
2,10.00<-- Transaction Amount -->
3,6032610100530679<-- Card Account Number -->
4,1249<-- Card Expiration Date MMYY -->
7,87654321<-- Reference Number -->
11,xxxx<-- User-Defined Field -->
13,121517<-- Transaction Date MMDDYY -->
14,121515<-- Transaction Time HHMMSS -->
25,121517<-- Business Date MMDDYY -->
54,01<-- POS Entry Mode -->
70,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
71,1<-- Tax Included Indicator -->
72,4.00<-- Tax Amount -->
109,DEVTER13<-- Terminal ID -->
110,8040<-- Cashier ID -->
115,050<-- Transaction Qualifier -->
117,6<-- Stored Value Function -->
647,1<-- Partial Authorization Acceptance -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Response

0001,02<-- Transaction Type -->
0002,10.00<-- Transaction Amount -->
0003,************0679<-- Card Account Number -->
0004,1249<-- Card Expiration Date MMYY -->
0006,129280<-- Authorization Code -->
0007,87654321<-- Reference Number -->
0009,0012<-- Host Batch Number -->
0011,xxxx<-- User-Defined Field -->
0013,121517<-- Transaction Date MMDDYY -->
0014,121515<-- Transaction Time HHMMSS -->
0025,121517<-- Business Date MMDDYY -->
0030,1<-- Online Indicator -->
0032,092017<-- Authorization Transaction Date MMDDYY -->
0033,145345<-- Authorization Transaction Time HHMMSS -->
0042,None<-- Compliance Data -->
0043,511496<-- System Trace Audit Number -->
0054,01<-- POS Entry Mode -->
0070,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
0071,1<-- Tax Included Indicator -->
0072,4.00<-- Tax Amount -->
0109,DEVTER13<-- Terminal ID -->
0110,8040<-- Cashier ID -->
0112,8034<-- Processor ID -->
0115,050<-- Transaction Qualifier -->
0117,6<-- Stored Value Function -->
0125,129280<-- Retrieval Reference Number -->
0126,0<-- Track Indicator -->
0130,25.00<-- Total Authorized Amount -->
0140,USD<-- Merchant Currency Trigraph -->
0632,339.00<-- Account Balance -->
0647,1<-- Partial Authorization Acceptance -->
1000,SV<-- Card Type -->
1001,STORED VALUE<-- Card Name -->
1003,0000<-- Elavon Gateway Response Code -->
1004,APPROVED<-- Host Response Message -->
1005,10047702<-- Merchant Number -->
1008,************0679<-- Masked Account Number -->
1009,000<-- Host Response Code -->
1010,COMPLETE<-- Elavon Response Message -->
1012,0008<-- Elavon Batch Number -->
7007,1117263577160146<-- Transaction Link Identifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Redemption with Cash Back

The gift card used in this example has a maximum stored value of $500. If you see a value of “ERR bal=$0.00” for field number 1004 in the response, add funds to the stored value (up to $500) by using the reloading example and then try again.

Request

1,02<-- Transaction Type -->
2,25.00<-- Transaction Amount -->
3,6032610100530679<-- Card Account Number -->
4,1249<-- Card Expiration Date MMYY -->
7,87654321<-- Reference Number -->
11,xxxx<-- User-Defined Field -->
13,121517<-- Transaction Date MMDDYY -->
14,121515<-- Transaction Time HHMMSS -->
17,5.00<-- Cash Back -->
25,121517<-- Business Date MMDDYY -->
54,01<-- POS Entry Mode -->
70,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
71,1<-- Tax Included Indicator -->
72,4.00<-- Tax Amount -->
109,DEVTER13<-- Terminal ID -->
110,8040<-- Cashier ID -->
115,050<-- Transaction Qualifier -->
117,6<-- Stored Value Function -->
647,1<-- Partial Authorization Acceptance -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Response

0001,02<-- Transaction Type -->
0002,25.00<-- Transaction Amount -->
0003,************0679<-- Card Account Number -->
0004,1249<-- Card Expiration Date MMYY -->
0006,122619<-- Authorization Code -->
0007,11453372<-- Reference Number -->
0009,0012<-- Host Batch Number -->
0011,xxxx<-- User-Defined Field -->
0013,121517<-- Transaction Date MMDDYY -->
0014,121515<-- Transaction Time HHMMSS -->
0017,5.00<-- Cash Back -->
0025,121517<-- Business Date MMDDYY -->
0030,1<-- Online Indicator -->
0032,092617<-- Authorization Transaction Date MMDDYY -->
0033,095516<-- Authorization Transaction Time HHMMSS -->
0042,None<-- Compliance Data -->
0043,511554<-- System Trace Audit Number -->
0054,01<-- POS Entry Mode -->
0070,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
0071,1<-- Tax Included Indicator -->
0072,4.00<-- Tax Amount -->
0109,DEVTER13<-- Terminal ID -->
0110,8040<-- Cashier ID -->
0112,34<-- Processor ID -->
0115,050<-- Transaction Qualifier -->
0117,6<-- Stored Value Function -->
0125,122619<-- Retrieval Reference Number -->
0126,0<-- Track Indicator -->
0130,25.00<-- Total Authorized Amount -->
0140,USD<-- Merchant Currency Trigraph -->
0632,438.00<-- Account Balance -->
0647,1<-- Partial Authorization Acceptance -->
1000,SV<-- Card Type -->
1001,STORED VALUE<-- Card Name -->
1003,0000<-- Elavon Gateway Response Code -->
1004,APPROVED<-- Host Response Message -->
1005,10047702<-- Merchant Number -->
1008,************0679<-- Masked Account Number -->
1009,000<-- Host Response Code -->
1010,COMPLETE<-- Elavon Response Message -->
1012,0008<-- Elavon Batch Number -->
7007,1117263577160146<-- Transaction Link Identifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Reloading

The gift card used in this example has a maximum stored value of $500. If you see a value of “Amt exceeds bal limi” for field number 1004 in the response, you may remove additional funds (up to $500) by using the Redemption example above and then try again.

Request

1,09<-- Transaction Type -->
2,100.00<-- Transaction Amount -->
3,6032610100530679<-- Card Account Number -->
4,1249<-- Card Expiration Date MMYY -->
7,87654321<-- Reference Number -->
11,xxxx<-- User-Defined Field -->
13,121515<-- Transaction Date MMDDYY -->
14,121515<-- Transaction Time HHMMSS -->
25,121515<-- Business Date MMDDYY -->
54,01<-- POS Entry Mode -->
70,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
71,1<-- Tax Included Indicator -->
72,4.00<-- Tax Amount -->
109,DEVTER13<-- Terminal ID -->
110,8040<-- Cashier ID -->
115,050<-- Transaction Qualifier -->
117,3<-- Stored Value Function -->
647,1<-- Partial Authorization Acceptance -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Response

0001,09<-- Transaction Type -->
0002,100.00<-- Transaction Amount -->
0003,************0679<-- Card Account Number -->
0004,1249<-- Card Expiration Date MMYY -->
0006,129280<-- Authorization Code -->
0007,11457168<-- Reference Number -->
0009,0011<-- Host Batch Number -->
0011,xxxx<-- User-Defined Field -->
0013,121515<-- Transaction Date MMDDYY -->
0014,121515<-- Transaction Time HHMMSS -->
0025,121515<-- Business Date MMDDYY -->
0030,1<-- Online Indicator -->
0032,092017<-- Authorization Transaction Date MMDDYY -->
0033,105825<-- Authorization Transaction Time HHMMSS -->
0043,511523<-- System Trace Audit Number -->
0054,01<-- POS Entry Mode -->
0070,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
0071,1<-- Tax Included Indicator -->
0072,4.00<-- Tax Amount -->
0109,DEVTER13<-- Terminal ID -->
0110,8040<-- Cashier ID -->
0112,34<-- Processor ID -->
0115,050<-- Transaction Qualifier -->
0117,3<-- Stored Value Function -->
0126,0<-- Track Indicator -->
0140,USD<-- Merchant Currency Trigraph -->
0647,1<-- Partial Authorization Acceptance -->
1000,SV<-- Card Type -->
1001,STORED VALUE<-- Card Name -->
1003,0060<-- Elavon Gateway Response Code -->
1004,Amt exceeds bal limi<-- Host Response Message -->
1005,10047702<-- Merchant Number -->
1008,************0679<-- Masked Account Number -->
1009,050<-- Host Response Code -->
1010,Amt exceeds bal limi<-- Elavon Response Message -->
1012,0011<-- Elavon Batch Number -->
7007,1117269539051771<-- Transaction Link Identifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Restoration or Return

The gift card used in this example has a maximum stored value of $500. If you see a value of “Amt exceeds bal limi” for field number 1004 in the response, you may remove additional funds (up to $500) by using the Redemption example and then try again.

Request

1,09<-- Transaction Type -->
2,25.00<-- Transaction Amount -->
3,6032610100530679<-- Card Account Number -->
4,1249<-- Card Expiration Date MMYY -->
7,87654321<-- Reference Number -->
11,xxxx<-- User-Defined Field -->
13,121515<-- Transaction Date MMDDYY -->
14,121515<-- Transaction Time HHMMSS -->
25,121515<-- Business Date MMDDYY -->
54,01<-- POS Entry Mode -->
70,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
71,1<-- Tax Included Indicator -->
72,4.00<-- Tax Amount -->
109,DEVTER13<-- Terminal ID -->
110,8040<-- Cashier ID -->
115,050<-- Transaction Qualifier -->
117,4<-- Stored Value Function -->
647,1<-- Partial Authorization Acceptance -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Response

0001,09<-- Transaction Type -->
0002,25.00<-- Transaction Amount -->
0003,************0679<-- Card Account Number -->
0004,1249<-- Card Expiration Date MMYY -->
0006,129280<-- Authorization Code -->
0007,11600011<-- Reference Number -->
0009,0012<-- Host Batch Number -->
0011,xxxx<-- User-Defined Field -->
0013,121515<-- Transaction Date MMDDYY -->
0014,121515<-- Transaction Time HHMMSS -->
0025,121515<-- Business Date MMDDYY -->
0030,1<-- Online Indicator -->
0032,092117<-- Authorization Transaction Date MMDDYY -->
0033,102822<-- Authorization Transaction Time HHMMSS -->
0043,511524<-- System Trace Audit Number -->
0054,01<-- POS Entry Mode -->
0070,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
0071,1<-- Tax Included Indicator -->
0072,4.00<-- Tax Amount -->
0109,DEVTER13<-- Terminal ID -->
0110,8040<-- Cashier ID -->
0112,34<-- Processor ID -->
0115,050<-- Transaction Qualifier -->
0117,4<-- Stored Value Function -->
0126,0<-- Track Indicator -->
0140,USD<-- Merchant Currency Trigraph -->
0647,1<-- Partial Authorization Acceptance -->
1000,SV<-- Card Type -->
1001,STORED VALUE<-- Card Name -->
1003,000<-- Elavon Gateway Response Code -->
1004,APPROVED<-- Host Response Message -->
1005,10047702<-- Merchant Number -->
1008,************0679<-- Masked Account Number -->
1009,000<-- Host Response Code -->
1010,COMPLETE<-- Elavon Response Message -->
1012,0012<-- Elavon Batch Number -->
7007,1117270656766163<-- Transaction Link Identifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Authorization

The gift card used in this example has a maximum stored value of $500. If you see a value of “ERR bal=$0.00” for field number 1004 in the response, add funds to the stored value (up to $500) by using the Reloading example and then try again.

Request

1,01<-- Transaction Type -->
2,75.00<-- Transaction Amount -->
3,6032610100530679<-- Card Account Number -->
4,1249<-- Card Expiration Date MMYY -->
7,87654321<-- Reference Number -->
11,xxxx<-- User-Defined Field -->
13,121517<-- Transaction Date MMDDYY -->
14,121515<-- Transaction Time HHMMSS -->
25,121517<-- Business Date MMDDYY -->
54,01<-- POS Entry Mode -->
70,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
71,1<-- Tax Included Indicator -->
72,4.00<-- Tax Amount -->
109,DEVTER13<-- Terminal ID -->
110,8040<-- Cashier ID -->
115,050<-- Transaction Qualifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->

Response

0001,01<-- Transaction Type -->
0002,75.00<-- Transaction Amount -->
0003,************0679<-- Card Account Number -->
0004,1249<-- Card Expiration Date MMYY -->
0006,122648<-- Authorization Code -->
0007,11457875<-- Reference Number -->
0009,0006<-- Host Batch Number -->
0011,xxxx<-- User-Defined Field -->
0013,121517<-- Transaction Date MMDDYY -->
0014,121515<-- Transaction Time HHMMSS -->
0025,121517<-- Business Date MMDDYY -->
0030,1<-- Online Indicator -->
0032,092617<-- Authorization Transaction Date MMDDYY -->
0033,111012<-- Authorization Transaction Time HHMMSS -->
0042,None<-- Compliance Data -->
0043,511560<-- System Trace Audit Number -->
0054,01<-- POS Entry Mode -->
0070,87654321<-- Customer Code. Merchant-assigned code to identify customer -->
0071,1<-- Tax Included Indicator -->
0072,4.00<-- Tax Amount -->
0109,DEVTER13<-- Terminal ID -->
0110,8040<-- Cashier ID -->
0112,34<-- Processor ID -->
0115,050<-- Transaction Qualifier -->
0125,122648<-- Retrieval Reference Number -->
0126,0<-- Track Indicator -->
0128,75.00<-- Original Authorization Amount -->
0130,75.00<-- Total Authorized Amount -->
0131,00<-- CPS Total Incremental Auths sent -->
0140,USD<-- Merchant Currency Trigraph -->
0632,438.00<-- Account Balance -->
0647,1<-- Partial Authorization Acceptance -->
1000,SV<-- Card Type -->
1001,STORED VALUE<-- Card Name -->
1003,0000<-- Elavon Gateway Response Code -->
1004,APPROVED<-- Host Response Message -->
1005,10047702<-- Merchant Number -->
1008,************0679<-- Masked Account Number -->
1009,000<-- Host Response Code -->
1010,COMPLETE<-- Elavon Response Message -->
1012,0011<-- Elavon Batch Number -->
7007,1117263577160146<-- Transaction Link Identifier -->
8002,RETAILGIFT<-- Location Name -->
8006,TSTLA3<-- Chain Code (Required) -->