TransactionServices
Click here for a complete list of operations.
DoPaymentResponseValidate
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /TransactionServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://semnox.com/DoPaymentResponseValidate" <?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> <DoPaymentResponseValidate xmlns="http://semnox.com/"> <gatewayResponse>string</gatewayResponse> <paymentGatewayName>string</paymentGatewayName> </DoPaymentResponseValidate> </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> <DoPaymentResponseValidateResponse xmlns="http://semnox.com/"> <DoPaymentResponseValidateResult> <TransactionPaymentsDTO> <gatewayPaymentProcessed>boolean</gatewayPaymentProcessed> <paymentModeDTO> <PaymentModeId>int</PaymentModeId> <PaymentMode>string</PaymentMode> <IsCreditCard>boolean</IsCreditCard> <CreditCardSurchargePercentage>decimal</CreditCardSurchargePercentage> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <IsCash>boolean</IsCash> <IsDebitCard>boolean</IsDebitCard> <Gateway>int</Gateway> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <ManagerApprovalRequired>boolean</ManagerApprovalRequired> <IsRoundOff>boolean</IsRoundOff> <POSAvailable>boolean</POSAvailable> <DisplayOrder>int</DisplayOrder> <MasterEntityId>int</MasterEntityId> <ImageFileName>string</ImageFileName> <PaymentGateway xsi:nil="true" /> <IsQRCode>char</IsQRCode> <PaymentReferenceMandatory>boolean</PaymentReferenceMandatory> <IsActive>boolean</IsActive> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <DiscountCouponsDTOList xsi:nil="true" /> <PaymentModeChannelsDTOList xsi:nil="true" /> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <OTPValidation>boolean</OTPValidation> <IsChanged>boolean</IsChanged> </paymentModeDTO> <PaymentId>int</PaymentId> <TransactionId>int</TransactionId> <PaymentModeId>int</PaymentModeId> <Amount>double</Amount> <CreditCardNumber>string</CreditCardNumber> <NameOnCreditCard>string</NameOnCreditCard> <CreditCardName>string</CreditCardName> <CreditCardExpiry>string</CreditCardExpiry> <CreditCardAuthorization>string</CreditCardAuthorization> <CardId>int</CardId> <CardEntitlementType>string</CardEntitlementType> <CardCreditPlusId>int</CardCreditPlusId> <PaymentUsedCreditPlus>double</PaymentUsedCreditPlus> <OrderId>int</OrderId> <CouponSetId>int</CouponSetId> <PaymentCardNumber>string</PaymentCardNumber> <Reference>string</Reference> <Guid>string</Guid> <SiteId>int</SiteId> <CCResponseId>int</CCResponseId> <Memo>string</Memo> <LastUpdateDate>dateTime</LastUpdateDate> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <LastUpdatedUser>string</LastUpdatedUser> <ParentPaymentId>int</ParentPaymentId> <TenderedAmount>double</TenderedAmount> <TipAmount>double</TipAmount> <SplitId>int</SplitId> <PosMachine>string</PosMachine> <MasterEntityId>int</MasterEntityId> <CurrencyCode>string</CurrencyCode> <CurrencyRate>double</CurrencyRate> <IsTaxable>boolean</IsTaxable> <CouponValue>double</CouponValue> <ApprovedBy>string</ApprovedBy> <MCC>string</MCC> <GatewayPaymentProcessed>boolean</GatewayPaymentProcessed> <SubscriptionAuthorizationMode>N or I or P</SubscriptionAuthorizationMode> <CustomerCardProfileId>string</CustomerCardProfileId> <ExternalSourceReference>string</ExternalSourceReference> <PaymentModeOTP>string</PaymentModeOTP> <IsChanged>boolean</IsChanged> </TransactionPaymentsDTO> <CCTransactionsPGWDTO> <ResponseID>int</ResponseID> <InvoiceNo>string</InvoiceNo> <TokenID>string</TokenID> <RecordNo>string</RecordNo> <DSIXReturnCode>string</DSIXReturnCode> <StatusID>int</StatusID> <TextResponse>string</TextResponse> <AcctNo>string</AcctNo> <CardType>string</CardType> <TranCode>string</TranCode> <RefNo>string</RefNo> <Purchase>string</Purchase> <Authorize>string</Authorize> <TransactionDatetime>dateTime</TransactionDatetime> <AuthCode>string</AuthCode> <ProcessData>string</ProcessData> <ResponseOrigin>string</ResponseOrigin> <UserTraceData>string</UserTraceData> <CaptureStatus>string</CaptureStatus> <AcqRefData>string</AcqRefData> <Guid>string</Guid> <SiteId>int</SiteId> <TipAmount>string</TipAmount> <MasterEntityId>int</MasterEntityId> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <CustomerCopy>string</CustomerCopy> <MerchantCopy>string</MerchantCopy> <CustomerCardProfileId>string</CustomerCardProfileId> <IsChanged>boolean</IsChanged> </CCTransactionsPGWDTO> <PaymentStatus>NONE or SUCCESS or FAILED or CANCELLED or ERROR or PRE_AUTH</PaymentStatus> <PaymentStatusMessage>string</PaymentStatusMessage> <MerchantId>string</MerchantId> <ClientId>string</ClientId> <APIKey>string</APIKey> <RequestURL>string</RequestURL> <SuccessURL>string</SuccessURL> <CallBackURL>string</CallBackURL> <FailureURL>string</FailureURL> <CancelURL>string</CancelURL> <PublicKey>string</PublicKey> <PrivateKey>string</PrivateKey> <GatewayRequestString>string</GatewayRequestString> <GatewayRequestStringContentType>string</GatewayRequestStringContentType> <GatewayRequestFormString>string</GatewayRequestFormString> <GatewayResponseString>string</GatewayResponseString> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <PaymentProcessStatus>PAYMENT_INITIATED or PAYMENT_PROCESSING or THREE_DS_INITIATED or THREE_DS_PROCESSED or PAYMENT_COMPLETED or PAYMENT_FAILED or PAYMENT_CANCELLED</PaymentProcessStatus> </DoPaymentResponseValidateResult> </DoPaymentResponseValidateResponse> </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 /TransactionServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.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> <DoPaymentResponseValidate xmlns="http://semnox.com/"> <gatewayResponse>string</gatewayResponse> <paymentGatewayName>string</paymentGatewayName> </DoPaymentResponseValidate> </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> <DoPaymentResponseValidateResponse xmlns="http://semnox.com/"> <DoPaymentResponseValidateResult> <TransactionPaymentsDTO> <gatewayPaymentProcessed>boolean</gatewayPaymentProcessed> <paymentModeDTO> <PaymentModeId>int</PaymentModeId> <PaymentMode>string</PaymentMode> <IsCreditCard>boolean</IsCreditCard> <CreditCardSurchargePercentage>decimal</CreditCardSurchargePercentage> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <IsCash>boolean</IsCash> <IsDebitCard>boolean</IsDebitCard> <Gateway>int</Gateway> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <ManagerApprovalRequired>boolean</ManagerApprovalRequired> <IsRoundOff>boolean</IsRoundOff> <POSAvailable>boolean</POSAvailable> <DisplayOrder>int</DisplayOrder> <MasterEntityId>int</MasterEntityId> <ImageFileName>string</ImageFileName> <PaymentGateway xsi:nil="true" /> <IsQRCode>char</IsQRCode> <PaymentReferenceMandatory>boolean</PaymentReferenceMandatory> <IsActive>boolean</IsActive> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <DiscountCouponsDTOList xsi:nil="true" /> <PaymentModeChannelsDTOList xsi:nil="true" /> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <OTPValidation>boolean</OTPValidation> <IsChanged>boolean</IsChanged> </paymentModeDTO> <PaymentId>int</PaymentId> <TransactionId>int</TransactionId> <PaymentModeId>int</PaymentModeId> <Amount>double</Amount> <CreditCardNumber>string</CreditCardNumber> <NameOnCreditCard>string</NameOnCreditCard> <CreditCardName>string</CreditCardName> <CreditCardExpiry>string</CreditCardExpiry> <CreditCardAuthorization>string</CreditCardAuthorization> <CardId>int</CardId> <CardEntitlementType>string</CardEntitlementType> <CardCreditPlusId>int</CardCreditPlusId> <PaymentUsedCreditPlus>double</PaymentUsedCreditPlus> <OrderId>int</OrderId> <CouponSetId>int</CouponSetId> <PaymentCardNumber>string</PaymentCardNumber> <Reference>string</Reference> <Guid>string</Guid> <SiteId>int</SiteId> <CCResponseId>int</CCResponseId> <Memo>string</Memo> <LastUpdateDate>dateTime</LastUpdateDate> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <LastUpdatedUser>string</LastUpdatedUser> <ParentPaymentId>int</ParentPaymentId> <TenderedAmount>double</TenderedAmount> <TipAmount>double</TipAmount> <SplitId>int</SplitId> <PosMachine>string</PosMachine> <MasterEntityId>int</MasterEntityId> <CurrencyCode>string</CurrencyCode> <CurrencyRate>double</CurrencyRate> <IsTaxable>boolean</IsTaxable> <CouponValue>double</CouponValue> <ApprovedBy>string</ApprovedBy> <MCC>string</MCC> <GatewayPaymentProcessed>boolean</GatewayPaymentProcessed> <SubscriptionAuthorizationMode>N or I or P</SubscriptionAuthorizationMode> <CustomerCardProfileId>string</CustomerCardProfileId> <ExternalSourceReference>string</ExternalSourceReference> <PaymentModeOTP>string</PaymentModeOTP> <IsChanged>boolean</IsChanged> </TransactionPaymentsDTO> <CCTransactionsPGWDTO> <ResponseID>int</ResponseID> <InvoiceNo>string</InvoiceNo> <TokenID>string</TokenID> <RecordNo>string</RecordNo> <DSIXReturnCode>string</DSIXReturnCode> <StatusID>int</StatusID> <TextResponse>string</TextResponse> <AcctNo>string</AcctNo> <CardType>string</CardType> <TranCode>string</TranCode> <RefNo>string</RefNo> <Purchase>string</Purchase> <Authorize>string</Authorize> <TransactionDatetime>dateTime</TransactionDatetime> <AuthCode>string</AuthCode> <ProcessData>string</ProcessData> <ResponseOrigin>string</ResponseOrigin> <UserTraceData>string</UserTraceData> <CaptureStatus>string</CaptureStatus> <AcqRefData>string</AcqRefData> <Guid>string</Guid> <SiteId>int</SiteId> <TipAmount>string</TipAmount> <MasterEntityId>int</MasterEntityId> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <CustomerCopy>string</CustomerCopy> <MerchantCopy>string</MerchantCopy> <CustomerCardProfileId>string</CustomerCardProfileId> <IsChanged>boolean</IsChanged> </CCTransactionsPGWDTO> <PaymentStatus>NONE or SUCCESS or FAILED or CANCELLED or ERROR or PRE_AUTH</PaymentStatus> <PaymentStatusMessage>string</PaymentStatusMessage> <MerchantId>string</MerchantId> <ClientId>string</ClientId> <APIKey>string</APIKey> <RequestURL>string</RequestURL> <SuccessURL>string</SuccessURL> <CallBackURL>string</CallBackURL> <FailureURL>string</FailureURL> <CancelURL>string</CancelURL> <PublicKey>string</PublicKey> <PrivateKey>string</PrivateKey> <GatewayRequestString>string</GatewayRequestString> <GatewayRequestStringContentType>string</GatewayRequestStringContentType> <GatewayRequestFormString>string</GatewayRequestFormString> <GatewayResponseString>string</GatewayResponseString> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <PaymentProcessStatus>PAYMENT_INITIATED or PAYMENT_PROCESSING or THREE_DS_INITIATED or THREE_DS_PROCESSED or PAYMENT_COMPLETED or PAYMENT_FAILED or PAYMENT_CANCELLED</PaymentProcessStatus> </DoPaymentResponseValidateResult> </DoPaymentResponseValidateResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /TransactionServices.asmx/DoPaymentResponseValidate?gatewayResponse=string&paymentGatewayName=string HTTP/1.1 Host: onlinesubscription.adventureparkusa.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <HostedGatewayDTO xmlns="http://semnox.com/"> <TransactionPaymentsDTO> <gatewayPaymentProcessed>boolean</gatewayPaymentProcessed> <paymentModeDTO> <PaymentModeId>int</PaymentModeId> <PaymentMode>string</PaymentMode> <IsCreditCard>boolean</IsCreditCard> <CreditCardSurchargePercentage>decimal</CreditCardSurchargePercentage> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <IsCash>boolean</IsCash> <IsDebitCard>boolean</IsDebitCard> <Gateway>int</Gateway> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <ManagerApprovalRequired>boolean</ManagerApprovalRequired> <IsRoundOff>boolean</IsRoundOff> <POSAvailable>boolean</POSAvailable> <DisplayOrder>int</DisplayOrder> <MasterEntityId>int</MasterEntityId> <ImageFileName>string</ImageFileName> <PaymentGateway> <LookupValueId>int</LookupValueId> <LookupId>int</LookupId> <LookupName>string</LookupName> <LookupValue>string</LookupValue> <Description>string</Description> <Guid>string</Guid> <SiteId>int</SiteId> <SynchStatus>boolean</SynchStatus> <MasterEntityId>int</MasterEntityId> <IsActive>boolean</IsActive> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <IsChanged>boolean</IsChanged> </PaymentGateway> <IsQRCode>char</IsQRCode> <PaymentReferenceMandatory>boolean</PaymentReferenceMandatory> <IsActive>boolean</IsActive> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <DiscountCouponsDTOList> <DiscountCouponsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <DiscountCouponsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </DiscountCouponsDTOList> <PaymentModeChannelsDTOList> <PaymentModeChannelsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <PaymentModeChannelsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </PaymentModeChannelsDTOList> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <OTPValidation>boolean</OTPValidation> <IsChanged>boolean</IsChanged> </paymentModeDTO> <PaymentId>int</PaymentId> <TransactionId>int</TransactionId> <PaymentModeId>int</PaymentModeId> <Amount>double</Amount> <CreditCardNumber>string</CreditCardNumber> <NameOnCreditCard>string</NameOnCreditCard> <CreditCardName>string</CreditCardName> <CreditCardExpiry>string</CreditCardExpiry> <CreditCardAuthorization>string</CreditCardAuthorization> <CardId>int</CardId> <CardEntitlementType>string</CardEntitlementType> <CardCreditPlusId>int</CardCreditPlusId> <PaymentUsedCreditPlus>double</PaymentUsedCreditPlus> <OrderId>int</OrderId> <CouponSetId>int</CouponSetId> <PaymentCardNumber>string</PaymentCardNumber> <Reference>string</Reference> <Guid>string</Guid> <SiteId>int</SiteId> <CCResponseId>int</CCResponseId> <Memo>string</Memo> <LastUpdateDate>dateTime</LastUpdateDate> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <LastUpdatedUser>string</LastUpdatedUser> <ParentPaymentId>int</ParentPaymentId> <TenderedAmount>double</TenderedAmount> <TipAmount>double</TipAmount> <SplitId>int</SplitId> <PosMachine>string</PosMachine> <MasterEntityId>int</MasterEntityId> <CurrencyCode>string</CurrencyCode> <CurrencyRate>double</CurrencyRate> <IsTaxable>boolean</IsTaxable> <CouponValue>double</CouponValue> <ApprovedBy>string</ApprovedBy> <MCC>string</MCC> <GatewayPaymentProcessed>boolean</GatewayPaymentProcessed> <SubscriptionAuthorizationMode>N or I or P</SubscriptionAuthorizationMode> <CustomerCardProfileId>string</CustomerCardProfileId> <ExternalSourceReference>string</ExternalSourceReference> <PaymentModeOTP>string</PaymentModeOTP> <IsChanged>boolean</IsChanged> </TransactionPaymentsDTO> <CCTransactionsPGWDTO> <ResponseID>int</ResponseID> <InvoiceNo>string</InvoiceNo> <TokenID>string</TokenID> <RecordNo>string</RecordNo> <DSIXReturnCode>string</DSIXReturnCode> <StatusID>int</StatusID> <TextResponse>string</TextResponse> <AcctNo>string</AcctNo> <CardType>string</CardType> <TranCode>string</TranCode> <RefNo>string</RefNo> <Purchase>string</Purchase> <Authorize>string</Authorize> <TransactionDatetime>dateTime</TransactionDatetime> <AuthCode>string</AuthCode> <ProcessData>string</ProcessData> <ResponseOrigin>string</ResponseOrigin> <UserTraceData>string</UserTraceData> <CaptureStatus>string</CaptureStatus> <AcqRefData>string</AcqRefData> <Guid>string</Guid> <SiteId>int</SiteId> <TipAmount>string</TipAmount> <MasterEntityId>int</MasterEntityId> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <CustomerCopy>string</CustomerCopy> <MerchantCopy>string</MerchantCopy> <CustomerCardProfileId>string</CustomerCardProfileId> <IsChanged>boolean</IsChanged> </CCTransactionsPGWDTO> <PaymentStatus>NONE or SUCCESS or FAILED or CANCELLED or ERROR or PRE_AUTH</PaymentStatus> <PaymentStatusMessage>string</PaymentStatusMessage> <MerchantId>string</MerchantId> <ClientId>string</ClientId> <APIKey>string</APIKey> <RequestURL>string</RequestURL> <SuccessURL>string</SuccessURL> <CallBackURL>string</CallBackURL> <FailureURL>string</FailureURL> <CancelURL>string</CancelURL> <PublicKey>string</PublicKey> <PrivateKey>string</PrivateKey> <GatewayRequestString>string</GatewayRequestString> <GatewayRequestStringContentType>string</GatewayRequestStringContentType> <GatewayRequestFormString>string</GatewayRequestFormString> <GatewayResponseString>string</GatewayResponseString> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <PaymentProcessStatus>PAYMENT_INITIATED or PAYMENT_PROCESSING or THREE_DS_INITIATED or THREE_DS_PROCESSED or PAYMENT_COMPLETED or PAYMENT_FAILED or PAYMENT_CANCELLED</PaymentProcessStatus> </HostedGatewayDTO>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /TransactionServices.asmx/DoPaymentResponseValidate HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: application/x-www-form-urlencoded Content-Length: length gatewayResponse=string&paymentGatewayName=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <HostedGatewayDTO xmlns="http://semnox.com/"> <TransactionPaymentsDTO> <gatewayPaymentProcessed>boolean</gatewayPaymentProcessed> <paymentModeDTO> <PaymentModeId>int</PaymentModeId> <PaymentMode>string</PaymentMode> <IsCreditCard>boolean</IsCreditCard> <CreditCardSurchargePercentage>decimal</CreditCardSurchargePercentage> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Site_id>int</Site_id> <IsCash>boolean</IsCash> <IsDebitCard>boolean</IsDebitCard> <Gateway>int</Gateway> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <ManagerApprovalRequired>boolean</ManagerApprovalRequired> <IsRoundOff>boolean</IsRoundOff> <POSAvailable>boolean</POSAvailable> <DisplayOrder>int</DisplayOrder> <MasterEntityId>int</MasterEntityId> <ImageFileName>string</ImageFileName> <PaymentGateway> <LookupValueId>int</LookupValueId> <LookupId>int</LookupId> <LookupName>string</LookupName> <LookupValue>string</LookupValue> <Description>string</Description> <Guid>string</Guid> <SiteId>int</SiteId> <SynchStatus>boolean</SynchStatus> <MasterEntityId>int</MasterEntityId> <IsActive>boolean</IsActive> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <IsChanged>boolean</IsChanged> </PaymentGateway> <IsQRCode>char</IsQRCode> <PaymentReferenceMandatory>boolean</PaymentReferenceMandatory> <IsActive>boolean</IsActive> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <DiscountCouponsDTOList> <DiscountCouponsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <DiscountCouponsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </DiscountCouponsDTOList> <PaymentModeChannelsDTOList> <PaymentModeChannelsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <PaymentModeChannelsDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </PaymentModeChannelsDTOList> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <OTPValidation>boolean</OTPValidation> <IsChanged>boolean</IsChanged> </paymentModeDTO> <PaymentId>int</PaymentId> <TransactionId>int</TransactionId> <PaymentModeId>int</PaymentModeId> <Amount>double</Amount> <CreditCardNumber>string</CreditCardNumber> <NameOnCreditCard>string</NameOnCreditCard> <CreditCardName>string</CreditCardName> <CreditCardExpiry>string</CreditCardExpiry> <CreditCardAuthorization>string</CreditCardAuthorization> <CardId>int</CardId> <CardEntitlementType>string</CardEntitlementType> <CardCreditPlusId>int</CardCreditPlusId> <PaymentUsedCreditPlus>double</PaymentUsedCreditPlus> <OrderId>int</OrderId> <CouponSetId>int</CouponSetId> <PaymentCardNumber>string</PaymentCardNumber> <Reference>string</Reference> <Guid>string</Guid> <SiteId>int</SiteId> <CCResponseId>int</CCResponseId> <Memo>string</Memo> <LastUpdateDate>dateTime</LastUpdateDate> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <LastUpdatedUser>string</LastUpdatedUser> <ParentPaymentId>int</ParentPaymentId> <TenderedAmount>double</TenderedAmount> <TipAmount>double</TipAmount> <SplitId>int</SplitId> <PosMachine>string</PosMachine> <MasterEntityId>int</MasterEntityId> <CurrencyCode>string</CurrencyCode> <CurrencyRate>double</CurrencyRate> <IsTaxable>boolean</IsTaxable> <CouponValue>double</CouponValue> <ApprovedBy>string</ApprovedBy> <MCC>string</MCC> <GatewayPaymentProcessed>boolean</GatewayPaymentProcessed> <SubscriptionAuthorizationMode>N or I or P</SubscriptionAuthorizationMode> <CustomerCardProfileId>string</CustomerCardProfileId> <ExternalSourceReference>string</ExternalSourceReference> <PaymentModeOTP>string</PaymentModeOTP> <IsChanged>boolean</IsChanged> </TransactionPaymentsDTO> <CCTransactionsPGWDTO> <ResponseID>int</ResponseID> <InvoiceNo>string</InvoiceNo> <TokenID>string</TokenID> <RecordNo>string</RecordNo> <DSIXReturnCode>string</DSIXReturnCode> <StatusID>int</StatusID> <TextResponse>string</TextResponse> <AcctNo>string</AcctNo> <CardType>string</CardType> <TranCode>string</TranCode> <RefNo>string</RefNo> <Purchase>string</Purchase> <Authorize>string</Authorize> <TransactionDatetime>dateTime</TransactionDatetime> <AuthCode>string</AuthCode> <ProcessData>string</ProcessData> <ResponseOrigin>string</ResponseOrigin> <UserTraceData>string</UserTraceData> <CaptureStatus>string</CaptureStatus> <AcqRefData>string</AcqRefData> <Guid>string</Guid> <SiteId>int</SiteId> <TipAmount>string</TipAmount> <MasterEntityId>int</MasterEntityId> <CreatedBy>string</CreatedBy> <CreationDate>dateTime</CreationDate> <LastUpdatedBy>string</LastUpdatedBy> <LastUpdateDate>dateTime</LastUpdateDate> <CustomerCopy>string</CustomerCopy> <MerchantCopy>string</MerchantCopy> <CustomerCardProfileId>string</CustomerCardProfileId> <IsChanged>boolean</IsChanged> </CCTransactionsPGWDTO> <PaymentStatus>NONE or SUCCESS or FAILED or CANCELLED or ERROR or PRE_AUTH</PaymentStatus> <PaymentStatusMessage>string</PaymentStatusMessage> <MerchantId>string</MerchantId> <ClientId>string</ClientId> <APIKey>string</APIKey> <RequestURL>string</RequestURL> <SuccessURL>string</SuccessURL> <CallBackURL>string</CallBackURL> <FailureURL>string</FailureURL> <CancelURL>string</CancelURL> <PublicKey>string</PublicKey> <PrivateKey>string</PrivateKey> <GatewayRequestString>string</GatewayRequestString> <GatewayRequestStringContentType>string</GatewayRequestStringContentType> <GatewayRequestFormString>string</GatewayRequestFormString> <GatewayResponseString>string</GatewayResponseString> <GatewayLookUp>None or TYRO or PCEFTPOS or Mercury or ElementExpress or Quest or CreditCall or FirstData or Borica or ChinaUMS or NCR or ChinaICBC or Moneris or WeChat or CardConnect or Chase or Worldpay or Innoviti or CyberSource or TransBank or StripePayment or AEONCredit or Clover or FreedomPay or CCAvenueHostedPayment or Adyen or CorvusPayHostedPayment or AdyenHostedPayment or FirstDataPayeezyHostedPayment or WorldPayHostedPayment or PayFortHostedPayment or BamboraHostedPayment or CardConnectHostedPayment or Alipay or Ipay or EcommpayHostedPayment or Mada or NetEpay or ipay88HostedPayment or StripeHostedPayment or PayNimoHostedPayment or CreditCallHostedPayment or MashreqKiosk or VisaNetsHostedPayment or CyberSourceHostedPayment or WorldPayService or CloverCardConnectPaymentGateway or WPCyberSourceHostedPayment or CommonWebHostedPayment</GatewayLookUp> <PaymentProcessStatus>PAYMENT_INITIATED or PAYMENT_PROCESSING or THREE_DS_INITIATED or THREE_DS_PROCESSED or PAYMENT_COMPLETED or PAYMENT_FAILED or PAYMENT_CANCELLED</PaymentProcessStatus> </HostedGatewayDTO>