Restaurant Examples

The first step in an electronic transaction by placing a hold on the available credit of the cardholder's credit amount.

error_outline
note

The actual fields returned in the output response are dependent on the TPP interface used. If the interface requires the data and the processor returns the information, it is returned in the format required by the processor.

Manual Authorization

REQUEST

0001,1<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,4124939999999990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0007,87654341<-- Reference number -->
0011,xxxx<-- User data -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0050,123<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0060,51563621<-- Unique Device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0115,010<-- Transaction qualifier -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
0700,33777<-- Billing zip code -->
0701,8005 SERENA DR<-- Billing street address -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

RESPONSE

0001,01<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,************9990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0006,CV1757<-- Authorization code -->
0007,104932628<-- Reference number -->
0009,043<-- Host batch number -->
0011,xxxx<-- User-defined data -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0030,1<-- Online indicator -->
0032,091519<-- Auth trans date MMDDYY -->
0033,175313<-- Auth trans time HHMMSS -->
0034,V<-- Auth characteristics indicator -->
0035,3A3E<-- Validation code -->
0036,019091517515530<-- Transaction identifier -->
0037,4<-- Authorizer -->
0040,U<-- Compliance data -->
0043,121950<-- System trace audit number -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0049,A<-- Card product result code -->
0050,123<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0056,01<-- CVV/CVC/CID presence indicator -->
0060,51563621<-- Unique Device ID -->
0061,00<-- Terminal type -->
0063,00<-- CAT indicator -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0112,400<-- Processor ID -->
0115,010<-- Transaction qualifier -->
0125,915221729<-- Retrieval ref number -->
0126,0<-- Track indicator -->
0128,100.00<-- Original authorization amt -->
0129,1<-- Compliance data -->
0130,100.00<-- Total authorized amt -->
0131,00<-- CPS total incremental auth sent -->
0140,USD<-- Merchant currency trigraph -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0632,100<-- Account balance -->
0647,1<-- Partial auth acceptance -->
0651,0010000<-- Auxilliary TPP reversal data -->
0700,33777<-- Billing zip code -->
0701,8005 SERENA DR<-- Billing street address -->
1000,VI<-- Card type -->
1001,VISA<-- Card name -->
1003,0000<-- Elavon gtwy response code -->
1004,APPROVAL<-- Host response Msg -->
1005,0010600008014593613999<-- Merchant number -->
1008,412493**9990<-- Masked account number -->
1009,AA<-- Host response code -->
1010,COMPLETE<-- Elavon gtwy response code -->
1012,0002<-- Gateway batch number -->
1015,X<-- Host AVS result code -->
1020,Y<-- Gateway AVS response field -->
1200,0000AA<-- Issuer network info -->
1339,00<-- EMV response code -->
4747,020111<-- 3rd party interface POS data code -->
7007,1119252750990360<-- Fusebox transaction id -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

Manual Sale

Authorizes and prepares a credit card or offline debit card purchase for settlement.

REQUEST

0001,2<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,4124939999999990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0007,87654320<-- Reference number -->
0011,xxxx<-- User-defined data -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0050,123<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0060,51563621<-- Unique Device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0115,010<-- Transaction qualifier -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
0700,33777<-- Billing zip code -->
0701,8005 SERENA DR<-- Billing street address -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

RESPONSE

