eWAY API


Batch

Large volumes of offline credit card orders can be uploaded with data from your own application or system using a .CSV or Excel file.

eWAY Fields Sent Maximum Field Length (Characters) Required Fields
ewayCustomerID 8 Included
ewayTotalAmount 12 Included
ewayCustomerFirstName 50  
ewayCustomerLastName 50  
ewayCustomerEmail 50  
ewayCustomerAddress 255  
ewayCustomerPostcode 6  
ewayCustomerInvoiceDescription 10000  
ewayCustomerInvoiceRef 50  
ewayCardHoldersName 50 Included
ewayCardNumber 20 Included
ewayCardExpiryMonth 2 Included
ewayCardExpiryYear 2 Included
ewayTrxnNumber 16
ewayOption1 255
ewayOption2 255
ewayOption3 255
eWAY Field Name Description Example
eWAYTotalAmount A whole number without dollar signs in cents - 10000 equals $100.00. 10000
eWAYCustomerFirstName The customer's first name David
eWAYCustomerLastName The customer's last name McDermott
eWAYCustomerEmail The customer's email address david@eway.co.nz
eWAYCustomerAddress The customer's postal address. 32 Smith Street Sydney NSW
eWAYCustomerPostCode The customer's post code 2000
eWAYCustomerInvoiceRef Your invoice number 234213s
eWAYCustomerInvoiceDescription Your invoice description. 3 x red socks; 2 x blue socks.
eWAYCardHoldersName The card holder's name. David McDermott
eWAYCardNumber The card number. 4534567812345678
eWAYCardExpiryMonth The card expiry month. 04
eWAYCardExpiryYear The card expiry year. 03
eWAYTrxnNumber An optional transaction reference, pass N/A if not used. N/A
eWAYTrxnOption1 An optional parameter,
pass N/A if not used.
N/A
eWAYTrxnOption2 An optional parameter,
pass N/A if not used
N/A
eWAYTrxnOption3 An optional parameter,
pass N/A if not used.
N/A
Bookmark and Share