TicketingService
Click here for a complete list of operations.
IssueNewTicket
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 /services/tickets/issuer.asmx HTTP/1.1 Host: paycenter.piraeusbank.gr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://piraeusbank.gr/paycenter/redirection/IssueNewTicket" <?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> <IssueNewTicket xmlns="http://piraeusbank.gr/paycenter/redirection"> <Request> <Username>string</Username> <Password>string</Password> <MerchantId>int</MerchantId> <PosId>int</PosId> <AcquirerId>int</AcquirerId> <MerchantReference>string</MerchantReference> <RequestType>string</RequestType> <ExpirePreauth>unsignedByte</ExpirePreauth> <Amount>decimal</Amount> <CurrencyCode>int</CurrencyCode> <Installments>unsignedByte</Installments> <Bnpl>unsignedByte</Bnpl> <Parameters>string</Parameters> <BillAddrCity>string</BillAddrCity> <BillAddrCountry>string</BillAddrCountry> <BillAddrLine1>string</BillAddrLine1> <BillAddrLine2>string</BillAddrLine2> <BillAddrLine3>string</BillAddrLine3> <BillAddrPostCode>string</BillAddrPostCode> <BillAddrState>string</BillAddrState> <ShipAddrCity>string</ShipAddrCity> <ShipAddrCountry>string</ShipAddrCountry> <ShipAddrLine1>string</ShipAddrLine1> <ShipAddrLine2>string</ShipAddrLine2> <ShipAddrLine3>string</ShipAddrLine3> <ShipAddrPostCode>string</ShipAddrPostCode> <ShipAddrState>string</ShipAddrState> <CardholderName>string</CardholderName> <Email>string</Email> <HomePhone>string</HomePhone> <MobilePhone>string</MobilePhone> <WorkPhone>string</WorkPhone> <RecurringInd>R or C</RecurringInd> <RecurPurchaseDate>string</RecurPurchaseDate> <RecurFreq>short</RecurFreq> <RecurEnd>string</RecurEnd> <AddressMatch>Y or N</AddressMatch> <DeliveryTimeframe>ElectronicDelivery or SameDayShipping or OvernightShipping or TwoDayOrMoreShipping</DeliveryTimeframe> <DeliveryEmailAddress>string</DeliveryEmailAddress> <ReorderItemsInd>FirstTimeOrdered or Reordered</ReorderItemsInd> <PreOrderPurchaseInd>MerchandiseAvailable or FutureAvailability</PreOrderPurchaseInd> <AuthMethod>No3DSRequestorAuthenticationOccurred or LoginToCardholderAccountOwnCredentials or LoginToCardholderAccountFederatedID or LoginToCardholderAccountIssuerCredentials or LoginToCardholderAccountThirdPartyAuth or LoginToCardholderAccountFIDOAuth or LoginToCardholderAccountFIDOAuthSigned or SRCAssuranceData</AuthMethod> <AccountAgeInd>NoAccount or CreatedDuringThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</AccountAgeInd> <AccountDate>string</AccountDate> <AccountChangeInd>ChangedDuringThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</AccountChangeInd> <AccountChange>string</AccountChange> <AccountPwdChangeInd>NoChange or ChangedDuringThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</AccountPwdChangeInd> <AccountPwdChange>string</AccountPwdChange> <ShipAddressUsageInd>ThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</ShipAddressUsageInd> <SuspiciousAccActivity>NoSuspiciousActivityHasBeenObserved or SuspiciousActivityHasBeenObserved</SuspiciousAccActivity> <PassengerData> <PassengerDataType> <PassengerTitle>Mr or Mrs or Ms or Miss or Mstr</PassengerTitle> <PassengerFirstName>string</PassengerFirstName> <PassengerLastName>string</PassengerLastName> <PassengerPhone>string</PassengerPhone> <PassengerEmail>string</PassengerEmail> <DeparturePort>string</DeparturePort> <ArrivalPort>string</ArrivalPort> </PassengerDataType> <PassengerDataType> <PassengerTitle>Mr or Mrs or Ms or Miss or Mstr</PassengerTitle> <PassengerFirstName>string</PassengerFirstName> <PassengerLastName>string</PassengerLastName> <PassengerPhone>string</PassengerPhone> <PassengerEmail>string</PassengerEmail> <DeparturePort>string</DeparturePort> <ArrivalPort>string</ArrivalPort> </PassengerDataType> </PassengerData> <AccountVerification>string</AccountVerification> </Request> </IssueNewTicket> </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> <IssueNewTicketResponse xmlns="http://piraeusbank.gr/paycenter/redirection"> <IssueNewTicketResult> <ResultCode>string</ResultCode> <ResultDescription>string</ResultDescription> <TranTicket>string</TranTicket> <Timestamp>dateTime</Timestamp> <MinutesToExpiration>int</MinutesToExpiration> </IssueNewTicketResult> </IssueNewTicketResponse> </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 /services/tickets/issuer.asmx HTTP/1.1 Host: paycenter.piraeusbank.gr 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> <IssueNewTicket xmlns="http://piraeusbank.gr/paycenter/redirection"> <Request> <Username>string</Username> <Password>string</Password> <MerchantId>int</MerchantId> <PosId>int</PosId> <AcquirerId>int</AcquirerId> <MerchantReference>string</MerchantReference> <RequestType>string</RequestType> <ExpirePreauth>unsignedByte</ExpirePreauth> <Amount>decimal</Amount> <CurrencyCode>int</CurrencyCode> <Installments>unsignedByte</Installments> <Bnpl>unsignedByte</Bnpl> <Parameters>string</Parameters> <BillAddrCity>string</BillAddrCity> <BillAddrCountry>string</BillAddrCountry> <BillAddrLine1>string</BillAddrLine1> <BillAddrLine2>string</BillAddrLine2> <BillAddrLine3>string</BillAddrLine3> <BillAddrPostCode>string</BillAddrPostCode> <BillAddrState>string</BillAddrState> <ShipAddrCity>string</ShipAddrCity> <ShipAddrCountry>string</ShipAddrCountry> <ShipAddrLine1>string</ShipAddrLine1> <ShipAddrLine2>string</ShipAddrLine2> <ShipAddrLine3>string</ShipAddrLine3> <ShipAddrPostCode>string</ShipAddrPostCode> <ShipAddrState>string</ShipAddrState> <CardholderName>string</CardholderName> <Email>string</Email> <HomePhone>string</HomePhone> <MobilePhone>string</MobilePhone> <WorkPhone>string</WorkPhone> <RecurringInd>R or C</RecurringInd> <RecurPurchaseDate>string</RecurPurchaseDate> <RecurFreq>short</RecurFreq> <RecurEnd>string</RecurEnd> <AddressMatch>Y or N</AddressMatch> <DeliveryTimeframe>ElectronicDelivery or SameDayShipping or OvernightShipping or TwoDayOrMoreShipping</DeliveryTimeframe> <DeliveryEmailAddress>string</DeliveryEmailAddress> <ReorderItemsInd>FirstTimeOrdered or Reordered</ReorderItemsInd> <PreOrderPurchaseInd>MerchandiseAvailable or FutureAvailability</PreOrderPurchaseInd> <AuthMethod>No3DSRequestorAuthenticationOccurred or LoginToCardholderAccountOwnCredentials or LoginToCardholderAccountFederatedID or LoginToCardholderAccountIssuerCredentials or LoginToCardholderAccountThirdPartyAuth or LoginToCardholderAccountFIDOAuth or LoginToCardholderAccountFIDOAuthSigned or SRCAssuranceData</AuthMethod> <AccountAgeInd>NoAccount or CreatedDuringThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</AccountAgeInd> <AccountDate>string</AccountDate> <AccountChangeInd>ChangedDuringThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</AccountChangeInd> <AccountChange>string</AccountChange> <AccountPwdChangeInd>NoChange or ChangedDuringThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</AccountPwdChangeInd> <AccountPwdChange>string</AccountPwdChange> <ShipAddressUsageInd>ThisTransaction or LessThan30Days or Thirty60Days or MoreThan60Days</ShipAddressUsageInd> <SuspiciousAccActivity>NoSuspiciousActivityHasBeenObserved or SuspiciousActivityHasBeenObserved</SuspiciousAccActivity> <PassengerData> <PassengerDataType> <PassengerTitle>Mr or Mrs or Ms or Miss or Mstr</PassengerTitle> <PassengerFirstName>string</PassengerFirstName> <PassengerLastName>string</PassengerLastName> <PassengerPhone>string</PassengerPhone> <PassengerEmail>string</PassengerEmail> <DeparturePort>string</DeparturePort> <ArrivalPort>string</ArrivalPort> </PassengerDataType> <PassengerDataType> <PassengerTitle>Mr or Mrs or Ms or Miss or Mstr</PassengerTitle> <PassengerFirstName>string</PassengerFirstName> <PassengerLastName>string</PassengerLastName> <PassengerPhone>string</PassengerPhone> <PassengerEmail>string</PassengerEmail> <DeparturePort>string</DeparturePort> <ArrivalPort>string</ArrivalPort> </PassengerDataType> </PassengerData> <AccountVerification>string</AccountVerification> </Request> </IssueNewTicket> </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> <IssueNewTicketResponse xmlns="http://piraeusbank.gr/paycenter/redirection"> <IssueNewTicketResult> <ResultCode>string</ResultCode> <ResultDescription>string</ResultDescription> <TranTicket>string</TranTicket> <Timestamp>dateTime</Timestamp> <MinutesToExpiration>int</MinutesToExpiration> </IssueNewTicketResult> </IssueNewTicketResponse> </soap12:Body> </soap12:Envelope>