0001,02<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,************9990<-- Masked acct number -->
0004,1025<-- Card exp date MMYY -->
0006,CVI362<-- Authorization code -->
0007,104932628<-- Reference number -->
0009,013<-- Host batch number -->
0011,xxxx<-- User-defined data -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0030,1<-- Online indicator -->
0032,091519<-- Auth trans date MMDDYY -->
0033,175313<-- Auth trans time HHMMSS -->
0034,V<-- Auth characteristics indicator -->
0035,2232<-- Validation code -->
0036,019091517515530<-- Transaction identifier -->
0037,4<-- Authorizer -->
0040,U<-- Compliance data -->
0043,121950<-- System trace audit number -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0049,A<-- Card product result code -->
0050,***<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0056,01<-- CVV/CVC/CID presence indicator -->
0060,51563621<-- Unique Device ID -->
0061,00<-- Terminal type -->
0063,00<-- CAT indicator -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0112,400<-- Processor ID -->
0115,010<-- Transaction qualifier -->
0125,915221729<-- Retrieval ref number -->
0126,0<-- Track indicator -->
0129,1<-- Compliance data -->
0130,100.00<-- Total authorized amt -->
0131,00<-- CPS total incremental auth sent -->
0140,USD<-- Merchant currency trigraph -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0632,100<-- Account balance -->
0647,1<-- Partial auth acceptance -->
0651,0000000<-- Auxilliary TPP reversal data -->
0700,33777<-- Billing zip code -->
0701,8005 SERENA DR<-- Billing street address -->
1000,VI<-- Card type -->
1001,VISA<-- Card name -->
1003,0000<-- Elavon gtwy response code -->
1004,APPROVAL<-- Host response Msg -->
1005,0010600008014593613999<-- Merchant number -->
1008,412493**9990<-- Masked account number -->
1009,AA<-- Host response code -->
1010,COMPLETE<-- Elavon gtwy response code -->
1012,0002<-- Gateway batch number -->
1015,X<-- Host AVS result code -->
1020,Y<-- Gateway AVS response field -->
1200,0000AA<-- Issuer network info -->
1339,00<-- EMV response code -->
4747,020111<-- 3rd party interface POS data code -->
7007,1119252750990360<-- Fusebox transaction id -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

Forced Authorization

Updates Elavon's database with a transaction that was manually authorized and stored in the POS. Force flag (Field 12=1) is required in this type of authorization.

REQUEST

0001,1<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,****9990<-- Account number -->
0004,1025<-- Expiration date MMYY -->
0006,1236AB<-- Authorization code -->
0007,87654322<-- Reference number -->
0011,xxxx<-- User-defined field -->
0012,1<-- Force flag -->
0013,121517<-- Transaction date MMDDYY -->
0014,121515<-- Transaction time HHMMSS -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS data code -->
0050,123<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0060,51563621<-- Unique device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax 1 indicator -->
0072,7.00<-- Tax amount 1 -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0115,010<-- Transaction qualifier -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Description of Tip #1 -->
0213,FOOD/BEV<-- Food description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Description of Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

RESPONSE

0001,01<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,************9990<-- Account number -->
0004,1025<-- Expiration date MMYY -->
0006,1236AB<-- Authorization code -->
0007,87654322<-- Reference number -->
0011,xxxx<-- User-defined field -->
0012,1<-- Force flag -->
0013,121517<-- Transaction date MMDDYY -->
0014,121515<-- Transaction time HHMMSS -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS data code -->
0050,***<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0056,1<-- CVV/CVC/CID presence indicator -->
0060,51563621<-- Unique device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax 1 indicator -->
0072,7.00<-- Tax amount 1 -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0112,400<-- Processor ID -->
0115,010<-- Transaction qualifier -->
0126,0<- Track indicator -->
0128,100.00<-- Original authorization amt -->
0130,100.00<-- Total authorized amt -->
0131,00<-- CPS total incremental auth sent -->
0140,USD<-- Merchant currency trigraph -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Description of Tip #1 -->
0213,FOOD/BEV<-- Food description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Description of Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
1000,VI<-- Card type -->
1001,VISA<-- Card name -->
1003,0000<-- Gateway response code -->
1004,ACKNOWLEDGED<-- Host response msg -->
1008,****9990<-- Masked account number -->
1010,COMPLETE<-- Gateway response -->
7007,1119258770822586<-- Transaction link ID -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

Forced Prior Authorization

REQUEST

0001,07<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,4124939999999990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0006,1236AB<-- Authorization code -->
0007,87654324<-- Reference number -->
0011,xxxx<-- User data -->
0012,1<-- Force flag -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0050,123<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0060,51563621<-- Unique Device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0115,010<-- Transaction qualifier -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV -->
0214,BEVERAGE<-- BEVERAGE -->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

