Skip to main content

Class AuthorizeTransactionWithCustomerRequest


Properties

NAMETYPELENGTHREQUIREDDESCRIPTION
storeIdlongYUnique user ID generated by EPS. (See - Required Data Elements)
storeKeystringYUnique password generated by EPS. (See - Required Data Elements)
WSCustomerWSCustomer
createCustomerIfDoesNotExistsBoolShould a customer be created?

Valid values are:
  • 1 - Yes
  • 0 - No
updateCustomerIfExistsboolShould the customer information be updated if it already exists?

Valid values are:
  • 1 – Yes (CustomerNumber required)
  • 0 - No
WSTransactionWSTransaction
ownerApplicationenum of type WSOwnerApplicationValid Value is:
holdDaystinyInt1This is an optional element which defines the hold days at the transaction level. This element is not applicable to IRD transactions.

Possible values are
  • 0-7
  • Default to 255/Null.


Note: This element cannot be Empty or Blank. User must provide 255 or Null if they don’t want hold days at transaction. Additional Permission is required to apply holdDays.
bypassSmartDetectboolThis is an optional element which will bypass the SmartDetect Service.

Possible values are:
  • 0 = False; 1 = True and Null
  • Default to False


Note: This element cannot be empty or blank. If you are not using the SmartDetect service, you must provide a value of False or Null. If you are using the SmartDetect service but do not wish to bypass SmartDetect for a given transaction, you must also provide a value of False or Null.

WSCustomer

NAMETYPELENGTHREQUIREDDESCRIPTION
EntityIdintYUnique identifier that is generated by EPS. (See - Required Data Elements)
IsCompanyboolYIdentifies a customer as an individual or business. (See - Optional Data Elements)
CustomerNumberstring50Y*A unique identifier that references a specific customer. It is a required element whose value can be supplied by the user or left blank. If this element is included in the request and it is left blank, a system-generated value will be assigned.

It is highly recommended that users assign their own unique value to this element to facilitate any update of their customer’s information. *Required when updateCustomerIfExists is ‘Yes’.
Field1string50Optional information associated with a customer. Data is stored with the customer. Indexed field.
Field2string50Optional information associated with a customer.
Field3string50Optional information associated with a customer.
FirstNamestring30This is the first name of an Individual customer (IsCompany = False). The element can be left blank if this is a business customer (IsCompany = True).
LastNamestring60Y*This is either the last name of an individual customer or the company name on a business account. *This element is required if createCustomerIfDoesNotExists OR updateCustomerIfExists = 1.
Emailstring60Customer’s email address.
OtherEmailstring120Any additional email addresses associated with this customer.
Address1string50Customer’s home or business address.
Address2string50Additional home or business addresses information.
Citystring40The City where this address is located.
StateRegionstring40The state where this address is located.
PostalCodestring10The zip or postal code of this address.
Countrystring40The country where this address is located.
EveningPhonestring14A phone number where the customer can be reached in the evening.
EveningExtstring6The extension needed to reach the customer in the evening, if applicable.
DaytimePhonestring14The phone number where the customer can be reached during the day.
DaytimeExtstring6The extension needed to reach the customer during the day, if applicable.
Faxstring20A fax number associated with this customer, if available.
SSNstring15The customer’s Social Security Number.
DLStatestring2The state associated with the customer’s driver’s license.
DLNumberstring30The customer’s driver’s license number.

WSTransaction

NAMETYPELENGTHREQUIREDDESCRIPTION
EntityIdintYUnique identifier that is generated by EPS. (See - Required Data Elements)
LocationIdintYUnique identifier generated by EPS for each location. (See - Required Data Elements)
PaymentOriginenum of Type WSPaymentOriginIdentifies by what method the transaction was originated.(See - Optional Data Elements & PaymentOrigin Element Relationships)

