DC Gateway CardSafe Web Service
Process ePayment Stored Credit Card Transaction. Valid input values are: UserName & Password - Assigned by the payment gateway, TransType - Auth | Sale | Return | Void | Force | RepeatSale | Adjustment, CardToken - The numerical Credit Card Info Key, TokenMode – Default | CardFormat, Amount - Amount in DDDDD.CC format, InvNum - Invoice Tracking Number, ExtData - Extended Data in XML, Valid Values are: Timeout - Timeout Value in Seconds (default=40), TrainingMode - Training Mode T or F
POST /ws/cardsafe.asmx HTTP/1.1 Host: pmn.payment-gate.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://pmn.payment-gate.net/ws/ProcessCreditCard" <?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> <ProcessCreditCard xmlns="https://pmn.payment-gate.net/ws/"> <UserName>string</UserName> <Password>string</Password> <TransType>string</TransType> <CardToken>string</CardToken> <TokenMode>string</TokenMode> <Amount>string</Amount> <InvNum>string</InvNum> <PNRef>string</PNRef> <ExtData>string</ExtData> </ProcessCreditCard> </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> <ProcessCreditCardResponse xmlns="https://pmn.payment-gate.net/ws/"> <ProcessCreditCardResult> <Result>int</Result> <RespMSG>string</RespMSG> <Message>string</Message> <Message1>string</Message1> <Message2>string</Message2> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <HostCode>string</HostCode> <HostURL>string</HostURL> <ReceiptURL>string</ReceiptURL> <GetAVSResult>string</GetAVSResult> <GetAVSResultTXT>string</GetAVSResultTXT> <GetStreetMatchTXT>string</GetStreetMatchTXT> <GetZipMatchTXT>string</GetZipMatchTXT> <GetCVResult>string</GetCVResult> <GetCVResultTXT>string</GetCVResultTXT> <GetGetOrigResult>string</GetGetOrigResult> <GetCommercialCard>string</GetCommercialCard> <WorkingKey>string</WorkingKey> <KeyPointer>string</KeyPointer> <ExtData>string</ExtData> </ProcessCreditCardResult> </ProcessCreditCardResponse> </soap:Body> </soap:Envelope>
POST /ws/cardsafe.asmx HTTP/1.1 Host: pmn.payment-gate.net 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> <ProcessCreditCard xmlns="https://pmn.payment-gate.net/ws/"> <UserName>string</UserName> <Password>string</Password> <TransType>string</TransType> <CardToken>string</CardToken> <TokenMode>string</TokenMode> <Amount>string</Amount> <InvNum>string</InvNum> <PNRef>string</PNRef> <ExtData>string</ExtData> </ProcessCreditCard> </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> <ProcessCreditCardResponse xmlns="https://pmn.payment-gate.net/ws/"> <ProcessCreditCardResult> <Result>int</Result> <RespMSG>string</RespMSG> <Message>string</Message> <Message1>string</Message1> <Message2>string</Message2> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <HostCode>string</HostCode> <HostURL>string</HostURL> <ReceiptURL>string</ReceiptURL> <GetAVSResult>string</GetAVSResult> <GetAVSResultTXT>string</GetAVSResultTXT> <GetStreetMatchTXT>string</GetStreetMatchTXT> <GetZipMatchTXT>string</GetZipMatchTXT> <GetCVResult>string</GetCVResult> <GetCVResultTXT>string</GetCVResultTXT> <GetGetOrigResult>string</GetGetOrigResult> <GetCommercialCard>string</GetCommercialCard> <WorkingKey>string</WorkingKey> <KeyPointer>string</KeyPointer> <ExtData>string</ExtData> </ProcessCreditCardResult> </ProcessCreditCardResponse> </soap12:Body> </soap12:Envelope>
GET /ws/cardsafe.asmx/ProcessCreditCard?UserName=string&Password=string&TransType=string&CardToken=string&TokenMode=string&Amount=string&InvNum=string&PNRef=string&ExtData=string HTTP/1.1 Host: pmn.payment-gate.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <Response xmlns="https://pmn.payment-gate.net/ws/"> <Result>int</Result> <RespMSG>string</RespMSG> <Message>string</Message> <Message1>string</Message1> <Message2>string</Message2> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <HostCode>string</HostCode> <HostURL>string</HostURL> <ReceiptURL>string</ReceiptURL> <GetAVSResult>string</GetAVSResult> <GetAVSResultTXT>string</GetAVSResultTXT> <GetStreetMatchTXT>string</GetStreetMatchTXT> <GetZipMatchTXT>string</GetZipMatchTXT> <GetCVResult>string</GetCVResult> <GetCVResultTXT>string</GetCVResultTXT> <GetGetOrigResult>string</GetGetOrigResult> <GetCommercialCard>string</GetCommercialCard> <WorkingKey>string</WorkingKey> <KeyPointer>string</KeyPointer> <ExtData>string</ExtData> </Response>
POST /ws/cardsafe.asmx/ProcessCreditCard HTTP/1.1 Host: pmn.payment-gate.net Content-Type: application/x-www-form-urlencoded Content-Length: length UserName=string&Password=string&TransType=string&CardToken=string&TokenMode=string&Amount=string&InvNum=string&PNRef=string&ExtData=string
Stores Credit Card Information. Valid input values are: UserName & Password - Assigned by the payment gateway, TokenMode – Default | CardFormat, CardNum – Credit Card account number, ExpDate – Credit Card expiration date, CustomerKey – The numerical Customer Key, NameOnCard – The card holder’s name as it is on the card, Street – Card holder’s billing address, Zip – Card holder’s billing zip code, ExtData – Extended Data in XML, Valid Values are: Timeout – Timeout Value in Seconds (default=40), TrainingMode - Training Mode T or F
POST /ws/cardsafe.asmx HTTP/1.1 Host: pmn.payment-gate.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://pmn.payment-gate.net/ws/StoreCard" <?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> <StoreCard xmlns="https://pmn.payment-gate.net/ws/"> <UserName>string</UserName> <Password>string</Password> <TokenMode>string</TokenMode> <CardNum>string</CardNum> <ExpDate>string</ExpDate> <CustomerKey>string</CustomerKey> <NameOnCard>string</NameOnCard> <Street>string</Street> <Zip>string</Zip> <ExtData>string</ExtData> </StoreCard> </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> <StoreCardResponse xmlns="https://pmn.payment-gate.net/ws/"> <StoreCardResult> <Result>int</Result> <RespMSG>string</RespMSG> <Message>string</Message> <Message1>string</Message1> <Message2>string</Message2> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <HostCode>string</HostCode> <HostURL>string</HostURL> <ReceiptURL>string</ReceiptURL> <GetAVSResult>string</GetAVSResult> <GetAVSResultTXT>string</GetAVSResultTXT> <GetStreetMatchTXT>string</GetStreetMatchTXT> <GetZipMatchTXT>string</GetZipMatchTXT> <GetCVResult>string</GetCVResult> <GetCVResultTXT>string</GetCVResultTXT> <GetGetOrigResult>string</GetGetOrigResult> <GetCommercialCard>string</GetCommercialCard> <WorkingKey>string</WorkingKey> <KeyPointer>string</KeyPointer> <ExtData>string</ExtData> </StoreCardResult> </StoreCardResponse> </soap:Body> </soap:Envelope>
POST /ws/cardsafe.asmx HTTP/1.1 Host: pmn.payment-gate.net 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> <StoreCard xmlns="https://pmn.payment-gate.net/ws/"> <UserName>string</UserName> <Password>string</Password> <TokenMode>string</TokenMode> <CardNum>string</CardNum> <ExpDate>string</ExpDate> <CustomerKey>string</CustomerKey> <NameOnCard>string</NameOnCard> <Street>string</Street> <Zip>string</Zip> <ExtData>string</ExtData> </StoreCard> </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> <StoreCardResponse xmlns="https://pmn.payment-gate.net/ws/"> <StoreCardResult> <Result>int</Result> <RespMSG>string</RespMSG> <Message>string</Message> <Message1>string</Message1> <Message2>string</Message2> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <HostCode>string</HostCode> <HostURL>string</HostURL> <ReceiptURL>string</ReceiptURL> <GetAVSResult>string</GetAVSResult> <GetAVSResultTXT>string</GetAVSResultTXT> <GetStreetMatchTXT>string</GetStreetMatchTXT> <GetZipMatchTXT>string</GetZipMatchTXT> <GetCVResult>string</GetCVResult> <GetCVResultTXT>string</GetCVResultTXT> <GetGetOrigResult>string</GetGetOrigResult> <GetCommercialCard>string</GetCommercialCard> <WorkingKey>string</WorkingKey> <KeyPointer>string</KeyPointer> <ExtData>string</ExtData> </StoreCardResult> </StoreCardResponse> </soap12:Body> </soap12:Envelope>
GET /ws/cardsafe.asmx/StoreCard?UserName=string&Password=string&TokenMode=string&CardNum=string&ExpDate=string&CustomerKey=string&NameOnCard=string&Street=string&Zip=string&ExtData=string HTTP/1.1 Host: pmn.payment-gate.net
POST /ws/cardsafe.asmx/StoreCard HTTP/1.1 Host: pmn.payment-gate.net Content-Type: application/x-www-form-urlencoded Content-Length: length UserName=string&Password=string&TokenMode=string&CardNum=string&ExpDate=string&CustomerKey=string&NameOnCard=string&Street=string&Zip=string&ExtData=string