RegisterCustomer
- Method
- Example Request
- Example Response
RegisterCustomer(RegisterCustomerRequest)
This operation is used to set up a new customer. Please supply a unique Customer Number for each customer. This will enable the information to be updated or retrieved at any time.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| RegisterCustomerRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| RegisterCustomerResponse |
<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>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<RegisterCustomerResponse xmlns="https://ssl.selectpayment.com/PV">
<RegisterCustomerResult>
<returnValue>Success</returnValue>
<message>Operation successful</message>
</RegisterCustomerResult>
</RegisterCustomerResponse>
</soap:Body>
</soap:Envelope>