Class RegisterCustomerRequest
Properties
| NAME | TYPE | LENGTH | REQUIRED | DESCRIPTION |
|---|---|---|---|---|
| storeId | long | Y | Unique user ID generated by EPS. (See - Required Data Elements) | |
| storeKey | string | Y | Unique password generated by EPS. (See - Required Data Elements) | |
| entityId | int | Y | Unique identifier that is generated by EPS. (See - Required Data Elements) | |
| WSCustomer | WSCustomer |
WSCustomer
| NAME | TYPE | LENGTH | REQUIRED | DESCRIPTION |
|---|---|---|---|---|
| EntityId | int | Y | Unique identifier that is generated by EPS. (See - Required Data Elements) | |
| IsCompany | bool | Y | Identifies a customer as an individual or business. (See - Optional Data Elements) | |
| CustomerNumber | string | 50 | Unique identifier to be assigned to each registered customer. (See - System Required/User Optional Data Elements) | |
| Field1 | string | 50 | Optional information associated with a customer. Data is stored with the customer. Indexed field. | |
| Field2 | string | 50 | Optional information associated with a customer. | |
| Field3 | string | 50 | Optional information associated with a customer. | |
| FirstName | string | 30 | This is the first name of an Individual customer (IsCompany = False). The element can be left blank if this is a business customer (IsCompany = True). | |
| LastName | string | 60 | Y | This is either the last name of an individual customer or the company name on a business account. This element cannot be null. |
| string | 60 | Customer’s email address. | ||
| OtherEmail | string | 120 | Any additional email addresses associated with this customer. | |
| Address1 | string | 50 | Customer’s home or business address. | |
| Address2 | string | 50 | Additional home or business address information. | |
| City | string | 40 | The city where this address is located. | |
| StateRegion | string | 40 | The state where this address is located. | |
| PostalCode | string | 10 | The zip or postal code of this address. | |
| Country | string | 40 | The country where this address is located. | |
| EveningPhone | string | 14 | A phone number where the customer can be reached in the evening. | |
| EveningExt | string | 6 | The extension needed to reach the customer in the evening, if applicable. | |
| DaytimePhone | string | 14 | The phone number where the customer can be reached during the day. | |
| DaytimeExt | string | 6 | The extension needed to reach the customer during the day, if applicable. | |
| Fax | string | 20 | A fax number associated with this customer, if available. | |
| SSN | string | 15 | The customer’s Social Security Number. | |
| DLState | string | 2 | The state associated with the customer’s driver’s license. | |
| DLNumber | string | 30 | The customer’s driver’s license number. |
Examples
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pv="https://ssl.selectpayment.com/PV">
<soapenv:Header>
<pv:SecurityHeader>
<pv:BinarySecurityToken>your security token here</pv:BinarySecurityToken>
</pv:SecurityHeader>
</soapenv:Header>
<soapenv:Body>
<pv:RegisterCustomer>
<pv:storeId>0</pv:storeId>
<pv:storeKey isNull="true" />
<pv:entityId>12345</pv:entityId>
<pv:customer>
<pv:EntityId>12345</pv:EntityId>
<pv:IsCompany>1</pv:IsCompany>
<pv:CustomerNumber>1245</pv:CustomerNumber>
<pv:Field1> </pv:Field1>
<pv:Field2> </pv:Field2>
<pv:Field3> </pv:Field3>
<pv:FirstName> </pv:FirstName>
<pv:LastName>Sam’s Cigars</pv:LastName>
<pv:Email>sam@samscigars.com</pv:Email>
<pv:OtherEmail> </pv:OtherEmail>
<pv:Address1>2 Smoking Place</pv:Address1>
<pv:Address2>s</pv:Address2>
<pv:City>Dallas</pv:City>
<pv:StateRegion>TX</pv:StateRegion>
<pv:PostalCode>12345</pv:PostalCode>
<pv:Country>USA</pv:Country>
<pv:EveningPhone>123-123-1234</pv:EveningPhone>
<pv:EveningExt></pv:EveningExt>
<pv:DaytimePhone>123-234-2345</pv:DaytimePhone>
<pv:DaytimeExt></pv:DaytimeExt>
<pv:Fax></pv:Fax>
<pv:SSN></pv:SSN>
<pv:DLState>TX</pv:DLState>
<pv:DLNumber>26365987</pv:DLNumber>
</pv:customer>
</pv:RegisterCustomer>
</soapenv:Body>
</soapenv:Envelope>