Valid values are:
  • Back_Office
  • Bounced_Check
  • Drop_Box
  • Internet
  • Mailed_In
  • Represented_Check
  • Retail__POS
  • Telephone_IVR
  • Telephone_Operator
  • Signature_Faxed
  • Signature_Original
  • Corporate_Trade_Excha nge
  • If null, the default value of ‘Internet’ is assumed.
AccountTypeenum of Type WSAccountTypeY*Valid values are:
  • Checking
  • Savings
  • Treasury_Check
  • Money_Order
  • Travelers_Check
  • Convenience_Check
  • Visa
  • MasterCard
  • Discover__Novus
  • American_Express
  • Diners__Carte_Blanche
  • enRoute JCB
  • Bank_Card
  • Gift_Card
  • On_Us_Card
  • Payroll_Card
  • Cashiers_Check
  • Virtual Card
  • __None


*NOTE: Required for Credit Card transactions.(See - Optional Data Elements)

for handling of Checking or Savings accounts. If Null, and the RoutingNumber element is supplied, the default value of ‘Checking’ is used.
OperationTypeenum of Type WSOperationTypeValid values are:
SettlementTypeenum of Type WSSettlementTypeValid values are:
TransactionStatusenum of Type WSTransactionStatusDo NOT include this element in your request. The appropriate value will be set by EPS.
SettlementStatusenum of Type WSSettlementStatusDo NOT include this element in your request. The appropriate value will be set by EPS.
EffectiveDatedateTimeDate and time of the transaction. If null, the current date and time is assumed.

NOTE: This element does not require the Time to be included. (See - Optional Data Elements)
Descriptionstring50This optional element can be used to define or explain the purpose of this transaction.
TotalAmountdecimalYDollar amount of the transaction. This element cannot be zero (0) or negative.
TaxAmountdecimalNot used at this time. (See - Optional Data Elements)
ShippingAmountdecimalNot used at this time. (See - Optional Data Elements)
SalestringApplicable to Credit Card transactions only. Not used at this time. No input required.
ConvenienceFeeAmountstringApplicable to Credit Card transactions only. Fee added to the face value of the transaction.
BatchNumberstring40Supply only if a unique user-assigned batch number was created using CreateProcessingBatch and the user wants to include this transaction in that batch. If not, leave it blank or don’t include it in the request.
TerminalNumberstring20(See - Optional Data Elements)
TransactionNumberstring50YUnique user-assigned identifier of the transaction being created.
Field1string50Optional information associated with the transaction. Data is stored with the transaction. Indexed field.
Field2string50Optional information associated with the transaction.
Field3string50Optional information associated with the transaction.
CheckMICRLinestringY**Scanned MICR line of the check. (See - PaymentOrigin Element Relationships)
CheckMICRSymbolSetstringY**Identifies the symbol set used by the scanner (e.g. “TOAD ?”). (See - PaymentOrigin Element Relationships)
RoutingNumberstring9Y**Bank Routing/Transit or ABA number. (See - PaymentOrigin Element Relationships)
AccountNumberstring17Y**This element represents the customer’s account number. Checking or Savings accounts: 3-17 digits; Credit Card accounts: 16 digits or less. (See - PaymentOrigin Element Relationships)
CheckNumberstring17Y**Required if the ACH transaction PaymentOrigin is Bounced_Check or Represented_Check. (See - PaymentOrigin Element Relationships)
SwipeTrack1stringCredit Card only. Track 1 for device used for card swipe.
SwipeTrack2stringCredit Card only. Track 2 for device used for card swipe.
SwipeTrack3stringCredit Card only. Track 3 for device used for card swipe.
CardExpiresMonthbyte2Y**Required for Credit Card accounts only if SwipeTrack2 is not included. Valid values must be between 01 and 12. Element should be removed if this is a checking or savings account
CardExpiresYearshort2Y**Required for Credit Card accounts only if SwipeTrack2 is not included. Valid values must not exceed 10 years out from the current year. (I.e. for year 2011, the value cannot be greater than 2021). Element should be removed if this is a checking or savings account.
CVVNumberint4Y**Required for Credit Card accounts only. This element cannot be null or empty. If a value is not available, enter 0.
IsBusinessPaymentboolIdentifies the ACH only transaction as either drawn on a business or personal account. (See - Optional Data Elements)