RESPONSE

0001,07<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,************9990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0006,1236AB<-- Authorization code -->
0007,87654324<-- Reference number -->
0011,xxxx<-- User-defined field -->
0012,1<-- Force flag -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0050,***<-- CVV2/CVC2/CID info -->
0054,01<-- POS entry mode -->
0056,1<-- CVV/CVC/CID presence indicator -->
0060,51563621<-- Unique Device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0112,400<-- Processor ID -->
0115,010<-- Transaction qualifier -->
0126,0<-- Track indicator -->
0130,100.00<-- Total authorized amt -->
0131,00<-- CPS total incremental auth sent -->
0140,USD<-- Merchant currency trigraph -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description-->
0214,BEVERAGE<-- Beverage description-->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
1000,VI<-- Card type -->
1001,VISA<-- Card name -->
1003,0000<-- Gateway response code -->
1004,ACKNOWLEDGED<-- Host response msg -->
1008,****9990<-- Masked account number -->
1010,COMPLETE<-- Gateway response -->
7007,1119258770822586<-- Transaction link ID -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

Return

Generates a refund to the cardholder's account.

REQUEST

0001,9<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,4124939999999990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0007,87654327<-- Reference number -->
0011,xxxx<-- User data -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;0;1;3;1;0;4<-- POS Data code delimited -->
0054,01<-- POS entry mode -->
0060,51563621<-- Unique Device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0115,010<-- Transaction qualifier -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description -->
0214,BEVERAGE<-- Beverage description -->
0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0647,1<-- Partial auth acceptance -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->

RESPONSE

0001,09<-- Transaction type -->
0002,100.00<-- Transaction amount -->
0003,************9990<-- Card acct number -->
0004,1025<-- Card exp date MMYY -->
0006,139283<-- Authorization code -->
0007,87654327<-- Reference number -->
0009,001<-- Host batch number -->
0011,xxxx<-- User-defined data -->
0013,121517<-- Transaction date -->
0014,121515<-- Transaction time -->
0025,112017<-- Business date MMDDYY -->
0047,C;1;1;1;0;1;6;5;4;1;3;C;0;4<-- POS Data code delimited -->
0054,01<-- POS entry mode -->
0060,51563621<-- Unique Device ID -->
0070,87654321<-- Customer code -->
0071,1<-- Tax included indicator -->
0072,7.00<-- Tax amount -->
0109,00000003<-- Terminal ID -->
0110,SDC88888<-- Cashier ID -->
0112,400<-- Processor ID -->
0115,010<-- Transaction qualifier -->
0126,0<-- Track indicator -->
0140,USD<-- Merchant currency trigraph -->
0200,2<-- Charge description -->
0201,0.00<-- Tip 1 amount -->
0202,0.00<-- Tip 2 amount -->
0203,99<-- Emp Number 1 -->
0205,123456<-- Check number (ROC) -->
0207,3.00<-- Food amount -->
0208,0.50<-- Beverage amount -->
0209,333<-- Table number -->
0210,TIP<-- Tip #1 -->
0213,FOOD/BEV<-- FOOD/BEV description -->
0214,BEVERAGE<-- Beverage description --> 0215,TIP<-- Tip #2 -->
0216,02<-- Number of guests -->
0632,100<-- Account balance -->
0647,1<-- Partial auth acceptance -->
1000,VI<-- Card type -->
1001,VISA<-- Card name -->
1003,0000<-- Elavon gtwy response code -->
1004,ACKNOWLEDGED<-- Host response Msg -->
1005,0010600008014593613999<-- Merchant number -->
1008,412493**9990<-- Masked account number -->
1010,COMPLETE<-- Elavon gtwy response code -->
1012,0002<-- Gateway batch number -->
7007,1119252750990360<-- Fusebox transaction id -->
8002,DEVTSTQA<-- Location name -->
8006,DEVTST<-- Chain code -->