IRMPublicMethods
Click here for a complete list of operations.
MakePaymentV4
Post a payment with credit card token
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 /RDPWinCentralSvc/IRMPublic.asmx HTTP/1.1 Host: irm.resortdata.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://resortdata.com/IRMPublic/MakePaymentV4" <?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> <MakePaymentV4 xmlns="http://resortdata.com/IRMPublic"> <RQ> <Credentials> <LogonID>string</LogonID> <Password>string</Password> <DataPath>string</DataPath> <DatabaseID>string</DatabaseID> </Credentials> <RequestOptions>int</RequestOptions> <ResponseOptions>int</ResponseOptions> <GuestCredentials> <LoginType>GuestHistoryNumber_0 or GuestHistoryEmail_1 or CRMNumber_2 or CRMAlternate_3 or CRMEmail_4</LoginType> <LoginID>string</LoginID> <Password>string</Password> </GuestCredentials> <GuestLastName>string</GuestLastName> <ReservationNumber>string</ReservationNumber> <PaymentInfo> <PaymentAmount>decimal</PaymentAmount> <DepositDueDate>dateTime</DepositDueDate> <CreditCardToken>string</CreditCardToken> <CreditCardType>string</CreditCardType> <CreditCardExpiration>string</CreditCardExpiration> <CardholderName>string</CardholderName> <BillingPostalCode>string</BillingPostalCode> <Retries>int</Retries> <PaymentReferenceID>string</PaymentReferenceID> </PaymentInfo> </RQ> </MakePaymentV4> </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> <MakePaymentV4Response xmlns="http://resortdata.com/IRMPublic"> <MakePaymentV4Result> <Status>int</Status> <ErrMsg>string</ErrMsg> <Result>string</Result> <UnavailableReason>string</UnavailableReason> <ConfirmationNumber>string</ConfirmationNumber> <ResultSet> <xsd:schema>schema</xsd:schema>xml</ResultSet> </MakePaymentV4Result> </MakePaymentV4Response> </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 /RDPWinCentralSvc/IRMPublic.asmx HTTP/1.1 Host: irm.resortdata.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> <MakePaymentV4 xmlns="http://resortdata.com/IRMPublic"> <RQ> <Credentials> <LogonID>string</LogonID> <Password>string</Password> <DataPath>string</DataPath> <DatabaseID>string</DatabaseID> </Credentials> <RequestOptions>int</RequestOptions> <ResponseOptions>int</ResponseOptions> <GuestCredentials> <LoginType>GuestHistoryNumber_0 or GuestHistoryEmail_1 or CRMNumber_2 or CRMAlternate_3 or CRMEmail_4</LoginType> <LoginID>string</LoginID> <Password>string</Password> </GuestCredentials> <GuestLastName>string</GuestLastName> <ReservationNumber>string</ReservationNumber> <PaymentInfo> <PaymentAmount>decimal</PaymentAmount> <DepositDueDate>dateTime</DepositDueDate> <CreditCardToken>string</CreditCardToken> <CreditCardType>string</CreditCardType> <CreditCardExpiration>string</CreditCardExpiration> <CardholderName>string</CardholderName> <BillingPostalCode>string</BillingPostalCode> <Retries>int</Retries> <PaymentReferenceID>string</PaymentReferenceID> </PaymentInfo> </RQ> </MakePaymentV4> </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> <MakePaymentV4Response xmlns="http://resortdata.com/IRMPublic"> <MakePaymentV4Result> <Status>int</Status> <ErrMsg>string</ErrMsg> <Result>string</Result> <UnavailableReason>string</UnavailableReason> <ConfirmationNumber>string</ConfirmationNumber> <ResultSet> <xsd:schema>schema</xsd:schema>xml</ResultSet> </MakePaymentV4Result> </MakePaymentV4Response> </soap12:Body> </soap12:Envelope>