Valid values are:
  • 1 (True) or 0 (False).
NameOnAccountstring50Y*Customer’s name as it appears on their card or account. *This field is required for ALL Credit Card transactions and for SettlementType Check_Image or ACH when PaymentOrigin is
  • Internet (WEB),
  • Telephone_IVR,
  • Telephone_Operator,
  • Signature_Faxed,
  • Signature_Original,
  • Retail__POS,
  • Represented_Check,
  • Bounced_Check OR Corporate_Trade_Exchange
BillingAddress1string50Street address associated with this account.
BillingAddress2string50Additional street address information associated with this account.
BillingCitystring40City associated with this account.
BillingStateRegionstring40State/Region associated with this account.
BillingPostalCodestring10Zip/Postal Code associated with this account.
BillingCountrystring40Country associated with this account.
BillingPhonestring14Telephone number associated with this account, if available.
IPAddressOfOriginatorstring15IP address of person sending request.
EmailAddressstring60Email address associated with this account, if available.
SSNstring15Social Security Number associated with this account, if available.
DLStatestring2State where the driver’s license associated with this account is registered, if available.
DLNumberstring30Driver’s license number associated with this account, if available.
NotificationMethodenum of Type WSNotificationMethodMethod by which a merchant’s customer will be notified of an ACH or Credit Card transaction.

Valid values are:
FaceFeeTypeenum of Type WSFaceFeeTypeValid values are:
  • __None
  • Face
  • Bill_Convenience_Face
  • NSF_Fee
  • Bill_Convenience_Fee
  • If set to‘__None’ or Null, the default value ‘Face’ will be used. (See - Optional Data Elements)
CheckFrontImageBytes_TiffG4BinaryY**Compressed image of the front of a scanned check. (See - PaymentOrigin Element Relationships)
CheckRearImageBytes_TiffG4BinaryCompressed image of the back of a scanned check.
OptionalThirdImageBytes_TiffG4BinaryEncoded image of the check.
OptionalThirdImageDescriptionstring50Description of the optional third scanned document image
PresentmentNumberintY*The value in this element indicates which representment of the item this is.

*Required for RCK (Bounced_Check or Represented_Check)

Optional for ARC, BOC, POP, PPD & TEL represented Face and NSF-Fee transactions.

Valid values are:
  • 1 – First Representment.
  • 2 – Second Representment.


Do not include this element if the item is the original transaction.(See - Optional Data Elements)
companyEntryDescriptionstring10Requested ACH Company Entry Description to use for the transaction in the ACH Batch Header.

Note: Provided ACH Company Entry Description value may be overwritten with a system value where required.

