RegisterAccount
- Method
- Example Request
- Example Response
RegisterAccount(RegisterAccountRequest)
This operation is used to set up an account to be associated with a specific customer. Multiple accounts and account types can be associated with a single customer.
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| RegisterAccountRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| RegisterAccountResponse |
<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:RegisterAccount>
<pv:storeId>0</pv:storeId>
<pv:storeKey isNull="true" />
<pv:entityId>12345</pv:entityId>
<pv:account>
<pv:CustomerNumber>1245</pv:CustomerNumber>
<pv:AccountType>Checking </pv:AccountType>
<pv:NameOnAccount>Sam Shultz</pv:NameOnAccount>
<pv:AccountName>Sam’s Cigars</pv:AccountName>
<pv:AccountNumber>123445567</pv:AccountNumber>
<pv:RoutingNumber>111222233</pv:RoutingNumber>
<pv:BillAddress1>2 Smoking Place </pv:BillAddress1>
<pv:BillAddress2> </pv:BillAddress2>
<pv:BillCity>Dallas </pv:BillCity>
<pv:BillStateRegion>TX</pv:BillStateRegion>
<pv:BillPostalCode>12345</pv:BillPostalCode>
<pv:BillCountry>USA</pv:BillCountry>
<pv:AccountReferenceID>101</pv:AccountReferenceID>
<pv:bypassSmartDetect>False</pv:bypassSmartDetect>
</pv:account>
</pv:RegisterAccount>
</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>
<RegisterAccountResponse xmlns="https://ssl.selectpayment.com/PV">
<RegisterAccountResult>
<returnValue>Success</returnValue>
<message>Operation successful</message>
</RegisterAccountResult>
</RegisterAccountResponse>
</soap:Body>
</soap:Envelope>