WebService
CRDOrderService.asmx
SOAP 1.1
下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/CRDOrderService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CRDOrderMethod" <?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> <CRDOrderMethod xmlns="http://tempuri.org/"> <strRqXML>string</strRqXML> </CRDOrderMethod> </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> <CRDOrderMethodResponse xmlns="http://tempuri.org/"> <CRDOrderMethodResult>string</CRDOrderMethodResult> </CRDOrderMethodResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/CRDOrderService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <CRDOrderMethod xmlns="http://tempuri.org/"> <strRqXML>string</strRqXML> </CRDOrderMethod> </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> <CRDOrderMethodResponse xmlns="http://tempuri.org/"> <CRDOrderMethodResult>string</CRDOrderMethodResult> </CRDOrderMethodResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/CRDOrderService.asmx/CRDOrderMethod HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: application/x-www-form-urlencoded Content-Length: length strRqXML=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
EPOSService.asmx
SOAP 1.1
下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/EPOSService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/RefundOrder" <?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> <RefundOrder xmlns="http://tempuri.org/"> <strRqXml>string</strRqXml> </RefundOrder> </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> <RefundOrderResponse xmlns="http://tempuri.org/"> <RefundOrderResult>string</RefundOrderResult> </RefundOrderResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/EPOSService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <RefundOrder xmlns="http://tempuri.org/"> <strRqXml>string</strRqXml> </RefundOrder> </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> <RefundOrderResponse xmlns="http://tempuri.org/"> <RefundOrderResult>string</RefundOrderResult> </RefundOrderResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/EPOSService.asmx/RefundOrder HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: application/x-www-form-urlencoded Content-Length: length strRqXml=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
PayOrderService.asmx
SOAP 1.1
下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/PayOrderService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/PayOrderMethod" <?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> <PayOrderMethod xmlns="http://tempuri.org/"> <strRqXML>string</strRqXML> </PayOrderMethod> </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> <PayOrderMethodResponse xmlns="http://tempuri.org/"> <PayOrderMethodResult>string</PayOrderMethodResult> </PayOrderMethodResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/PayOrderService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <PayOrderMethod xmlns="http://tempuri.org/"> <strRqXML>string</strRqXML> </PayOrderMethod> </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> <PayOrderMethodResponse xmlns="http://tempuri.org/"> <PayOrderMethodResult>string</PayOrderMethodResult> </PayOrderMethodResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/PayOrderService.asmx/PayOrderMethod HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: application/x-www-form-urlencoded Content-Length: length strRqXML=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
RedeemService.asmx
SOAP 1.1
下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/RedeemService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/AuthRedeemOrder" <?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> <AuthRedeemOrder xmlns="http://tempuri.org/"> <strRqXml>string</strRqXml> </AuthRedeemOrder> </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> <AuthRedeemOrderResponse xmlns="http://tempuri.org/"> <AuthRedeemOrderResult>string</AuthRedeemOrderResult> </AuthRedeemOrderResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/RedeemService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <AuthRedeemOrder xmlns="http://tempuri.org/"> <strRqXml>string</strRqXml> </AuthRedeemOrder> </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> <AuthRedeemOrderResponse xmlns="http://tempuri.org/"> <AuthRedeemOrderResult>string</AuthRedeemOrderResult> </AuthRedeemOrderResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/RedeemService.asmx/AuthRedeemOrder HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: application/x-www-form-urlencoded Content-Length: length strRqXml=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
FPGPointService.asmx
SOAP 1.1
下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/FPGService/FPGPointService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/FPGPointMethod" <?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> <FPGPointMethod xmlns="http://tempuri.org/"> <strRqXML>string</strRqXML> </FPGPointMethod> </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> <FPGPointMethodResponse xmlns="http://tempuri.org/"> <FPGPointMethodResult>string</FPGPointMethodResult> </FPGPointMethodResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/FPGService/FPGPointService.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <FPGPointMethod xmlns="http://tempuri.org/"> <strRqXML>string</strRqXML> </FPGPointMethod> </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> <FPGPointMethodResponse xmlns="http://tempuri.org/"> <FPGPointMethodResult>string</FPGPointMethodResult> </FPGPointMethodResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/FPGService/FPGPointService.asmx/FPGPointMethod HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: application/x-www-form-urlencoded Content-Length: length strRqXML=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
CRDOrderServiceXML.asmx
SOAP 1.1
下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CRDOrderMethodOrderCancel" <?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> <CRDOrderMethodOrderCancel xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderCancel.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> </CANCELORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderCancel> </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> <CRDOrderMethodOrderCancelResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderCancel.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </CANCELORDERINFO> </CUBXML> </CRDOrderMethodOrderCancelResponse> </soap:Body> </soap:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CRDOrderMethodOrderCancelCapture" <?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> <CRDOrderMethodOrderCancelCapture xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderCancelCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELCAPTUREINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> </CANCELCAPTUREINFO> </MERCHANTXML> </CRDOrderMethodOrderCancelCapture> </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> <CRDOrderMethodOrderCancelCaptureResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderCancelCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELCAPTUREINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </CANCELCAPTUREINFO> </CUBXML> </CRDOrderMethodOrderCancelCaptureResponse> </soap:Body> </soap:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CRDOrderMethodOrderCapture" <?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> <CRDOrderMethodOrderCapture xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CAPTUREORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> </CAPTUREORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderCapture> </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> <CRDOrderMethodOrderCaptureResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CAPTUREORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </CAPTUREORDERINFO> </CUBXML> </CRDOrderMethodOrderCaptureResponse> </soap:Body> </soap:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CRDOrderMethodOrderQuery" <?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> <CRDOrderMethodOrderQuery xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderQuery.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <ORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> </ORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderQuery> </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> <CRDOrderMethodOrderQueryResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderQuery.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <ORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <STATUS>string</STATUS> <AUTHCODE>string</AUTHCODE> <AUTHTIME>string</AUTHTIME> <SETTLEAMOUNT>string</SETTLEAMOUNT> <SETTLETIME>string</SETTLETIME> <ORDERTIME>string</ORDERTIME> <CARDNO>string</CARDNO> <VEHICLE>string</VEHICLE> </ORDERINFO> </CUBXML> </CRDOrderMethodOrderQueryResponse> </soap:Body> </soap:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/CRDOrderMethodOrderRefund" <?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> <CRDOrderMethodOrderRefund xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderRefund.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <REFUNDORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> </REFUNDORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderRefund> </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> <CRDOrderMethodOrderRefundResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderRefund.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <REFUNDORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </REFUNDORDERINFO> </CUBXML> </CRDOrderMethodOrderRefundResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <CRDOrderMethodOrderCancel xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderCancel.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> </CANCELORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderCancel> </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> <CRDOrderMethodOrderCancelResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderCancel.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </CANCELORDERINFO> </CUBXML> </CRDOrderMethodOrderCancelResponse> </soap12:Body> </soap12:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <CRDOrderMethodOrderCancelCapture xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderCancelCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELCAPTUREINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> </CANCELCAPTUREINFO> </MERCHANTXML> </CRDOrderMethodOrderCancelCapture> </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> <CRDOrderMethodOrderCancelCaptureResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderCancelCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CANCELCAPTUREINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </CANCELCAPTUREINFO> </CUBXML> </CRDOrderMethodOrderCancelCaptureResponse> </soap12:Body> </soap12:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <CRDOrderMethodOrderCapture xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CAPTUREORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> </CAPTUREORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderCapture> </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> <CRDOrderMethodOrderCaptureResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderCapture.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <CAPTUREORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </CAPTUREORDERINFO> </CUBXML> </CRDOrderMethodOrderCaptureResponse> </soap12:Body> </soap12:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <CRDOrderMethodOrderQuery xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderQuery.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <ORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> </ORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderQuery> </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> <CRDOrderMethodOrderQueryResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderQuery.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <ORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <STATUS>string</STATUS> <AUTHCODE>string</AUTHCODE> <AUTHTIME>string</AUTHTIME> <SETTLEAMOUNT>string</SETTLEAMOUNT> <SETTLETIME>string</SETTLETIME> <ORDERTIME>string</ORDERTIME> <CARDNO>string</CARDNO> <VEHICLE>string</VEHICLE> </ORDERINFO> </CUBXML> </CRDOrderMethodOrderQueryResponse> </soap12:Body> </soap12:Envelope>
POST /EPOSWebService/CRDOrderServiceXML.asmx HTTP/1.1 Host: sslpayment.cathaybkdev.com.tw 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> <CRDOrderMethodOrderRefund xmlns="http://tempuri.org/"> <MERCHANTXML xmlns="http://tempuri.org/OrderRefund.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <REFUNDORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> </REFUNDORDERINFO> </MERCHANTXML> </CRDOrderMethodOrderRefund> </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> <CRDOrderMethodOrderRefundResponse xmlns="http://tempuri.org/"> <CUBXML xmlns="http://tempuri.org/OrderRefund.xsd"> <MSGID>ORD0001 or ORD0002 or ORD0003 or ORD0004 or ORD0005 or ORD0006 or ORD0007</MSGID> <CAVALUE>string</CAVALUE> <REFUNDORDERINFO> <STOREID>string</STOREID> <ORDERNUMBER>string</ORDERNUMBER> <AMOUNT>string</AMOUNT> <AUTHCODE>string</AUTHCODE> <STATUS>string</STATUS> </REFUNDORDERINFO> </CUBXML> </CRDOrderMethodOrderRefundResponse> </soap12:Body> </soap12:Envelope>