Examples

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pv="https://ssl.selectpayment.com/PV">
<soapenv:Header/>
<soapenv:Body>
<pv:AuthorizeTransactionWithCustomer>
<pv:storeId>123456</pv:storeId>
<pv:storeKey>3z9em9oxqwX3acsaqc6H0ck8D3Yj</pv:storeKey>
<pv:customer>
<pv:EntityId>12345</pv:EntityId>
<pv:IsCompany>1</pv:IsCompany>
<pv:CustomerNumber>102030</pv:CustomerNumber>
<pv:Field1></pv:Field1>
<pv:Field2></pv:Field2>
<pv:Field3></pv:Field3>
<pv:FirstName></pv:FirstName>
<pv:LastName>Global Transportation</pv:LastName>
<pv:Email></pv:Email>
<pv:OtherEmail></pv:OtherEmail>
<pv:Address1>1231 Lakeview Hwy</pv:Address1>
<pv:Address2></pv:Address2>
<pv:City>Miami</pv:City>
<pv:StateRegion>FL</pv:StateRegion>
<pv:PostalCode>60332</pv:PostalCode>
<pv:Country>USA</pv:Country>
<pv:EveningPhone></pv:EveningPhone>
<pv:EveningExt></pv:EveningExt>
<pv:DaytimePhone></pv:DaytimePhone>
<pv:DaytimeExt></pv:DaytimeExt>
<pv:Fax></pv:Fax>
<pv:SSN></pv:SSN>
<pv:DLState></pv:DLState>
<pv:DLNumber></pv:DLNumber>
</pv:customer>
<pv:createCustomerIfDoesNotExists>1</pv:createCustomerIfDoesNotExists>
<pv:updateCustomerIfExists>0</pv:updateCustomerIfExists>
<pv:transaction>
<pv:EntityId>12345</pv:EntityId>
<pv:LocationId>102030</pv:LocationId>
<pv:PaymentOrigin>Signature_Original</pv:PaymentOrigin>
<pv:AccountType>Checking</pv:AccountType>
<pv:OperationType>Sale</pv:OperationType>
<pv:SettlementType>ACH</pv:SettlementType>
<pv:EffectiveDate>2011-02-17</pv:EffectiveDate>
<pv:Description></pv:Description>
<pv:TotalAmount>117.22</pv:TotalAmount>
<pv:Sale></pv:Sale>
<pv:ConvenienceFeeAmount></pv:ConvenienceFeeAmount>
<pv:BatchNumber></pv:BatchNumber>
<pv:TerminalNumber>__WebService</pv:TerminalNumber>
<pv:TransactionNumber>3213</pv:TransactionNumber>
<pv:Field1>Bldg. 10203</pv:Field1>
<pv:Field2>Unit 5C</pv:Field2>
<pv:Field3></pv:Field3>
<pv:CheckMICRLine></pv:CheckMICRLine>
<pv:CheckMICRSymbolSet></pv:CheckMICRSymbolSet>
<pv:RoutingNumber>123456789</pv:RoutingNumber>
<pv:AccountNumber>12345678901</pv:AccountNumber>
<pv:CheckNumber></pv:CheckNumber> <!--Optional:-->
<pv:SwipeTrack1>1254</pv:SwipeTrack1>
<pv:SwipeTrack2></pv:SwipeTrack2>
<pv:SwipeTrack3></pv:SwipeTrack3>
<pv:IsBusinessPayment>1</pv:IsBusinessPayment>
<pv:NameOnAccount>Global Transportation</pv:NameOnAccount>
<pv:BillingAddress1></pv:BillingAddress1>
<pv:BillingAddress2></pv:BillingAddress2>
<pv:BillingCity></pv:BillingCity>
<pv:BillingStateRegion></pv:BillingStateRegion>
<pv:BillingPostalCode></pv:BillingPostalCode>
<pv:BillingCountry></pv:BillingCountry>
<pv:BillingPhone></pv:BillingPhone>
<pv:IpAddressOfOriginator></pv:IpAddressOfOriginator>
<pv:EmailAddress></pv:EmailAddress>
<pv:SSN></pv:SSN>
<pv:DLState></pv:DLState>
<pv:DLNumber></pv:DLNumber>
<pv:CheckFrontImageBytes_TiffG4></pv:CheckFrontImageBytes_TiffG4>
<pv:CheckRearImageBytes_TiffG4></pv:CheckRearImageBytes_TiffG4>
<pv:OptionalThirdImageBytes_TiffG4></pv:OptionalThirdImageBytes_TiffG4>
<pv:OptionalThirdImageDescription></pv:OptionalThirdImageDescription>
<pv:companyEntryDescription>PURCHASE</pv:companyEntryDescription>
</pv:transaction>
</pv:AuthorizeTransactionWithCustomer>
</soapenv:Body>
</soapenv:Envelope>