PayPerLink
Click here for a complete list of operations.
GenerateAndSendLink
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 /Payments/WebServices/Payperlink.asmx HTTP/1.1 Host: test.paycloud.it Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "PaycloudWebServices.WebServices.PayPerLink/GenerateAndSendLink" <?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> <GenerateAndSendLink xmlns="PaycloudWebServices.WebServices.PayPerLink"> <ApiKey>string</ApiKey> <Req> <Type>None or D or PA or P3F or SDD or SDDR or MD or MPA or MMB or WD or WMB or WPA or FPIS</Type> <ProductName>string</ProductName> <Amount>double</Amount> <Language>None or IT or EN</Language> <Debitor> <ID>int</ID> <FatherID>int</FatherID> <ChildID>int</ChildID> <Code>string</Code> <FirstName>string</FirstName> <LastName>string</LastName> <Email>string</Email> <Address>string</Address> <City>string</City> <Province>string</Province> <ZipCode>string</ZipCode> <Country>string</Country> <FiscalCode>string</FiscalCode> <TaxNumber>string</TaxNumber> <Phone>string</Phone> <IBAN>string</IBAN> <CreationDate>dateTime</CreationDate> </Debitor> <OriginUrl>string</OriginUrl> <Date>string</Date> <LinkValidityFrom>string</LinkValidityFrom> <LinkValidityTo>string</LinkValidityTo> <Reason>string</Reason> </Req> <Options> <DeliveryWith>None or Email</DeliveryWith> <EMail> <ParamFrom>string</ParamFrom> <FromName>string</FromName> <Subject>string</Subject> <HtmlTEmplate>string</HtmlTEmplate> </EMail> </Options> <Params> <OptionalParameters> <Name>string</Name> <Value /> </OptionalParameters> <OptionalParameters> <Name>string</Name> <Value /> </OptionalParameters> </Params> </GenerateAndSendLink> </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> <GenerateAndSendLinkResponse xmlns="PaycloudWebServices.WebServices.PayPerLink"> <GenerateAndSendLinkResult> <TransactionCode>string</TransactionCode> <Link>string</Link> <QrCode>base64Binary</QrCode> </GenerateAndSendLinkResult> </GenerateAndSendLinkResponse> </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 /Payments/WebServices/Payperlink.asmx HTTP/1.1 Host: test.paycloud.it 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> <GenerateAndSendLink xmlns="PaycloudWebServices.WebServices.PayPerLink"> <ApiKey>string</ApiKey> <Req> <Type>None or D or PA or P3F or SDD or SDDR or MD or MPA or MMB or WD or WMB or WPA or FPIS</Type> <ProductName>string</ProductName> <Amount>double</Amount> <Language>None or IT or EN</Language> <Debitor> <ID>int</ID> <FatherID>int</FatherID> <ChildID>int</ChildID> <Code>string</Code> <FirstName>string</FirstName> <LastName>string</LastName> <Email>string</Email> <Address>string</Address> <City>string</City> <Province>string</Province> <ZipCode>string</ZipCode> <Country>string</Country> <FiscalCode>string</FiscalCode> <TaxNumber>string</TaxNumber> <Phone>string</Phone> <IBAN>string</IBAN> <CreationDate>dateTime</CreationDate> </Debitor> <OriginUrl>string</OriginUrl> <Date>string</Date> <LinkValidityFrom>string</LinkValidityFrom> <LinkValidityTo>string</LinkValidityTo> <Reason>string</Reason> </Req> <Options> <DeliveryWith>None or Email</DeliveryWith> <EMail> <ParamFrom>string</ParamFrom> <FromName>string</FromName> <Subject>string</Subject> <HtmlTEmplate>string</HtmlTEmplate> </EMail> </Options> <Params> <OptionalParameters> <Name>string</Name> <Value /> </OptionalParameters> <OptionalParameters> <Name>string</Name> <Value /> </OptionalParameters> </Params> </GenerateAndSendLink> </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> <GenerateAndSendLinkResponse xmlns="PaycloudWebServices.WebServices.PayPerLink"> <GenerateAndSendLinkResult> <TransactionCode>string</TransactionCode> <Link>string</Link> <QrCode>base64Binary</QrCode> </GenerateAndSendLinkResult> </GenerateAndSendLinkResponse> </soap12:Body> </soap12:Envelope>