EppCustomer
Click here for a complete list of operations.
CreateCustomerWithPreAuth
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /EppCustomer.asmx HTTP/1.1 Host: testservices.peloton-technologies.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.peloton-technologies.com/CreateCustomerWithPreAuth" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CreateCustomerWithPreAuth xmlns="http://www.peloton-technologies.com/"> <createCustomerRequest> <ClientId>int</ClientId> <AccountName>string</AccountName> <Password>string</Password> <ApplicationName>string</ApplicationName> <CustomerId>string</CustomerId> <OrderNumber>string</OrderNumber> <CardOwner>string</CardOwner> <CardNumber>long</CardNumber> <ExpiryMonth>int</ExpiryMonth> <ExpiryYear>int</ExpiryYear> <CardVerificationDigits>int</CardVerificationDigits> <BillingName>string</BillingName> <BillingAddress1>string</BillingAddress1> <BillingAddress2>string</BillingAddress2> <BillingCity>string</BillingCity> <BillingProvinceState>string</BillingProvinceState> <BillingCountry>string</BillingCountry> <BillingPostalZipCode>string</BillingPostalZipCode> <BillingEmailAddress>string</BillingEmailAddress> <BillingPhoneNumber>string</BillingPhoneNumber> <BillingAmount>decimal</BillingAmount> <BillingIncrement>int</BillingIncrement> <BillingPeriod>string</BillingPeriod> <BillingBeginDatetime>dateTime</BillingBeginDatetime> <LanguageCode>string</LanguageCode> <Reference1>string</Reference1> <Reference2>string</Reference2> <Reference3>string</Reference3> <Reference4>string</Reference4> <Reference5>string</Reference5> </createCustomerRequest> </CreateCustomerWithPreAuth> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CreateCustomerWithPreAuthResponse xmlns="http://www.peloton-technologies.com/"> <CreateCustomerWithPreAuthResult> <Success>boolean</Success> <Message>string</Message> <MessageCode>int</MessageCode> <TransactionRefCode>string</TransactionRefCode> <CustomerId>string</CustomerId> </CreateCustomerWithPreAuthResult> </CreateCustomerWithPreAuthResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /EppCustomer.asmx HTTP/1.1 Host: testservices.peloton-technologies.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CreateCustomerWithPreAuth xmlns="http://www.peloton-technologies.com/"> <createCustomerRequest> <ClientId>int</ClientId> <AccountName>string</AccountName> <Password>string</Password> <ApplicationName>string</ApplicationName> <CustomerId>string</CustomerId> <OrderNumber>string</OrderNumber> <CardOwner>string</CardOwner> <CardNumber>long</CardNumber> <ExpiryMonth>int</ExpiryMonth> <ExpiryYear>int</ExpiryYear> <CardVerificationDigits>int</CardVerificationDigits> <BillingName>string</BillingName> <BillingAddress1>string</BillingAddress1> <BillingAddress2>string</BillingAddress2> <BillingCity>string</BillingCity> <BillingProvinceState>string</BillingProvinceState> <BillingCountry>string</BillingCountry> <BillingPostalZipCode>string</BillingPostalZipCode> <BillingEmailAddress>string</BillingEmailAddress> <BillingPhoneNumber>string</BillingPhoneNumber> <BillingAmount>decimal</BillingAmount> <BillingIncrement>int</BillingIncrement> <BillingPeriod>string</BillingPeriod> <BillingBeginDatetime>dateTime</BillingBeginDatetime> <LanguageCode>string</LanguageCode> <Reference1>string</Reference1> <Reference2>string</Reference2> <Reference3>string</Reference3> <Reference4>string</Reference4> <Reference5>string</Reference5> </createCustomerRequest> </CreateCustomerWithPreAuth> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CreateCustomerWithPreAuthResponse xmlns="http://www.peloton-technologies.com/"> <CreateCustomerWithPreAuthResult> <Success>boolean</Success> <Message>string</Message> <MessageCode>int</MessageCode> <TransactionRefCode>string</TransactionRefCode> <CustomerId>string</CustomerId> </CreateCustomerWithPreAuthResult> </CreateCustomerWithPreAuthResponse> </soap12:Body> </soap12:Envelope>