sit_giftcard
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
Reservation
Method to reserve a amount from a cardnumer. The amount is not realy booked, but not avaible on the cardnumber. To finalize the the amount must booked with the Mthode BookReservation or cancelt.Param name sMerchantId = customer id for authentification / Param name sMerchantCode = customer authentification code / Param name sSessionId = session id for unique identification / Param name sTimeStamp = timestamp from transaction / Param name sTID = terminal id for identification / Param name sCardNumber = card or account number / Param name sAmount = commited value for redeem / Param name sCurrency = currency for the transaction / Param name sReferenceCode = reference for the transaction
Test
Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.SOAP 1.1
Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /giftcard/gc_ws/sit_giftcard.asmx HTTP/1.1 Host: www.s01.sit-pay.de Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://sit-pay.de/development/Reservation" <?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> <Reservation xmlns="http://sit-pay.de/development/"> <sMerchantId>string</sMerchantId> <sMerchantCode>string</sMerchantCode> <sSessionId>string</sSessionId> <sTimeStamp>string</sTimeStamp> <sTID>string</sTID> <sCardNumber>string</sCardNumber> <sAmount>string</sAmount> <sCurrency>string</sCurrency> <sReferenceCode>string</sReferenceCode> </Reservation> </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> <ReservationResponse xmlns="http://sit-pay.de/development/"> <ReservationResult> <MerchantId>string</MerchantId> <SessionId>string</SessionId> <CardNumber>string</CardNumber> <State>int</State> <OldBalance>int</OldBalance> <NewBalance>int</NewBalance> <Currency>string</Currency> <ValidDate>string</ValidDate> <ReservationNumber>int</ReservationNumber> </ReservationResult> </ReservationResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /giftcard/gc_ws/sit_giftcard.asmx HTTP/1.1 Host: www.s01.sit-pay.de 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> <Reservation xmlns="http://sit-pay.de/development/"> <sMerchantId>string</sMerchantId> <sMerchantCode>string</sMerchantCode> <sSessionId>string</sSessionId> <sTimeStamp>string</sTimeStamp> <sTID>string</sTID> <sCardNumber>string</sCardNumber> <sAmount>string</sAmount> <sCurrency>string</sCurrency> <sReferenceCode>string</sReferenceCode> </Reservation> </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> <ReservationResponse xmlns="http://sit-pay.de/development/"> <ReservationResult> <MerchantId>string</MerchantId> <SessionId>string</SessionId> <CardNumber>string</CardNumber> <State>int</State> <OldBalance>int</OldBalance> <NewBalance>int</NewBalance> <Currency>string</Currency> <ValidDate>string</ValidDate> <ReservationNumber>int</ReservationNumber> </ReservationResult> </ReservationResponse> </soap12:Body> </soap12:Envelope>